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
  #42  
Old 07-05-2009, 06:19 PM
ageurtse ageurtse is offline
 
Join Date: Apr 2009
Location: almelo
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do i find this code ?
Reply With Quote
  #43  
Old 07-05-2009, 06:30 PM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ageurtse View Post
where do i find this code ?
Inside plugin called "Prevent bump".
Should there be problem for you to change code, please allow few days for next rev update, i'll have it as phrase, so it's easy for you to translate.
Reply With Quote
  #44  
Old 07-06-2009, 05:10 AM
ageurtse ageurtse is offline
 
Join Date: Apr 2009
Location: almelo
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no that is not a issue, i can change it. thanks
Reply With Quote
  #45  
Old 07-17-2009, 01:43 PM
ageurtse ageurtse is offline
 
Join Date: Apr 2009
Location: almelo
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have i problem, when i uninstalled this mod and nexttime i wish to alter a usergroup i get this error message.
what could be done to prevent this error happend

Database error in vBulletin 3.8.2:

Invalid SQL:
UPDATE vb3_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Moderators',
`description` = '',
`usertitle` = 'Beheerder',
`opentag` = '<FONT COLOR=\"#B113DE\">',
`closetag` = '</FONT>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '16777215',
`genericpermissions` = '1559230459',
`attachlimit` = '0',
`pmquota` = '500',
`pmpermissions` = '7',
`pmsendmax` = '20',
`pmthrottlequantity` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '1',
`genericpermissions2` = '1',
`genericoptions` = '63',
`profilepicmaxwidth` = '400',
`profilepicmaxheight` = '400',
`profilepicmaxsize` = '565535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '235263',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '20000',
`sigmaxrawchars` = '1400',
`sigmaxchars` = '700',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '0',
`albumpermissions` = '255',
`albumpicmaxwidth` = '2048',
`albumpicmaxheight` = '2048',
`albumpicmaxsize` = '10000000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '63',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '65535',
`maximumsocialgroups` = '5',
`groupiconmaxsize` = '565535',
`bumpthreadspermissions` = '0',
`bumpthreadslimit` = '',
`itraderpermissions` = '3'
WHERE usergroupid=7;

MySQL Error : Unknown column 'bumpthreadspermissions' in 'field list'
Error Number : 1054
Request Date : Friday, July 17th 2009 @ 04:40:32 PM
Error Date : Friday, July 17th 2009 @ 04:40:32 PM
Script :
Referrer :
usergroupid=7
IP Address : xxxx
Username : xxxx
MySQL Version : 4.1.15-Debian_0.dotdeb.1-log
Reply With Quote
  #46  
Old 07-17-2009, 03:55 PM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That problem could NOT have been caused by my mod in under ANY situtation.

If you look into xml product you'll see i DONT have ANY mention of field named 'bumpthreadspermissions' (either in SELECT or ALTER query).

My mod INSTALLER adds 2 field: prevent_bump_enabled` and `prevent_bump_min_time`
My mod UNISNTALLER remove these 2 (and ONLY these 2).

Looking in the mysql error you've posted here - it's looks something (or some one) has deleted that column from your table db, but under no way that could be resulted from my mod.
Reply With Quote
  #47  
Old 07-17-2009, 04:55 PM
ageurtse ageurtse is offline
 
Join Date: Apr 2009
Location: almelo
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oke, sorry i thought it was this mod. after searching a bit more and googled for the right words i vind the solution.

thanks.

i deinstalled this mod because users who sold there good thay couldn't add a message within three days that is has been sold. they have to ask an administrator to do this.

or......

you could make it so that when the owner gets an popup screen where he can select some options, like sold, reserverd or somthing else.
and this is added to the post.

becaus of the lack of this it is inusable for us.
Reply With Quote
  #48  
Old 07-24-2009, 11:58 PM
OsideRida06 OsideRida06 is offline
 
Join Date: Apr 2008
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks this is perfect for my forums. Installed!
Reply With Quote
  #49  
Old 08-09-2009, 03:18 PM
Asland Asland is offline
 
Join Date: Jan 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really need this hack, it's something I've been looking for almost 3+ years now. Only a slight problem for us though if maybe you could add this to the functionality. We only allow 1 post for the user in 24 hours, regardless if someone responds to it or not. If we could limit it to just 1 post every 24 hours for the thread that would be wonderful. Right now it's catching just a few, but we have a very very active forum so most of our threads get responded to. Which means that someone is almost guaranteed to get a response from someone else and it makes this hack not as effective as it could be for our forums.

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

@asland - I'll add it as feature for next rev update.
Reply With Quote
  #51  
Old 09-16-2009, 11:10 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance of an update soon? Thanks.
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 01:19 AM.


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.05078 seconds
  • Memory Usage 2,339KB
  • 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
  • (1)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