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)
-   -   Miscellaneous Hacks - VSa - Advanced Permissions Based on Post Count (https://vborg.vbsupport.ru/showthread.php?t=233979)

fxdigi-cash 09-22-2014 04:27 AM

I think only PM so far doesn't work since it passes the condition or whatever post limit you set to.

Other than that the mod works fine. Thanks for the great work.

All we need now is to fix the PM bypass issue.

Update: it is possible to use this mod to substitute PM sending with min posts count :https://vborg.vbsupport.ru/showthread.php?t=235287

this way both mods work to complete each other!!

m7sen 11-01-2014 02:03 AM

i have problem ween i go to For All Existing Forums

its give me this error

PHP Code:

Fatal errorCall to undefined function render_navbar_template() in /home/********/public_html/vb/misc.php(100) : eval()'d code on line 171 

and if i send pm

its give me this error

PHP Code:

PHP User Warningtrim() expects parameter 1 to be string, array given in ..../private.php(1172) : eval()'d code on line 21 


can anyone help me
my forum vb3.8.8

ozzy47 11-01-2014 02:17 AM

This mod is for vB4, so it will not work in vB3, you need to use this one, https://vborg.vbsupport.ru/showthread.php?t=201285

tanzeelniazi 01-27-2015 10:03 AM

Working Post Count in vb 4.2.0 perfect
I never need or tested other futures and i use only post count he is fine :)
1 Thing i need to change
https://vborg.vbsupport.ru/external/2015/01/1.png?1
Read More Here (I want to add the Link and add some more words)
Example:
Make Posts Here
etc Help Please Ozzy sir

tim.liton 12-08-2015 06:16 PM

When a user under the post limit is trying to send an email am getting this error:

PHP Code:

PHP Warningtrim() expects parameter 1 to be string, array given in ..../private.php(1309) : eval()'d code on line 19 

Any idea what is causing it?

Bugst3r 09-04-2016 10:50 AM

Fix for the Postcount Bug:

Edit Plugin "VSa - APBOUPC - 35 (PI)"

Find

PHP Code:

if (trim($recipient) == '')
                    {
                        continue;
                    }
                    if (!
in_array(trim($recipient), $apboupc_allowedrec))
                    {
                        
standard_error(fetch_error('error_postcount_too_low_pm'$vbulletin->options['apboupc_pm_amount'], $vbulletin->userinfo[posts], $allowed_recipients));
                    } 


Replace with


PHP Code:

if (trim($recipient['username']) == '')
                    {
                        continue;
                    }
                    if (!
in_array(trim($recipient['username']), $apboupc_allowedrec))
                    {
                        
standard_error(fetch_error('error_postcount_too_low_pm'$vbulletin->options['apboupc_pm_amount'], $vbulletin->userinfo[posts], $allowed_recipients));
                    } 

Save and check whether it works. :)

john7911 10-14-2016 10:18 AM

Thanks for this mod ;)

oldfan 03-30-2023 12:08 AM

Works in 4.2.5. 7.2 php thanks


All times are GMT. The time now is 03:57 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.02953 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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