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)

dethfire 02-13-2006 03:52 AM

can you add no PM to this too?

amykhar 02-13-2006 09:44 AM

You could, but I'm not going to because I don't need that feature.

Code Monkey 02-14-2006 02:04 AM

Quote:

Originally Posted by bondjetta
Has anyone else noticed that this hack causes the Article Bot hack to stop running? Any ideas why? My article bot has 130+ posts so it's not a post count issue...thanks :)

You are absolutely correct, it does seem to shut down articlebot.

bondjetta 02-14-2006 01:00 PM

Quote:

Originally Posted by JumpD
You are absolutely correct, it does seem to shut down articlebot.

any hope of finding a fix? ;) I love this feature (trolls, porn spammers, etc) but i also love articlebot! :D

amykhar 02-14-2006 01:11 PM

I don't use articlebot. It's going to be up to a user who uses both of these mods to find a fix.

bondjetta 02-14-2006 01:13 PM

Quote:

Originally Posted by amykhar
I don't use articlebot. It's going to be up to a user who uses both of these mods to find a fix.

i know, you already said that, hence why i quoted Jump D :)

amykhar 02-14-2006 01:18 PM

Quote:

Originally Posted by bondjetta
i know, you already said that, hence why i quoted Jump D :)

oops. Sorry :)

bondjetta 02-14-2006 01:19 PM

Quote:

Originally Posted by amykhar
oops. Sorry :)

no problem! I know it's not worth trying to figure out if you aren't using AB...and i'm patient so I'll wait till either it figures itself out or someone else gets fed up ;) lol

Code Monkey 02-14-2006 01:20 PM

Quote:

Originally Posted by bondjetta
any hope of finding a fix? ;) I love this feature (trolls, porn spammers, etc) but i also love articlebot! :D

It could be because articlebot does not use sessions and cookies. But you should probably discuss it over there. We don't want to Hijack amykhar's thread. ;)

Code Monkey 02-16-2006 03:09 AM

******************HACK*******************

If you are using my Articlebot hack you will need to implement this hack to amykhar's so that the two can coexist. You should probably implement it if you want to ensure it will not interfere with any automated posting script.

Simply change the plugins so they are wraped in this if clause that checks if the post/thread is being made by human or bot.

replace the code in the plugins with:

PHP Code:

if(!SKIP_SESSIONCREATE)
{
    global 
$vbulletin;
    
$pagetext =& $this->fetch_field('pagetext''post');
    if ((
$vbulletin->userinfo[posts] < 15) 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;
    }


Enjoy

Jump


All times are GMT. The time now is 04:56 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.01334 seconds
  • Memory Usage 1,748KB
  • 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_php_printable
  • (6)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