Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Prevent Bump on Forum Threads Before X Time Details »»
Prevent Bump on Forum Threads Before X Time
Version: 1.0.1, by IdanB IdanB is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 05-29-2009 Last Update: 06-19-2009 Installs: 71
DB Changes Uses Plugins
 
No support by the author.


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:
  • Goto: AdminCP->Plugin System->Manage Products : Choose "Add/Import Product" and import this product xml (product-prevent_bump.xml)
3. Upgrade From Older Version:
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"
  • Enabled ? - Yes/No
  • Minimum time before thread bump (#d #h #m #s) - Text
5. Known Bugs:
- 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

Download Now

File Type: xml product-prevent_bump.xml (9.7 KB, 310 views)

Screenshots

File Type: jpg admin_options.jpg (17.6 KB, 0 views)
File Type: jpg redirect_error.jpg (36.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-01-2009, 05:44 AM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 06-01-2009, 05:06 PM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 06-02-2009, 12:49 AM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! Thanks. Installed bud.
Reply With Quote
  #15  
Old 06-03-2009, 05:36 AM
jaymanfromTFX jaymanfromTFX is offline
 
Join Date: Jan 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you set what forums you want to use this in or is it just set for every forum?
Reply With Quote
  #16  
Old 06-03-2009, 12:22 PM
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Location: Portugal
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jaymanfromTFX View Post
Can you set what forums you want to use this in or is it just set for every forum?
Please read carefully what IdanB says on the first post:

Quote:
Originally Posted by IdanB
4. Configuration:
Once installed, the "Forum Manger" under admincp will have extra section for each forum:
Section name: "Prevent Threads Bump"

* Enabled ? - Yes/No
* Minimum time before thread bump (#d #h #m #s) - Text
Reply With Quote
  #17  
Old 06-03-2009, 07:44 PM
jaymanfromTFX jaymanfromTFX is offline
 
Join Date: Jan 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 06-05-2009, 07:31 AM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jaymanfromTFX View Post
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.
Note it will only prevent to bump threads that has no reply (new htread).
Should there be any old thread with already more than 1 post in it, it will not prevent it to be bumped.
Reply With Quote
  #19  
Old 06-05-2009, 07:59 AM
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Location: Portugal
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by IdanB View Post
Note it will only prevent to bump threads that has no reply (new htread).
Should there be any old thread with already more than 1 post in it, it will not prevent it to be bumped.
Dear IdanB,

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?
(that is so very much important for me! )


Thank you so very much!
Reply With Quote
  #20  
Old 06-05-2009, 08:34 AM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vithorius View Post
Dear IdanB,

I was 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?
(that is so very much important for me! )


Thank you so very much!
Problem is if you do that, he wouldnt be able to reply to someone, and i'm not sure this is desired effect.
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.
Reply With Quote
  #21  
Old 06-05-2009, 08:55 AM
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Location: Portugal
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear IdanB,

Please excuse my poor english (as my main language is portuguese... )

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:
Originally Posted by IdanB View Post
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.
Ok! I believe that it would be simple to do that...

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!)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05670 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete