PDA

View Full Version : Birhday Conditionals


ImNotKibs
30 Aug 2010, 12:34
Maybe I'm stupid, but I've been looking for a good half hour, and cannot find the basic conditional for "If it's this users birthday, display this".

Does one even exist?

What I'm trying to accomplish:
On our forum (http://918thefan.com/forums) we have a mascot that displays the PM info in a speech bubble, with a randomly generated quote at the bottom (if logged in, anyway), but I'd like it to display "Happy Birthday" if the users birthday is today.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Rawr, I am all types of frustrated.

BirdOPrey5
30 Aug 2010, 15:26
try: <if condition="$birthday[age]">

ImNotKibs
30 Aug 2010, 20:49
try: <if condition="$birthday[age]">
I think I spoke too soon, let me try something

Eh, unless it takes >20 minutes to update, it's not working.

BirdOPrey5
30 Aug 2010, 21:39
I put "birthday" into "Search Templates" and this is what came up in; forumhome_birthdaybit


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



There may be others...

ImNotKibs
30 Aug 2010, 22:49
I'm starting to think there is none, there are some hacks around that do stuff if it's a users birthday, I'll look into those and see if I can't dissect out what I need.

Thanks anyway for the help.