Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
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,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
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
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 469 guests, and 123 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)