Quote:
Originally posted by Dark Shogun
Can you make it so it only works with the registered user group because my admins, mods, and super mods can post any. 
Dark Shogun
|
Your staff have less than the minimum post count required???
Easy fix...
In BOTH newthread.php AND newreply.php, find:
PHP Code:
$allowurl = 15;
if($bbuserinfo[posts] < $allowurl and strstr($message,'[url]')) {
eval("standarderror(\"".gettemplate("error_nourlallowed")."\");");
exit;
}
Change it to:
PHP Code:
if ($bbuserinfo[usergroupid]!=5 or $bbuserinfo[usergroupid]!=6 or $bbuserinfo[usergroupid]!=7) {
$allowurl = 15;
if($bbuserinfo[posts] < $allowurl and strstr($message,'[url]')) {
eval("standarderror(\"".gettemplate("error_nourlallowed")."\");");
exit;
}
}
Make sure you change the $allowurl amount to suit your site.
Again, I am very surprised that you have staff members who do not reach the minimum post count for your site.