TinyPortal

Development => Support => Topic started by: everwinter on September 11, 2007, 03:00:00 PM

Title: disable bbc code in shoutbox?
Post by: everwinter on September 11, 2007, 03:00:00 PM
Is there any way to disable bbc code in the shoutbox? I am getting spam shouts using the url= codes.
I'm deleting them one by one as they appear, but it's getting tedious. I would rather disable bbs codes than make it for members only.
Title: Re: disable bbc code in shoutbox?
Post by: Ken. on September 11, 2007, 03:25:54 PM
AFAIK you will not be able to do that, so you may be stuck with the situation as long as you permit guests to shout.

You might try SMF to see if there is better info/answers there.
Title: Re: disable bbc code in shoutbox?
Post by: IchBin on September 11, 2007, 09:30:19 PM
I'm not sure how it works, but I think you can remove the doUBBC code from the shoutbox so that it don't parse BBC code. Open up TPortal.php and find this line:

$shouts .= doUBBC($myshout);

Change it to this:
$shouts .= $myshout;
Title: Re: disable bbc code in shoutbox?
Post by: everwinter on September 11, 2007, 11:42:50 PM
Thanks, I'll try that.
I really hate spammers, it seems like you can't escape from them sometimes. It's just a shame that because of them we have to look at disabling features that would otherwise be great.