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 - Restrict Posting By Forum (https://vborg.vbsupport.ru/showthread.php?t=320912)

MarkFL 04-08-2016 04:40 PM

Quote:

Originally Posted by Stratis (Post 2568667)
Any hope to have an option, restrict and by threads ? :)

Do you mean to restrict the number of posts a user can make in certain threads?

Stratis 04-08-2016 04:54 PM

Yes, like this

Individual Threads Post Limits
will set the thread whose threadid is 2 to a limit of 10 posts
2|10

:)

KevinL 09-21-2016 06:16 PM

Hello,

This has been a great mod. Thank you for releasing this!

Question, Is there any way that it could be expanded to included different prefixes?

We have a few forums and they are mixed with a few different prefixes. We would want to allow how ever many posts/threads to certain prefixes while others are only allowed a certain number of posts/threads. So like in the Individual Forum Post Limits it would be for prefixes:

PrefixA/1
PrefixB/0 - unlimited? Or if a prefix isn't mentioned it is not included?
PrefixC/5

Could this be possible?

Thank you again Mark!

KevinL 09-23-2016 11:10 AM

Was doing some testing on a site and had to uninstall this mod. The settings in the option menu were gone but it was still listed in the products menu. When I reinstalled it all the options were still there and the changed phrases were still the same before the uninstall. I don't think this is getting uninstalled correctly. Just wanted to let you know.

Thanks for the great mod!

MarkFL 09-23-2016 12:05 PM

Quote:

Originally Posted by KevinL (Post 2576170)
Was doing some testing on a site and had to uninstall this mod. The settings in the option menu were gone but it was still listed in the products menu. When I reinstalled it all the options were still there and the changed phrases were still the same before the uninstall. I don't think this is getting uninstalled correctly. Just wanted to let you know.

Thanks for the great mod!

Did you actually uninstall it or just disable it instead? This product has no install/uninstall code so I don't see why there should be any issues when uninstalling. :)

KevinL 09-23-2016 02:33 PM

Quote:

Originally Posted by MarkFL (Post 2576174)
Did you actually uninstall it or just disable it instead? This product has no install/uninstall code so I don't see why there should be any issues when uninstalling. :)

Yeah I hit uninstall in the product page. When viewing the page the mod wasn't crossed out like when you disable a mod. It was strange.

KevinL 09-26-2016 11:33 AM

Getting this now when saving the settings of the mod:

Code:

PHP Warning: trim() expects parameter 1 to be string, array given in ..../includes/adminfunctions_options.php on line 1032

PHP Warning: trim() expects parameter 1 to be string, array given in ..../includes/adminfunctions_options.php on line 1032


MarkFL 09-26-2016 11:39 AM

There is no call to the PHP trim() function in this product's plugin hooked at "admin_options_processing."

KevinL 09-26-2016 11:41 AM

Very strange. It is the only place that error shows is when saving the settings of this mod..

MarkFL 09-26-2016 12:46 PM

I might have been hasty...the trim function giving the error must be in the "adminfunctions_options.php" script. However, when I save the settings for this product, which I tested after your post on it, I get no errors.


All times are GMT. The time now is 01:19 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.01364 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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