The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
One of my mods suggested adding an image in the postbit when its a users birthday ... but I was wondering how much of an overhead in php/mysql this would create. Is the users birthday pulled in the existing postbit query?
|
|
#2
|
||||
|
||||
|
it's minimal... look in the functions_showthread.php file, construct_posbit() function. it's $post['birthday']. All you need to do is to use date to format the current time and then compare the two strings.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|