![]() |
This is the attachment with all the neccesary modifications as posted above. I also fixed the year calculation to include checking for current month and day. So I'm now 30 again instead of 31 as what was originally calculated :D (man, I get old :eek: )
the_sisko: hope the database trouble is minor, take care fiddling with it! - djr |
can anyone modify this to draw its imformation from a "custom field"? I made an additional field on my bb for "date of birth (admin)" that is a required field and is hidden from the public profile. The users are asked to input the information in a 10 character field in this format "mm-dd-yyyy" The "-" is not automatic, they must input it as well ( i could not find how to modify a custom fields input variables). So it would be really great to have this hack pull its info from that field!!! any ideas?
|
no ideas? :(
|
Quote:
Just wondering now that you have changed the showage.php for the admin side of things if you would be able to post the showuserage.php for the user side of things. TIA:) |
Anybody?
|
UP
|
Today I fixed and finished the user side of 'Show user age' and also added a (hopefully) nice bonus.
You have to install one extra template though! Install Useroutput AddOn Version 1.1: "Will work without the hack for the CP" original version by - the sisko - with modifications by djr -------------------------------------------------------------- [modified by djr] * fixed age calculation * extra template: userage_nobirthday * extra twist: if a user has not provided a birthday, he/she is taken to the different userage_nobirthday template with a request to update his/her profile. -------------------------------------------------------------- screenshots in next posts. |
screenshot 1: user has set his/her birthday
|
screenshot 2: user has NOT set his/her birthday
|
I am still a year older than what I really am in the user age area.
More problems though... I have the user age area in the memberlist section. Where it says there are (555) members with complete birthdays, out of (missing) registed members. (missing) members have decided not to give their birthday information. What is up with the variables as those numbers are not popping up and are (missing)? |
All times are GMT. The time now is 01:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|