FFixer

By Vaughan Chandler Last update Mar 9, 2011 — Installed 14,797,652 times.

Showing age on profile?

in
Subscribe to Showing age on profile? 14 posts, 4 voices



Noxious Toxin Scriptwright

Is the 'show age' feature supposed to work on profile pages? It doesn't seem to work for me.

I tried it on http://www.facebook.com/profile.php?id=XXXXXX&v...

where the X's are the friend's id number, and yes the friend had their full birthdate shown.

Everything else seems to be working perfectly. Thanks.

 
Vaughan Chan... Script's Author

Hi Kenneth

You're on the right page, but are you looking in the right place? Even though the info tab shows your friend's birthday details in the main content section of the page, the script only adds their age and sign to the Information section in the left column (just under their profile pic). That way it's visible from other tabs on their profile as well.

Let me know if it's not showing up in the left column (and the feature hasn't been disabled in configuration).

Vaughan

 
AL bino User

Any reason not to include it in the Info box as well? In my experience, some people remove it from their index page.

 
DoSMaN User

Hi. As it seems the script shows age only if u have the facebook in english...
If u put it in Greek (my language) it not shown...
Can i fix it somehow?

 
Vaughan Chan... Script's Author

AL bino: Do you mean the info TAB? I didn't add the age to the info tab cause the information box is on almost all tabs of a person's profile page. Are you saying that its possible to hide this information box? (the one under the profile pic)

DoSMaN: Right now the script only understand dates written in English (US and UK) and Spanish. If you want me to add support for Greek please give me a list of names of the months in Greek as well as 2 examples of how the dates appear on Facebook, one with a year and one without a year.

 
DoSMaN User

Thanks for fast reply :)

January = Ιανουάριος (Ιανουαρίου)
February = Φεβρουάριος (Φεβρουαρίου)
March = Μάρτιος (Μαρτίου)
April = Απρίλιος (Απριλίου)
Mai = Μάιος (Μαΐου)
June = Ιούνιος (Ιουνίου)
July = Ιούλιος (Ιουλίου)
August = Αύγουστος (Αυγούστου)
September = Σεπτέμβριος (Σεπτεμβρίου)
Octomber = Οκτώβριος (Οκτωβρίου)
November = Νοέμβριος (Νοεμβρίου)
December = Δεκέμβριος (Δεκεμβρίου)

The date format is DD/MMMM/YYYY and DD/MMMM
Example : 23/Ιουλίου/1981 and 23/Ιουλίου

When u want to speak for birthdate the words changing. The correct one is inside the ( )
If i wrote something wrong tell me what it is to correct it :)

 
Vaughan Chan... Script's Author

Thanks DoSMan, I'll try to implement this when I get a chance. I tried adding non-English characters to the date parsing code a while ago and got some problems with it, but I'll see what I can do this time.

 
AL bino User

Sorry for the late reply.

In many instances people have removed the Information Box (the one of the left under the profile pic). In that case the only way to see their birthday (and thus their age) is to click on the Info Tab.

I do understand what you're saying, and I think for 90% of profiles that's fine, but for the 10% or so that remove that additional box from their page you can't automatically see their age.

Not a big deal, but thought I'd mention it.

You're doing great work - keep it up.

 
Vaughan Chan... Script's Author

DoSMan, the Greek dates should now be recognized. Let me know if its working for you.

 
DoSMaN User

Yup.. they working fine now..
is it possible to translate signs too?? (if the code allows u to do it...)

 
Vaughan Chan... Script's Author

Hi DoSMaN, While I want all of the script's features to work regardless of the language people are using, I have no plans of translating the output of the script. However, if anybody translates all the output and is willing to keep the translated version up to date, I will link to their version from Facebook Fixer's about page.

 
DoSMaN User
Ok... i found and translate the word "years old" from English to Greek and working fine... in the code is in line 852
if (prefs['Age']) { if (now.getFullYear()!=bday.getFullYear()) { info = info + '
' + bday.getAge() + ' χρονών'; } }
Also i translate the signs. Line 635
Date.prototype.getSign=function(){var signs=new Array("Αιγόκερως","Υδροχόος","Ιχθείς","Κριός","Ταύρος","Δίδυμος","Καρκίνος","Λέων","Παρθένος","Ζυγός","Σκορπιός","Τοξότης"); var endDates=new Array(19,18,20,19,20,21,22,22,22,22,21,21); return signs[this.getDate()>endDates[this.getMonth()]?(this.getMonth()+1)%12:this.getMonth()];}
Everything works perfect... (i don't know if the above helps u somehow i just make the change and try them without problems :D)
 
Vaughan Chan... Script's Author

Thanks for the contribution. I won't add it to the script, but anybody using Facebook in Greek will know how to modify the script now.

 
DoSMaN User

You're welcome :D
It's my pleasure to help if i can... FFixer is very good script and i like anything u have done until now ;)

Thanks

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel