Page 3 of 5

Posted: Mon Aug 22, 2005 9:03 am
by ScarabWeb
I did add that edit, but it may of course be clashing with yet something else.
I'll have to take a closer look at this.

I assume it's not possible to skip the marking as unread? I mean, just bump the topic to the top and not mark is as having a new post?

Posted: Mon Aug 22, 2005 9:09 am
by Joe Belmaati
OK,
well there could be all kinds of clashes with a MOD that tampers with the flags, because that's what this MOD does too. I assume that something is triggering a topic resync and that's why the bump replies are counted. I can not say what would be triggering it, however you could PM me your viewtopic.php and I could see if I can find it.

Posted: Mon Aug 22, 2005 1:09 pm
by cardude
It looks like I will try this now that it doesn't technically add a post.

Is bumping restricted to admins and moderators?

If it isn't, I will still add the mod, but it would be nice.

Posted: Mon Aug 22, 2005 1:49 pm
by Joe Belmaati
No, anyone can bump, however it'd be real easy to restrict bumping to certain user levels.

Posted: Mon Aug 22, 2005 1:59 pm
by bonelifer
It would be nice if it could also be restricted to the topic starter.

Posted: Mon Aug 22, 2005 2:01 pm
by Joe Belmaati
bonelifer wrote: It would be nice if it could also be restricted to the topic starter.
Certainly do-able.

Posted: Mon Aug 22, 2005 11:59 pm
by Joe Belmaati
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

Posted: Tue Aug 23, 2005 1:55 am
by cardude
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


I would say yes.

Posted: Tue Aug 23, 2005 4:12 am
by urmomma
Joe Belmaati...your always here making practical mods. Great Job! The signature mod is soo great and now this! Great. I will try it asap.
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...?

hmm...so someone bumps the topic...and someone else replies. Then I think it should stay flagged still, because someone else posted...and its up for someone else to reply to...or then the person who posted (replied) would have to bump the topic to get his/her post read.

...or do you mean...reset as in...if there was no bump, like delete the bump when someone else posts after?
Then yes. It seems only practical...but more work...

Also, I think someone else said this...about letting the person who started the topic...being the only one able to bump. I would prefer the user who replied/posted last be the only one to bump topics....except admins/mods.

Cz the last user posted...is the only one relevant that would wish to bump a topic...and I guess the guy/girl who started the topic. Then of course admin/mod can always bump topic.

Posted: Sat Aug 27, 2005 6:51 pm
by milkman
I have a thought toward auto pruning of the bump posts. How about removing any previous bumps in a topic when a new post or bump is added. This way there would be at most 1 bumps per topic at any one time! The post would still be unread for anyone else who visits as there would be a newer post there.

Also any news on this mod working with the keep unread mod? I would value both on my forum.

Posted: Mon Aug 29, 2005 12:04 pm
by vrflyer
Anyway to change the "Bump Topic" button to this scheme?

Image

Posted: Mon Aug 29, 2005 12:11 pm
by Joe Belmaati
vrflyer wrote: Anyway to change the "Bump Topic" button to this scheme?

Image


Hi, there are some extremely helpful Graphics Artists in the Styles forum. You could request it there..

Posted: Mon Aug 29, 2005 12:15 pm
by 3Di
vrflyer wrote: Anyway to change the "Bump Topic" button to this scheme?

Image


i think it should be not so hard, let me try. ;)

Posted: Mon Aug 29, 2005 12:48 pm
by 3Di
Image

Image

hope you like them else tell me something about, thanks.

Posted: Mon Aug 29, 2005 1:27 pm
by vrflyer
Right ON "3Di" !!! 8)

While on topic, is there going to be a change on the MOD to allow only certain FORUMS from being able to be BUMPED ? :wink:

...and I belive to only allow MODS/ADMINS (per someone's request posted prior)

Remove "$topic starter" portion from "bump.php" code:

Code: Select all

if ( $userdata['session_logged_in'] && $topic_starter == $userdata['user_id'] || $userdata['user_level'] == ADMIN || $userdata['user_level'] == MOD )
Remove "$forum_topic_data" portion from "viewtopic.php" code:

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>' : '';
:wink: