The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Birthday Problem
hi..
i have a problem in my forum. today Dec 31 so i have more than 1000 names in the birthday list and this is not true. indeed, these are the mempers who did not enter thier birthday when registered. how can i make it real one that displays on;y the true birthdays?? regards |
#2
|
|||
|
|||
anybody???
|
#3
|
||||
|
||||
The problem you're encountering is most likely from people with birthdays before Dec 31, 1969. This is when the Date format used by vB starts and therefore any day before that is automatically stored as Dec 31, 1969. Your best bet is to disable showing birthdays for today. Now if what you're saying is true and these people never entered a birthday, for some reason it's being entered by default in the database which you will need to correct. The birthday table is only accessed once every 24 hours so there's no way that I know of to correct the problem.
|
#4
|
|||
|
|||
There's a fix available for that over at VBulletin, Cary posted it. Worked for users with 2.2.5, 2.2.8, and 2.2.9 Backup your member.php file, rename it to something else for safe keeping.
Open up your member.php file. Find the line: Code:
$birthday = @date($calformat1,mktime(0,0,0,$bday[1],$bday[2],$bday[0])); Code:
$birthday = @date($calformat2,mktime(0,0,0,$bday[1],$bday[2])). ", $bday[0]"; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|