PDA

View Full Version : Add custom BB code tags in signature permissions?


dutchbb
10-20-2006, 08:15 AM
Hello,

How can we prevent the use of custom made BB code tags in signatures?

thanks

dutchbb
01-17-2007, 10:29 AM
bump

WhaLberg
01-17-2007, 10:46 AM
AdminCP -> Usergroups -> Select the Usergroup -> 15th option.

dutchbb
02-07-2007, 09:42 AM
Yes I know where the sig permissions are, but how can we add custom sig permissions. Like when you want to prevent the use of [ SPOILER ] tags in signatures for ex.

dutchbb
06-03-2007, 03:57 PM
bump

Eikinskjaldi
06-03-2007, 11:10 PM
The way we did it was to mod class_bbcode.php

at the top of the file...

//Disallow custom tags in sigs 13/12/06
var $isSig = false;



in function parse

if ($forumid == 'signature') {
$this->isSig = true;
} else {
$this->isSig = false;
}



in custom tags

if $this->isSig
return $text;

dutchbb
06-08-2007, 04:09 PM
Can you explain it in detail where to add these please. Thank you

dutchbb
07-21-2007, 08:26 PM
Bump