Webmastersite.net
Register Log In

Today's Birthdays

Comments on Today's Birthdays

Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
Posted Oct 07, 2006 - 5:42 PM:

Instead of using the actual calendar I'd rather like to have a spot on the main page displaying the birthdays of the current day. I guess I'd have to use a toplist for that, but I'm stuck with all the variables, 'cause I'm not sure how to handle all the new "events" stuff yet.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Oct 07, 2006 - 11:37 PM:

I haven't tried this with the new links/calendar, but this is how it is done with wsnforum...

<!-- BEGIN BIRTHDAYS --><a href="memberlist.php?action=profile&id={MEMBERID}" class="{MEMBERGROUPNAMESTYLE}">{MEMBERNAME}</a><IF {MEMBERAGE}> ({MEMBERAGE})</IF>, <!-- END BIRTHDAYS -->
Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
Posted Oct 08, 2006 - 6:43 AM:

thanks, it "kinda" works, because it displays my own username and id and my current age, and I'm pretty sure that today's not my birthday smiling face
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Oct 08, 2006 - 7:06 AM:

Jenny wrote:
thanks, it "kinda" works, because it displays my own username and id and my current age, and I'm pretty sure that today's not my birthday smiling face


don't worry - celebrate it anyway!!!!nod
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 08, 2006 - 6:43 PM:

You now have 365 birthdays a year. The only drawback is the rapid aging.

There's a 'birthdays' switch in WSN Forum which makes it work, but the switch isn't in WSN Links because I hadn't imagined a use for it. Go to add fields and add a switch named birthdays, then turn it on, and it should work.
Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
Posted Oct 09, 2006 - 3:14 AM:

Paul wrote:
You now have 365 birthdays a year. The only drawback is the rapid aging.


You're actually telling that to a woman??? grin


Okay, I created the switch, which caused this error:
Error: The file does not exist.

Warning: fwrite(): supplied argument is not a valid stream resource in /home/linklou/public_html/filefunctions.php on line 362
Cannot write to the file ! You must chmod it to 666.
Warning: fclose(): supplied argument is not a valid stream resource in /home/linklou/public_html/filefunctions.php on line 364


But it seemed to have work anyway, because the switch appeared and apparently it's not my birthday today sad Unfortunately it's no one else's birthday either, so I can't say if they would show up. I'll get back to you on Wednesday when it actually IS my birthday smiling face

BTW, how come that all birthdays appear in the calendar, but for mine you have to click the date to see it? Tried regenerating everything, but that didn't help.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 11, 2006 - 3:19 AM:

I can't find any birthdays that don't appear in the month view.

Happy birthday, Jenny. smiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.