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

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.
Reply With Quote
  #23  
Old 06-07-2009, 05:27 AM
jaymanfromTFX jaymanfromTFX is offline
 
Join Date: Jan 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!! i got it to work.Will be looking forward to what else you do with this mod.
Reply With Quote
  #24  
Old 06-07-2009, 03:40 PM
TFEX TFEX is offline
 
Join Date: May 2008
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by IdanB View Post
...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.
This is exactly the functionality I am looking for. Did this get uploaded already as mentioned, or are we still waiting on the change?

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?
Reply With Quote
  #25  
Old 06-07-2009, 04:44 PM
jaymanfromTFX jaymanfromTFX is offline
 
Join Date: Jan 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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)
Reply With Quote
  #27  
Old 06-08-2009, 01:23 AM
jaymanfromTFX jaymanfromTFX is offline
 
Join Date: Jan 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

modification updated - now 2nd attempt to reply again after already replied will require to meet with x time rule again.
Reply With Quote
  #29  
Old 06-21-2009, 08:13 PM
jaymanfromTFX jaymanfromTFX is offline
 
Join Date: Jan 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #30  
Old 06-22-2009, 02:57 PM
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
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.
it's probably the "daylight saving time feature" thingy. perhaps i'll allow it as admincp feature on next version.
Reply With Quote
  #31  
Old 06-22-2009, 04:12 PM
jaymanfromTFX jaymanfromTFX is offline
 
Join Date: Jan 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sense, seems to be working great thanks.Nice mod!
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 10:24 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
  • Page Generation 0.04935 seconds
  • Memory Usage 2,336KB
  • 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
  • (2)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
  • (4)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