Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 027-0013 Duplicate Birthday Entries 
 
I think this is a bug, but double check to be sure.

When viewing the forum.php page, notice the calendar row showing the birthdays:

 
Spoiler: [ Show ]


When viewing the viewforum.php page, notice the double entries of birthdays on the calendar row:

 
Spoiler: [ Show ]


This happens in every theme installed.  I'm using the latest patched version of IP.
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
Last edited by Guest on Fri 20 Jun, 2008 13:01; edited 1 time in total 
ChaoticSend private messageVisit poster's website  
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: Duplicate Birthday Entries 
 
It also happens to me...

Thanks for reporting
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Duplicate Birthday Entries 
 
You are right, it is a bug.

OPEN includes/functions_calendar.php
FIND
Code: [Download] [Hide] [Select]
    $current_page = $_SERVER['PHP_SELF'];

    for ($i = 0; $i < count($pages_array); $i++)
    {
        if (strpos(strtolower($current_page), strtolower($pages_array[$i])) !== false)
        {
            get_birthday($events, $number, $start_date, $end_date);
        }
    }

REPLACE WITH
Code: [Download] [Hide] [Select]
    $current_page = basename($_SERVER['PHP_SELF']);

    if (in_array(strtolower($current_page), $pages_array))
    {
        get_birthday($events, $number, $start_date, $end_date);
    }


Let me know if this will solve your problem.
 




____________
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: 027-0013 Duplicate Birthday Entries 
 
Chaotic wrote: 
Lopalong,

Sorry to be sending you a PM, but I guess it's the best way to tell you this.

h**p://***.icyphoenix.com/viewtopic.php?p=28228#p28228

I'm sorry I didn't see MG's last post until today. I applied the fix he mentioned in his post and it worked perfectly. I tried to reply to the topic, but it said only moderators were allowed to reply.

Just wanted to let you guys know that worked.

Thanks again,

Chaotic


Thanks for letting us know.  
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: 027-0013 SOLVED - Duplicate Birthday Entries 
 
Thanks Chaotic.

I appreciate.
 




____________
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
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