vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Prevent Bump on Forum Threads Before X Time (https://vborg.vbsupport.ru/showthread.php?t=214916)

IdanB 05-29-2009 10:00 PM

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:
  • 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 :)

IdanB 05-30-2009 03:41 PM

Changelog:

20 Jun 2009 11:31 - Version 1.0.1 Released:
  • 2nd attempt to reply again after already replied will require to meet with x time rule again.

CarpHunter 05-30-2009 09:47 PM

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?

vithorius 05-31-2009 01:25 AM

Dear IdanB,

THANK YOU SO VERY VERY MUCH!!!


:up: :up: :up: :up:

twitch 05-31-2009 03:51 AM

awesome!

IdanB 05-31-2009 04:03 AM

Quote:

Originally Posted by CarpHunter (Post 1820311)
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?

Yes.
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.

lm3a.net 05-31-2009 05:51 AM

WoW

Installed

thank u,,

bigcurt 05-31-2009 06:09 AM

Can we configure this by usergroup? That way admins can bump whenever they like.

IdanB 05-31-2009 07:08 AM

Quote:

Originally Posted by bigcurt (Post 1820497)
Can we configure this by usergroup? That way admins can bump whenever they like.

Not available in current version, but it's already written on the TO-DO's list.
This will be available on next revision update.

bigcurt 06-01-2009 05:43 AM

Quote:

Originally Posted by IdanB (Post 1820517)
Not available in current version, but it's already written on the TO-DO's list.
This will be available on next revision update.

Thanks bud.


All times are GMT. The time now is 03:00 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.01210 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete