
10-05-2008, 09:26 AM
|
|
|
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by komirad
To block images (I also changed the post needed to 3):
Line 18
Code:
if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
Line 29:
Code:
if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'@') or stristr($pagetext,'[at]') or stristr($pagetext,'http://')))
and Line 40, change the error message:
Code:
<phrase name="error_nourlallowed"><![CDATA[You are only allowed to post URLs or images you have made 3 posts or more.]]></phrase>
|
correct but thehack should not be advertised as it blocks images while it does not ....
|