Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
JD - Number of new threads limit Details »»
JD - Number of new threads limit
Version: 1.0.2, by Jorandh Jorandh is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 01-27-2015 Last Update: 02-22-2015 Installs: 13
Uses Plugins
Translations  
No support by the author.

What is this mod all about?
With this mod you can limit the number of new threads started by a user for X days. As an example, we use it for a sale section where members sell goods. Non-VIP users are limited to post 3 new topics(sales) for 30 days in the sale forum. However, you can also use this as an anti-spam where you can limit

How to install:

- Download attachment
- AdminCP-> Product Management-> Add/Import product: Import file JD - Limit sales per 30 days.xml


How to use:
You can enable/disable the plugin within your AdminCP settings, enable it from there and fill the restrictions form like this:

Code:
{forum ID's seperated by comma if needed}|{max threads}|{for X days}
Each line uses the limits, so if you add multiple forum ID's to one line it'll count the amount of topics created in the forums in total and restrict posting any new. You can use multiple lines for multiple restriction options. A working example from our board:

Code:
2,3|2|30
8|3|30
First line is two forums where you can create a max of 2 topics in 30 days. The second line is one forum with a restriction of 3 topics on 30 days.

You can exlude usergroups by adding them to the ignore user group list, sperated by a comma (ie. 5,6,7).


Version history
  • 1.0.0 - First release
  • 1.0.1 - Updated search query to not conflict with other plugins
  • 1.0.2 - Bugfix in query


Support
Please use this thread to ask questions or to report bugs, we'll support this plugin from here. You want to support us? Buy us a cup of coffee

Download Now

File Type: xml JD - Limit sales per 30 days v1.0.0.xml (4.3 KB, 14 views)
File Type: xml JD - Limit sales per 30 days v1.0.1.xml (4.3 KB, 15 views)
File Type: xml JD - Limit sales per 30 days v1.0.2.xml (4.3 KB, 33 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Alan_SP, ozzy47, RWI

Comments
  #12  
Old 01-10-2016, 06:05 PM
jrpark22000 jrpark22000 is offline
 
Join Date: Jul 2014
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Pretty cool, thanks for saving my mods and I a bunch of time. If you ever get the time and want to code in a second ability for VIP or paid members to have a different threshhold, it'd be greatly appreciated.
Reply With Quote
Reply

Thread Tools

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 07:58 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.03716 seconds
  • Memory Usage 2,229KB
  • Queries Executed 19 (?)
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_code
  • (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
  • (1)pagenav_pagelink
  • (2)post_thanks_box
  • (3)post_thanks_box_bit
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (3)postbit_attachment
  • (2)postbit_onlinestatus
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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