vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forbid Users from Posting Links or Images if They Have Fewer than 15 Posts (https://vborg.vbsupport.ru/showthread.php?t=96018)

Paprika 12-04-2007 08:26 PM

I installed it on my 3.6.8 board and YES it does work.

Gez 01-10-2008 09:06 AM

Excellent, thanks!

kronnos 01-22-2008 03:51 PM

IS it possible to also use this hack to prevent users from using the private message or making posts in certain forums until they have the required number of posts? Also, anyone tried this for 3.6.7?

Chadi 02-21-2008 08:59 PM

This is not working any longer for me, not sure why. Plugin is active too.

postdata_presave

Code:

global $vbulletin;
        $pagetext =& $this->fetch_field('pagetext', 'post');
        if (($vbulletin->userinfo[posts] < 50) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or
stristr($pagetext,'.com') or
stristr($pagetext,'.net') or
stristr($pagetext,'.org') or
stristr($pagetext,'http://')))
    {
            //eval(standard_error(fetch_error('error_nourlallowed')));
                $this->error('error_nourlallowed');
                $return_value = false;
    }


threadfpdata_presave

Code:

global $vbulletin;
        $pagetext =& $this->fetch_field('pagetext', 'post');
        if (($vbulletin->userinfo[posts] < 50) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
    {
            //eval(standard_error(fetch_error('error_nourlallowed')));
                $this->error('error_nourlallowed');
                $return_value = false;
    }

It used to work.

naomi 02-26-2008 06:07 PM

Sorry Chadi, I am a newbie so I don't have any advice.

I just installed it on 3.6.8 and it works just fine. Thank you :)

Chadi 03-10-2008 03:24 AM

Can anyone else get this working?

pmkb 03-23-2008 02:42 PM

This mod has prevented two raids on one of my forums this week. Outstanding. :)

Chadi 03-23-2008 04:33 PM

If anyone can get this working for 3.6.8 that would be great.

pmkb 03-27-2008 01:35 PM

It's working fine on my 3.6.8 forum.

Alien 03-30-2008 08:52 PM

Anyone get this one working with 3.7?


All times are GMT. The time now is 06:11 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.01222 seconds
  • Memory Usage 1,732KB
  • 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
  • (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