SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Archived Announcements

 
 
Thread Tools Search this Thread
Old 07-16-2004   #1
Mystic
チェン!
Administrator
 
Mystic's Avatar
Default Bumping Topics

Basically, I need to deal with the topic bumping, and it looks like I'll have to prune topics beyond a certain age. This will be good for two reasons:

#1: It keeps people from bumping older topics because they simply aren't there to bump
#2: It saves on server space because there is less data being stored.

The downside to this is that any old topics that are actually useful will have to be moved to Archives before the topic goes off the margin where it auto-deletes it.

If you have any comments or suggestions on this, I'd like to hear them. I'll wait about a week before actually acting to see if someone has a better idea.
Mystic is offline  
Old 07-16-2004   #2
a441
Default

No!

History is good. Try locking the old topics instead.
a441 is offline  
Old 07-16-2004   #3
Mystic
チェン!
Administrator
 
Mystic's Avatar
Default

That was my first course of action. However, PHPBB does not come with a feature to automatically lock topics beyond a certain age. I looked into getting a mod to let me do it, but it appears horridly complex, and since I have a hard time figuring out how to do something simple like upgrading the forum, I don't think having me add a mod that it designed for an older version of PHPBB would be in any way a good idea.
Mystic is offline  
Old 07-17-2004   #4
a441
Default

I don't think deleting history is a good idea. Topic bumping is at best a minor annoyance, at worst a not-so-minor annoyance. Don't throw the baby out with the bathwater. Geez.
a441 is offline  
Old 07-17-2004   #5
Digiku
Developer
Default

Move all old topics to a secret op-only forum?
Digiku is offline  
Old 07-17-2004   #6
Mystic
チェン!
Administrator
 
Mystic's Avatar
Default

I like history, a441, that's why the old topics have lasted so long. However it's gotten to the point where half of the topics on the board display a lock for being bumped at once point or another. If you can find a way to autolock without having way too much trouble for Mr. No-Knowledge-About-PHPBB here, I'd be more than happy to use that instead.
Mystic is offline  
Old 10-09-2004   #7
Chaos Zero 64
 
Chaos Zero 64's Avatar
Default

Can you move the locked topics to the last page, or to the bottom of the page? Theres no reason to have a locked topic near the... non-locked topics.
__________________
Quote:
Originally Posted by Bigboi View Post
Personally, if SEGA makes a nice sum of cash, they're doing their job well. They don't need to appeal to hordes of manchildren that are pissed that some kid games aren't fun to play.
Your and You're. Learn the difference.
Chaos Zero 64 is offline  
Old 10-09-2004   #8
a441
Default

Yes there is. So you can read them if they have something new.
a441 is offline  
Old 10-09-2004   #9
Mystic
チェン!
Administrator
 
Mystic's Avatar
Default

I've pretty much got the policy at this point of simply deleting the bump post, putting the topic back to the place where it was, since it sorts by last reply.

The only time I leave it locked is if there is significant reason to leave the posts that bumped the topic.
Mystic is offline  
Old 10-09-2004   #10
SadisticMystic
Default

Here's the code to set up, say, a 30-day autolock on topics, or at least the Invision Power Board equivalent. If I find a copy of the phpBB source, a more correct solution can be put in place.

Near the beginning of viewforum.php, you'd enter the phpBB equivalent of
Code:
$cutoff = time()-2592000;
exe("UPDATE `vtopics` SET `state`='closed' WHERE `forum_id`=$f AND `state`='open' AND `last_post` < $cutoff")
and in viewtopic.php,
Code:
$cutoff = time()-2592000;
exe("UPDATE `vtopics` SET `state`='closed' WHERE `topic_id`=$t AND `state`='open' AND `last_post` < $cutoff")
Basically, "Whenever someone views a forum, close all open topics in that forum that haven't had a post in 2,592,000 seconds (30 days) or more. Whenever someone views a topic, if it hasn't had a post in 2,592,000 seconds or more, close it."

There is definitely a foreseeable way to get around this (plugging random numbers into posting.php comes to mind), but that's probably more trouble than it's worth, and if anyone does miraculously find an old enough topic that isn't already closed by someone viewing the forum, then they continue to post in it, then what we have is a full-fledged exploit, and the banhammer can come down hard.

The oldest site backup I have is March 10th, while the Invision board replaced phpBB on February 5th, so I don't have access to that right now. When I do, this message will be edited.
SadisticMystic is offline  
Old 01-17-2005   #11
hotdog003
 
hotdog003's Avatar
Default

I was poking around the PHPBB website's MODs section, when I found this:

http://www.phpbb.com/phpBB/catdb.php?cat=52

Somewhere on this page is a Mass-Lock MOD.Here are the details.

Quote:
Wed Nov 05, 2003 10:58 pm [2.0.6] Mass-lock

MOD Name: Mass-lock
Author: siavash79
MOD Description: This mod automatically locks the topics that have not any posts for a while.

MOD Version: 1.0.4
Installation Level: Easy
Installation Time: ~ 10 Minutes


Download File: mass_lock_1.0.4.zip
File Size: 10481 Bytes


--------------------------------------------------------------------------------

Rating: 3.40 (5 votes) Discuss/Rate/Review Hits: 3383 Reviews: 7
hotdog003 is offline  
Old 01-17-2005   #12
a441
Default

"[2.0.11] Auto Lock MOD" (same page) is probably a better bet for working correctly.

There's a separate page about it.
a441 is offline  
Old 01-17-2005   #13
hotdog003
 
hotdog003's Avatar
Default

Hmm...
hotdog003 is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Locked Topics. Shu General Discussion 11 03-23-2007 07:32 AM
editing topics Icer the hedgehog Help 7 02-14-2007 06:47 AM
Old topics FTL Shuffle Outdated Releases (0.X & 1.X) 94 04-30-2006 12:29 AM


All times are GMT. The time now is 11:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.