They show up in the Birthday box in forum.php, they show up in the users' profiles, they show up in calendar's full view, but they do not show on the calendar row in the forum.php page.
Any ideas on how to make them show up there?
Thank you in advance for your kind help.
Regards
[SOLVED] Birthdays Aren't Showing On Calendar Row
Subject: [SOLVED] Birthdays Aren't Showing On Calendar Row
Last edited by BIG BOSS on Sat 15 Mar, 2008 15:29; edited 1 time in total
Last edited by BIG BOSS on Sat 15 Mar, 2008 15:29; edited 1 time in total
Subject: Re: Birthdays Aren't Showing On Calendar Row
Last edited by moreteavicar on Fri 14 Mar, 2008 22:38; edited 1 time in total
Calendar's row in the forum page? I think that is supposed to be removed, MG didn't like it. Which version of Icy are you using?
Actually if you are seeing the calendar block, it may not be coded to display birthdays... if you go into includes/functions_calendar.php, look for the lines:
Perhaps try modifying this to:
Actually if you are seeing the calendar block, it may not be coded to display birthdays... if you go into includes/functions_calendar.php, look for the lines:
if ( strstr($_SERVER['PHP_SELF'] , 'calendar.php' ) == true)
{
get_birthday($events, $number, $start_date, $end_date);
}
{
get_birthday($events, $number, $start_date, $end_date);
}
Perhaps try modifying this to:
Last edited by moreteavicar on Fri 14 Mar, 2008 22:38; edited 1 time in total
Subject: Re: Birthdays Aren't Showing On Calendar Row
Actually thats a bit untidy doing it that way... think
I prefer...
Hope it helps ;)
I prefer...
$current_page= $_SERVER['PHP_SELF'];
if (ereg("calendar.php" , $current_page) || ereg("forum.php" , $current_page))
{
get_birthday($events, $number, $start_date, $end_date);
}
if (ereg("calendar.php" , $current_page) || ereg("forum.php" , $current_page))
{
get_birthday($events, $number, $start_date, $end_date);
}
Hope it helps ;)
Subject: Re: [SOLVED] Birthdays Aren't Showing On Calendar Row
Not everything you don't see is something I don't like. :P
Sometimes there are bugs, or simply something not implemented. :wink:
Anyway with the patch this should be solved. :wink:
Thanks for having shown me how to solve this (I've slightly modified your code). :wink:
moreteavicar wrote: [View Post]
Not everything you don't see is something I don't like. :P
Sometimes there are bugs, or simply something not implemented. :wink:
Anyway with the patch this should be solved. :wink:
Thanks for having shown me how to solve this (I've slightly modified your code). :wink:
Subject: Re: [SOLVED] Birthdays Aren't Showing On Calendar Row
I mean, its not like you wouldn't have been able to do a simple fix like this if you wanted to ;)
And of course, I'm not going to go dredging through ancient posts to see if my memory serves me correct... I just know I am :P
Oh... Well... I do vaguely remember seeing you post (quite a long time ago, during phpBBXS to Icy transition) that you didn't like the javascript calendar and was thinking of removing it...Mighty Gorgon wrote: [View Post]
I mean, its not like you wouldn't have been able to do a simple fix like this if you wanted to ;)
And of course, I'm not going to go dredging through ancient posts to see if my memory serves me correct... I just know I am :P
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.0895s (PHP: 20% SQL: 80%)
SQL queries: 12 - Debug Off - GZIP Enabled