The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
This month's birthdays / Upcoming Birthdays
I've been searching the forums for about 30min now and can't find anything..
I want to create a section in 'What's going on'.. that shows "This month's birthdays" and list all the birthdays for the current month.. or maybe even better an "Upcoming Birthdays" section which shows birthdays in the next XX days.. It seems like a simple idea.. I will try to figure it out.. but a little help from you "pros" would be appreciated.. Regards, |
#2
|
|||
|
|||
I've been trying to figure out a way but i am stuck... I think I might try to make a VBadvanced module instead of moding the What's going on section...
Can anyone help? |
#3
|
||||
|
||||
Here is the phpcode you need. Edit it for your own need.
PHP Code:
|
#4
|
|||
|
|||
Quote:
I love you.. I will try it when i got out of work this afternoon!! :up::up: |
#5
|
|||
|
|||
Hi, I have this code in Todays Birthdays module in FORMUDISPLAY template... where I have to insert that phpcode??:
<!-- today's birthdays --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a> $vbphrase[todays_birthdays] </td> </tr> </tbody> <tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]"> <tr> <td class="alt2" align="center"><a href="calendar.php?$session[sessionurl]do=getday&day=$today&sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td> </tr> </tbody> <!-- end today's birthdays --> Thank you very much! Federico www.riverplate.com |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|