"disable" year?

Mod that adds a birthday field to the users profile, theire age are displayed beside the posts, and on there birthday they will have a greeting popup
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby Lowreh on Wed 18. May, 2005 08:53

Sorry 'bout that, I got confused for a second there. It works like a charm, thank you! One quick question, although no big deal - how would I get it to display the entire month rather than the first three letters of the month?
Lowreh
Poster
Poster
 
Posts: 5
Joined: Sun 01. May, 2005 12:46

Postby easygo on Thu 19. May, 2005 11:48

Lowreh wrote:Sorry 'bout that, I got confused for a second there. It works like a charm, thank you! One quick question, although no big deal - how would I get it to display the entire month rather than the first three letters of the month?


No problem, you're welcome. :wink:

To display the entire month (e.g. 19th of may) try this one...

Code: Select all
   $user_birthday = realdate('jS of F', $profiledata['user_birthday']);
Here we go ^^
Image
easygo
Poster
Poster
 
Posts: 44
Joined: Tue 02. Nov, 2004 17:03

Postby Lowreh on Sat 21. May, 2005 02:16

Got it, and everything is working just as I want it. I'm a very happy camper right about now - danka! :D
Lowreh
Poster
Poster
 
Posts: 5
Joined: Sun 01. May, 2005 12:46

Postby kimberlyteed on Mon 20. Jun, 2005 02:05

Came here looking for exactly this ... thank you for posting the *little hack* 8)
kimberlyteed
Poster
Poster
 
Posts: 10
Joined: Thu 16. Jun, 2005 17:43

Postby kimberlyteed on Tue 28. Jun, 2005 03:43

part 2 ...

This worked ... thank you ... but, I would also like to remove the year being *mandatory* on the registration page ... tried a few things ... but I keep getting errors ...

Just want it to be their choice ... just a month/day ... or they can enter everything ... or nothing at all ... please + thank you for your help :D
Web Site Designer + Host
my board > http://www.kimberlyteed.com/213
... always an original design, never a template :)
kimberlyteed
Poster
Poster
 
Posts: 10
Joined: Thu 16. Jun, 2005 17:43

Previous

Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron