View Full Version : "Bump" topic on any edit
SWFans.net
11-10-2001, 08:03 PM
Is there already a hack that will "bump" a topic to the top if there is an edit to any of the posts by any user? If not, is it possible?
JTMON
11-10-2001, 09:59 PM
This would be very nice! I was suprised that vBulletin didn't already do this.
Admin
11-11-2001, 11:56 AM
In editpost.php, add this:
$DB_site->query("UPDATE thread SET lastpost='".time()."' WHERE threadid='$threadinfo[threadid]'");
right before this:
$DB_site->query("DELETE FROM searchindex WHERE postid=$postid");
Should work. :)
SWFans.net
11-11-2001, 05:13 PM
Goes to test it out :D
SWFans.net
11-11-2001, 05:24 PM
Works like a dream. :D Thank you FireFly. :)
Admin
11-11-2001, 05:27 PM
No problem. :)
SWFans.net
11-11-2001, 05:54 PM
The only downside to it is that it doesn't adjust the "last posted by" on the index, but that is actually a very minor thing that I can live without.
Admin
11-11-2001, 05:59 PM
Yeah, that's how it works. :)
You could in theory add another field to the thread table, let's say "lastactivity" and order everything by it, but it would be such a headache... :)
SWFans.net
11-11-2001, 06:24 PM
Don't want any of those. I just wanted to let people know its behavior. :)
Freddie Bingham
11-12-2001, 02:52 AM
vBulletin used to do this by default but I changed it as users found it fun to bump posts just be editing them.
SWFans.net
11-12-2001, 03:14 AM
I realize that possibility and with this addition to the code, have the ability to take away the feature if it does become a problem, by removing the addition. :)
Alisa Lindsay
08-06-2009, 01:43 PM
Could this be modified so that editing a post both bumps the topic and resets the thread to New so the New Replies forum marker lights up?
Lynne
08-06-2009, 02:31 PM
Do you realize this is an eight year old thread?
Alisa Lindsay
08-06-2009, 06:22 PM
Yes, I did realize it was a very old topic and the chance of a response was unlikely. However, I've tried every search and every place I can think of trying to find a particular mod or find out if it is even possible. Posting out of desperation now. :(
My apologies if this caused issues or was against the guidelines.
Alfa1
08-06-2009, 10:15 PM
I wish I had seen this before. Does the code by Chen still work?
toonysnn
08-07-2009, 11:53 AM
No.
Alfa1
08-08-2009, 12:18 PM
Thanks.
Shelley_c
08-08-2009, 01:17 PM
Not sure whether it's of any use but I requested a bump feature script from nick a few years ago that displays a bump link text on forum display by each thread and silently bumps the thread to the top and it also updates the lastpost data on forumhome when a thread is bumped.
I configured the script so that it's only possible to bump a thread by staff and admins but as default only the group with higher privelages and the threadstarter can bump the thread without going into the post. Bump thread Script (http://www.vbskinstudio.com/forum/showthread.php?t=698). Again, I don't know whether you'll find a use from it.
Alfa1
08-08-2009, 10:16 PM
My main reason for wanting edited threads to be bumped, is because they need to be reviewed by a moderator. Editing threads leaves rule breaches under the radar, because they do not turn up in new posts.
But your suggestion did make me check out your site, which is good.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.