vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - JD - Number of new threads limit (https://vborg.vbsupport.ru/showthread.php?t=316978)

Jorandh 01-27-2015 10:00 PM

JD - Number of new threads limit
 
1 Attachment(s)
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 ;)

Manoel J?nior 01-28-2015 10:43 AM

Thanks!!!

RWI 01-28-2015 11:13 AM

This has saved my moderators a hell of a lot of time and effort. It was a trial to track who had sold what and ensuring people stayed within the sales limit took a lot of time checking back thru sales and now this does it for them. Simple but soooo handy!

Thangvip9x 01-29-2015 12:02 AM

Please screenshots

Alan_SP 01-29-2015 04:19 AM

Thanks, this looks very useful.

Jorandh 01-29-2015 05:51 AM

Quote:

Originally Posted by Thangvip9x (Post 2535092)
Please screenshots

Will be added as soon as possible. At this point we just want feedback to make sure everything works properly and doesn't affect other products. The next release won't be a beta and will include screenshots.

Thangvip9x 01-30-2015 12:11 AM

Quote:

Originally Posted by Jorandh (Post 2535121)
Will be added as soon as possible. At this point we just want feedback to make sure everything works properly and doesn't affect other products. The next release won't be a beta and will include screenshots.

Thank you very much!

Jorandh 02-01-2015 03:57 PM

So far I didn't hear about any problems/bugs. We are working on the final release with a few additional functions and hope to release it next week. Thanks all so far for downloading and testing.

Jorandh 02-18-2015 05:56 AM

Some minor updates and here's the first release!

Jorandh 02-23-2015 05:45 AM

Updated to 1.0.2 - bug fixed in query.


All times are GMT. The time now is 11:42 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.10322 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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