![]() |
Prevent Bump on Forum Threads Before X Time
1 Attachment(s)
Prevent Bump on Forum Threads Before X Time By: Idan B. Note: This modification was coded to answer request given by vithorius @ https://vborg.vbsupport.ru/showthread.php?t=212173 As with other modifications i've take upon coding from requests section, this sounded like useful modification to entire community, so i believe the time i've spent to code it was worth it. 1. Description & Usage: This hack will allow any forum admin to configure certain forum in a way that will prevent any users to bump his thread before certain time has passed from the time thread has been created. Any attempt by user to reply before time has passed will show user with error message & showing him the remaining time he has to wait before allowed to reply. 2. Installation: Please click Mark as Installed. Installation is pretty easy - just download & install:
1. Uninstall previous version 2. Download new version xml & install as instructed in previous section. 4. Configuration: Once installed, the "Forum Manger" under admincp will have extra section for each forum: Section name: "Prevent Threads Bump"
- None at the moment - please report any found ! 6. TO-DO's LIST (Next Versions): - [S]2nd attempt to reply again after already replied will require to meet with x time rule again[/S] - fixed in v1.0.1. - Bypass to certain usergroups 7. Extra Notes: The text used in this modification is fully configured via phrase manager in admincp. - Error messages is made from 3 phrases: reply_access_denied_wait_x_time_please prevent_bump_please_wait_1 prevent_bump_please_wait_2 Enjoy hack & dont forget to click Mark as Installed :) |
Changelog:
20 Jun 2009 11:31 - Version 1.0.1 Released:
|
This looks like a nice mod indeed.
One question: when someone answers the TS his first post and the TS wants to reply is that allowed by this hack? or does he still have to wait before the time set runs out before replying? |
Dear IdanB,
THANK YOU SO VERY VERY MUCH!!! :up: :up: :up: :up: |
awesome!
|
Quote:
This mod only prevent some1 to bump his own thread if no reply has been made. Should any reply be made, he can reply to his own thread without problem. |
WoW
Installed thank u,, |
Can we configure this by usergroup? That way admins can bump whenever they like.
|
Quote:
This will be available on next revision update. |
Quote:
|
Also, can a user reply to his own thread if someone other than him has replied since the last time he did? Like he is answering a question instead of purposely bumping.
|
Yes. once thread has some repliy (or replies), thread starter has no longer any restrictions & can reply to his own thread. The mod idea was to prevent initial bump to thread no one has replied to.
|
Great! Thanks. Installed bud.
|
Can you set what forums you want to use this in or is it just set for every forum?
|
Quote:
Quote:
|
Thanks, must not have read it right the first time.I installed it but i tried to test it out and does not do anything when i try to bump a thread more then the time i set it for.I have it set for active and 6h.
|
Quote:
Should there be any old thread with already more than 1 post in it, it will not prevent it to be bumped. |
Quote:
I was NOT aware of this...! :( :erm: Is it possible to add any way of preventing ANY kind of 'bump' from the thread's author BEFORE the time that we set on the admincp? I mean: - If the thread author wants to reply, he must wait for the 'X' days in order to be able to reply. When that 'X' days has passed, he CAN reply ('bump') the thread, but now, he must wait ANOTHER 'X' days to be able to 'bump' again... In my case, nobody will reply in those threads, because only the thread Author is able to reply on those sections. But if I would give permission to anyone reply on the thread, then the author should WAIT the 'X' days to 'bump' the thread again! Well, the main idea would be to prevent ANY kind of 'bump' from the thread's author outside that 'X' days periods. Is that possible? :confused: (that is so very much important for me! :eek: ) Thank you so very much! |
Quote:
Assumption is, if more than 1 reply, then some1 answered to him, then i would assume we want to allow thread starter to reply to his own thread. EDIT: misread your answer. i'll see what i can do to fix this, so any 2nd attempt to reply again after already replied will require to meet with x time rule again. |
Dear IdanB,
Please excuse my poor english (as my main language is portuguese... :rolleyes: ) When I sayd "I was aware of this...!" I meant "I was NOT aware of this...!" (I forget to write the word "NOT") Ok, so answering you message: Quote:
Maybe my case is very different from other people's needs, but what I need is just that: "any 2nd attempt to reply again after already replied will require to meet with x time rule again." (and so on... and so on... - until the thread becomes closed or deleted!) |
yea, understood what you meant. i'll do my best to upload a fix for it tonight.
First i need to finish work on some other mod that needs overdue update release (Alt Last Post). when that's finished, i will work on fix for this modification. regards, Idan. |
Thanks!!! i got it to work.Will be looking forward to what else you do with this mod.
|
Quote:
Also, I can't seem to produce any results from this hack either. I've set it up in a test forum for 5m and active, started a new thread and promptly bumped it with no problems at all... many times... something I am doing wrong on my end? |
Well it worked for me last night.I set up a new thread to test it in and it worked.But this morning i went to try it and it let me bump anytime i wanted to bump.Don't know what happened since none of the settings were messed with.
|
As mentioned the current version only prevent 1st bump, should any1 already replied to that specific thread, current version doesnt prevent the bump. When next version is released, i'll have in it the feature as described by vithorius (it's already on the TO-DO's list) (read up few posts above)
|
Ok sorry mis understood what you meant.Thought you were meaning it will work on new threads but not just for the first bump.Thanks
|
modification updated - now 2nd attempt to reply again after already replied will require to meet with x time rule again.
|
cool i am testing it out now.One thing i noticed is when you set the time is it is an hour off.So if i set for 12hrs it really makes them wait 11. So to set for 12hrs you must put 13h instead of 12h.Not that big of problem but just wanted to let you know about it.
|
Quote:
|
Make sense, seems to be working great thanks.Nice mod!
|
Dear IdanB,
I forgot to mention that my board is using vBulletin v 3.6.11. What happens is that when I try to upgrade your hack to this new version, I get an SQL error and the upgrade fails... :confused: :( Quote:
|
have you uninstalled first and only after installed or tried to install over existing ?
|
Quote:
I was trying to install over the existing one... Another question: The hack prevents the first and the second attempt to bump the thread... How about the 'next' times, if the user tries to invalid-bump a third, a fourth, a fifth time, etc...? |
It is working fine for me for every time, not just the 2nd. I have been testing it for about 4 days and it has worked every time.
|
Quote:
|
can this be setup to affect only certain subforums?
|
Quote:
|
When i translate this very nice peace of a hack, all is translated but Days, Hours Minutes and seconds
how do i translate these, when i search my board these words are translated to dutch (dag(en) etc.) where do i change these words Code:
U mag niet binnen de vastgestelde tijd uw eigen aanbieding omhoog sturen. Wacht 2 Day(s), 22 Hour(s), 43 Minute(s), 10 Second(s) voordat u uw advertentie opnieuw kunt opwaarderen |
That text currently inside the core code:
PHP Code:
regards. |
Installed. + I changed the phrase so it reads "You are not allowed to reply to your own thread before the minimum allowed time has passed. You may try edit your last post. Please wait , 21 Hour(s), 6 Minute(s), 10 Second(s) before attempting to reply to your own thread.", to stop spammers.
:) Thanks |
All times are GMT. The time now is 05:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|