Thread: Ban features
View Single Post
Old 12-30-2004, 04:02 PM   #14
rAdoN
Green Mole
 
Join Date: Oct 2004
Posts: 27
awk - you not understand - make the FORBIDDEN_EXTENSIONS regex you want

PHP Code:
// no links with /guestbook/ /forum/ /cgi-bin/ /webring/ /affiliates/
// no links ending with .cgi .php .asp .pl .rm .ico .cab ...
define('FORBIDDEN_EXTENSIONS','(/guestbook/|/forum/|/cgi-bin/|/webring/|/affiliates/|\.(cgi|php|asp|pl|rm|ico|cab|swf|css|gz|z|tar|zip|tgz|msi|arj|zoo|rar|r[0-9]+|exe|bin|pkg|rpm|deb|bz2)$)'); 
you need to go admin update - delete links you no want - run the cleans - edit FORBIDDEN_EXTENSIONS - relax - index after that

ps - what is not clear
__________________
rAdoN was here

Last edited by rAdoN; 12-30-2004 at 04:14 PM.
rAdoN is offline   Reply With Quote