![]() |
Birthdays = Array?
Hi,
I'm currently running vB 3.7.3. On the bottom of my forum index, birthdays show up as "Array" instead of listing the birthdays of the forum members. Looks like this: https://vborg.vbsupport.ru/external/2010/07/30.png Below is my site's birthday.php Code:
$tdate = vbdate('Y-m-d', TIMENOW, false, false); |
The only place I have birthday.php is in my includes/cron folder and it looks nothing like your birthday.php file- is this from some sort of mod?
|
Sorry about that, I posted the wrong one.
Code:
|
My file is identical except the first if statement for me is:
Code:
if ($usergroup['genericoptions'] & $vbulletin->bf_ugp_genericoptions['showbirthday'] AND $usergroup['genericoptions'] & $vbulletin->bf_ugp_genericoptions['isnotbannedgroup'] AND !in_array($usergroup['usergroupid'], array(1, 3, 4))) |
I tried changing the first if-statement with the one you had and reuploading it, but the birthdays are still showing up as "Array" on the forum index.
|
did you run the birthday scheduled task manually after making the change?
|
Did you verify that you forumhome & forumhome_birthdaybit templates are correct and not missing any closing </if> statements?
Backup your forumhome & forumhome_birthdaybit templates and then revert them. |
If you are looking at the forum index, you should be looking at index.php and I don't think the snippet you provided is from there - it looks like cron file to send out emails.
|
Make sure your index.php is the default file for the version you are using.
|
All times are GMT. The time now is 08:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|