Page 1 of 3

Bump Warning

Posted: Sun Sep 28, 2008 6:04 pm
by Extensions Robot
Modification name: Bump Warning
Author: MartectX
Modification description: Displays an info bar at the top of the posting screen if users attempt to reply to their own posts before a certain amount of time (e.g. 24 hours) has elapsed or someone else has posted in between. May be set to enforce an edit of the last post instead of just displaying a bar. Board wide and per-forum setting.
Modification version: 1.0.0
Tested on phpBB version: 3.0.2

Download file: bump_warning_1.0.0.zip
File size: 67.41 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--

Bump Warning

Posted: Sun Sep 28, 2008 6:04 pm
by Paul
Modification validated/released

Notes:

Bump Warning

Posted: Sun Sep 28, 2008 6:04 pm
by MartectX
w00t! Thank you for validating! :D

Drathbun inspired me to make this when he posted about it in his blog!

Posting screen shot:
Image

Board settings:
Image

Forums' settings:
Image

Re: Bump Warning

Posted: Sun Sep 28, 2008 11:19 pm
by 3Di
a very nice job.. ;)

Re: Bump Warning

Posted: Sun Sep 28, 2008 11:21 pm
by Peter77sx
Congrats on getting it validated. This is a must have!

Re: Bump Warning

Posted: Thu Oct 09, 2008 10:00 am
by EnjoyNIRVANA!
Nice MOD. There's a space missing after "a" new... ;)

Re: Bump Warning

Posted: Thu Oct 09, 2008 3:24 pm
by MartectX
EnjoyNIRVANA! wrote:Nice MOD. There's a space missing after "a" new... ;)
No, that's intentional.

Re: Bump Warning

Posted: Sat Oct 11, 2008 8:30 pm
by MartectX
I just thought of an extension to the basic function: Users will also have a warning banner displayed if they try to reply to a thread that is older than an adjustable amount of time (to help prevent unnecessary topic resurrection). Is there any interest in this?

Re: Bump Warning

Posted: Mon Oct 13, 2008 11:29 am
by Sunka
MartectX wrote:I just thought of an extension to the basic function: Users will also have a warning banner displayed if they try to reply to a thread that is older than an adjustable amount of time (to help prevent unnecessary topic resurrection). Is there any interest in this?
I am interesting...but only if you give us ( we who allready install your MOD) update instructions for that extension :mrgreen:
P.S. For my opinion (I am not programmer, not at all, but I install many MODs) you have wonderfull MODs which are easy to install :mrgreen:

Re: Bump Warning

Posted: Mon Oct 13, 2008 12:01 pm
by MartectX
Sunka wrote:I am interesting...but only if you give us ( we who allready install your MOD) update instructions for that extension :mrgreen:
For sure.
Sunka wrote:P.S. For my opinion (I am not programmer, not at all, but I install many MODs) you have wonderfull MODs which are easy to install :mrgreen:
Thank you very much! I learned a lot from the mods of primehalo and nickvergessen, especially the technique to keep the edits to a minimum (which is also a great advantage when having to assemble an update instruction file).

Re: Bump Warning

Posted: Thu Oct 16, 2008 1:56 pm
by DragonMaster1
This will come in very handy

Is it possible to make it so that only certain users are affected?

Re: Bump Warning

Posted: Thu Oct 16, 2008 3:40 pm
by MartectX
DragonMaster1 wrote:This will come in very handy

Is it possible to make it so that only certain users are affected?
You may change the behaviour for admins and mods and also exempt users from the restriction by editing includes/functions_bump_warning.php:

FIND

Code: Select all

// Admin & Mod behaviour
($auth->acl_get('a_')) ? $bump_warning_setting = 0 : '';
($auth->acl_get('m_', $forum_id)) ? $bump_warning_setting = 0 : '';

Re: Bump Warning

Posted: Thu Oct 16, 2008 4:14 pm
by DragonMaster1
I can’t seem to get this to work

Repeated posts just get:

You cannot make another post so soon after your last.

Then if the flood interval is completed it will post anyway

What settings are wrong?

Re: Bump Warning

Posted: Thu Oct 16, 2008 4:28 pm
by MartectX
First, this has nothing to do with the flood interval. Check if you have activated the mod in your board's post settings - if you didn't, there won't be any effect!

Re: Bump Warning

Posted: Thu Oct 16, 2008 4:42 pm
by DragonMaster1
I have limited editing time at 0

Display Warning Banner

Bump Warning time 30 minutes

Display edited time 0

Is there something I missed?