Joe Belmaati wrote: MOD Updated to BETA 0.0.3
Added: Viewtopic-like admin module to monitor bump posts. Here, bump posts can be deleted one at a time, sorted by a number of parameters (user ip, forum, topic title, username etc) - and of course you can still purge bump posts altogether.
Changed: Only the topic starter or moderator or admin can auto bump posts. The graphic button is hidden for everyone else, and security meassures have been imposed to prevent users from trying to bump posts by passing variables through the url. Paranoid, yes, but effective.
Hope you like, and next time (I promise), I will impose an admin settable max topic bump limit.
Also, I'd like everyone's opinion on this: If a topic has been bumped, say a number of times, and a user then adds legitimate reply, should the topic bump counter then be reset...?
Sincerely,
Joe
Also, I'd like everyone's opinion on this: If a topic has been bumped, say a number of times, and a user then adds legitimate reply, should the topic bump counter then be reset...?
vrflyer wrote: Anyway to change the "Bump Topic" button to this scheme?
![]()
Code: Select all
if ( $userdata['session_logged_in'] && $topic_starter == $userdata['user_id'] || $userdata['user_level'] == ADMIN || $userdata['user_level'] == MOD )
Code: Select all
$bump_topic = ( $userdata['session_logged_in'] && $forum_topic_data['topic_poster'] == $userdata['user_id'] || $userdata['user_level'] == ADMIN || $userdata['user_level'] == MOD ) ? '<a href="' . $topic_bump_url . '" onclick="window.open(\'' . $topic_bump_url . '\', \'_bump\', \'height=120,resizable=no,scrollbars=no,width=290\');return false;" target="_bump"><img src="' . $images['bump'] . '" alt="' . $lang['Bump'] . '" title="' . $lang['Bump'] . '" border="0" align="middle" /></a>' : '';