Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post [SOLVED] Birthdays Aren't Showing On Calendar Row 
 
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
 




____________
Regards,

BIG BOSS
 
Last edited by BIG BOSS on Sat 15 Mar, 2008 15:29; edited 1 time in total 
BIG BOSSSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Birthdays Aren't Showing On Calendar Row 
 
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:
Code: [Download] [Hide] [Select]
if ( strstr($_SERVER['PHP_SELF'] , 'calendar.php' ) == true)
    {
        get_birthday($events, $number, $start_date, $end_date);
    }


Perhaps try modifying this to:

Code: [Download] [Hide] [Select]
if (( strstr($_SERVER['PHP_SELF'] , 'calendar.php' ) == true)|| ( strstr($_SERVER['PHP_SELF'] , 'forum.php' ) == true))
    {
        get_birthday($events, $number, $start_date, $end_date);
    }

 



 
Last edited by moreteavicar on Fri 14 Mar, 2008 22:38; edited 1 time in total 
moreteavicarSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Birthdays Aren't Showing On Calendar Row 
 
Actually thats a bit untidy doing it that way... think
I prefer...
Code: [Download] [Hide] [Select]
$current_page= $_SERVER['PHP_SELF'];

if (ereg("calendar.php" , $current_page) || ereg("forum.php" , $current_page))
    {
        get_birthday($events, $number, $start_date, $end_date);
    }


Hope it helps
 



 
moreteavicarSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Birthdays Aren't Showing On Calendar Row 
 
That did the trick,

THANK YOU!!!

 
 




____________
Regards,

BIG BOSS
 
BIG BOSSSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Birthdays Aren't Showing On Calendar Row 
 
You're welcome
 



 
moreteavicarSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Birthdays Aren't Showing On Calendar Row 
 
moreteavicar wrote: [View Post]
Calendar's row in the forum page? I think that is supposed to be removed, MG didn't like it.

Not everything you don't see is something I don't like.

Sometimes there are bugs, or simply something not implemented.

Anyway with the patch this should be solved.

Thanks for having shown me how to solve this (I've slightly modified your code).
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Birthdays Aren't Showing On Calendar Row 
 
Mighty Gorgon wrote: [View Post]
moreteavicar wrote: [View Post]
Calendar's row in the forum page? I think that is supposed to be removed, MG didn't like it.

Not everything you don't see is something I don't like.

Sometimes there are bugs, or simply something not implemented.

Anyway with the patch this should be solved.

Thanks for having shown me how to solve this (I've slightly modified your code).
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...
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  
 



 
moreteavicarSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You 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


  

 

  cron