
02-16-2006, 12:30 PM
|
 |
|
|
Join Date: Sep 2004
Location: chicago
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by JumpD
******************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
|
Thank you Jump!!!
|