In add.cgi under if ($status eq "ok") {
try adding something like......
my @bad = qw( porn sex bla );
if (($rec{'URL'} or $rec{'Title'}) =~ /$_/i) {
$found = 1;
}
}
&site_html_add_failure("No adult sites please") and return;
}Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
try adding something like......
Code:
my $found; my @bad = qw( porn sex bla );
Code:
foreach (@bad) { if (($rec{'URL'} or $rec{'Title'}) =~ /$_/i) {
$found = 1;
}
}
Code:
if ($found == 1) { &site_html_add_failure("No adult sites please") and return;
}
Installations:http://wiredon.net/gt/