vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Cyb - Advanced Permissions Based on Post Count (https://vborg.vbsupport.ru/showthread.php?t=177704)

ETDC 08-12-2010 04:33 PM

Quote:

Originally Posted by G37Sam (Post 2082730)
I can't get this to work on vbulletin 4

Hardly surprising, given that it's for 3.7.X

G37Sam 08-12-2010 04:42 PM

Well is there one for vbulletin 4 +

ZapFlash 02-13-2011 06:14 PM

Hi, in the part of "Post Links/Images/e-mails" when i go to "Set post count requirements" and click in "For All Existing Forums", it sends me to the FAQ page of my forums, is that normal? where can i set the minimum messages of that specific part pf post links/images/email? the spammers are driving me crazy

russellw 04-29-2011 12:21 AM

Great mod.

I have one small issue - in our for sale area we use a form to ensure that all the required information is gathered but it looks as if when the form is posted it ignores the post count restrictions set for that area.

Any ideas?

Cheers
Russ

russellw 05-01-2011 12:52 AM

Issue resolved. For the benefit of anybody else experiencing a similar issue, the Forms Hack actually doesn't check forum permissions before or at submission time.

In the hook for the form find the following:

Code:

if ($_REQUEST['action'] == '')
{
  $_REQUEST['action'] = "form";
}

After it add:

Code:

$bbuserinfo = $vbulletin->userinfo;
if ($vbulletin->options['apboupc_global_enable'] AND $vbulletin->options['apboupc_forum'])
        {
        $forumperms = fetch_permissions($foruminfo['forumid']);
if ($vbulletin->userinfo['userid'] AND ($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostnew']) AND ($foruminfo[create_nb] !='0') AND ($foruminfo[create_nb] > $vbulletin->userinfo[posts]) AND (!is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['apboupc_forum_excludedgroups']))))
        {
eval(standard_error(fetch_error('error_postcount_too_low_create', intval($foruminfo['create_nb']), intval($vbulletin->userinfo['posts']))));
                }
                }

Cheers
Russ

z0diac 06-24-2011 08:17 PM

Quote:

Originally Posted by Hostboard (Post 1978632)
Confirmed not working on 3.8 Each time I try to set
For Individual Forums | For All Existing Forums I get thrown to the Smilies FAQ.

Wish it would work as I desperatly need it.

Thanks - I was just going to ask if it worked on 3.8

unfv 07-20-2011 01:55 AM

any news about the VB4 version of this mod?

HMBeaty 07-20-2011 01:59 AM

Quote:

Originally Posted by unfv (Post 2222704)
any news about the VB4 version of this mod?

Check his profile ;)

valdet 04-23-2012 10:21 AM

Valter,

I know this is an old thread, but if you have time, could you possibly add an option to prevent creating a signature based on post count.

This is a wonderful hack which I've been using for a long time, but as vBSEO Conditional Signatures hack seems not to be supported/discontinued anymore, a similar feature of your hack would be very welcome to many.

Thanks.

Christhug 06-10-2012 10:07 PM

It would be awesome if the option was added for voting on polls.


All times are GMT. The time now is 01: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.01870 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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