Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
When you move a post and leave a pointer. The date and time of that pointer was from the original first post of the topic, instead of the date and time of the latest post.

If you move something a few days old, the pointer is a bit useless since it's not on the spot where the topic used to be.

Last edited by Rick; 05/30/2007 12:36 PM.

[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
The fix is easy.

In scripts/domovethreads.inc.php

Code
	if ($pointer) {
		$query = "
		SELECT TOPIC_CREATED_TIME,TOPIC_SUBJECT,TOPIC_ICON,USER_ID
		FROM {$config['TABLE_PREFIX']}TOPICS
		WHERE  TOPIC_ID = ?
		";

replace TOPIC_CREATED_TIME with TOPIC_LAST_REPLY_TIME.


[Linked Image from siemons.org]
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Excellent Catch wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo

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
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Ruben), 866 guests, and 176 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)