Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2004
Posts: 152
Y
member
member
Y Offline
Joined: Sep 2004
Posts: 152
I posted a calendar topic this morning to test the calendar once more. I then deleted the topic, but the calendar entry is still there. I emptied the cache, but the entry is still there (only in the small calendar, not the big one you see when you click on the month name.)

Last edited by Rick; 10/16/2006 5:04 PM.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Clearing the cache didn't work because apparently I forgot to remove the calendar event when deleting a topic.

The fix:

scripts/doexpirethreads.inc.php

About line 238 you'll see:

$html->send_redirect(

Right before that, add this:

Code
        $query = "
                delete from {$config['TABLE_PREFIX']}CALENDAR_EVENTS
                where TOPIC_ID = ?
        ";
        $dbh->do_placeholder_query($query,array($Number),__LINE__,__FILE__);

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
If i can add to this,
when you edit a New topic which has a calender event
attached to it, it displays today's date
as the lising date?

Where it should hold the orignial date that has been entred?

My observations.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Yes, that one is fixed in this report.

Joined: Sep 2004
Posts: 152
Y
member
member
Y Offline
Joined: Sep 2004
Posts: 152
Thanks Rick! Let's hope that works smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Ruben), 1,248 guests, and 268 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)