[BETA] Bump Topic 0.0.3

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
ScarabWeb
Registered User
Posts: 107
Joined: Sat May 07, 2005 3:09 pm
Contact:

Post 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?
ScarabWeb :: Affordable Hosting Solutions
High Quality Hosting to fit everyone's need!
Shared / Reseller / VPS / Dedicated Hosting
cPanel :: WHM :: Fantastico Deluxe :: RVSkin
Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post 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.
Image
User avatar
cardude
Registered User
Posts: 67
Joined: Sat May 07, 2005 2:06 am

Post 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.
Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post by Joe Belmaati »

No, anyone can bump, however it'd be real easy to restrict bumping to certain user levels.
Image
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3511
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Post by bonelifer »

It would be nice if it could also be restricted to the topic starter.
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .
Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post by Joe Belmaati »

bonelifer wrote: It would be nice if it could also be restricted to the topic starter.
Certainly do-able.
Image
Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post 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
Image
User avatar
cardude
Registered User
Posts: 67
Joined: Sat May 07, 2005 2:06 am

Post 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.
urmomma
Registered User
Posts: 41
Joined: Mon Jun 06, 2005 1:24 am
Location: urmomma's house
Contact:

Post 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.
User avatar
milkman
Registered User
Posts: 165
Joined: Mon Nov 29, 2004 1:55 am
Location: Loughborough, UK
Contact:

Post 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.
User avatar
vrflyer
Registered User
Posts: 503
Joined: Mon Feb 17, 2003 8:27 pm

Post by vrflyer »

Anyway to change the "Bump Topic" button to this scheme?

Image
Always Under Construction !
Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post 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..
Image
User avatar
3Di
Former Team Member
Posts: 16095
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Name: Marco
Contact:

Post 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. ;)
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
Former Team Member
Posts: 16095
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Name: Marco
Contact:

Post by 3Di »

Image

Image

hope you like them else tell me something about, thanks.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
vrflyer
Registered User
Posts: 503
Joined: Mon Feb 17, 2003 8:27 pm

Post 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:
Always Under Construction !
Post Reply

Return to “[2.0.x] MODs in Development”