TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 488
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 113
  • Total: 113

disable bbc code in shoutbox?

Started by everwinter, September 11, 2007, 03:00:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

everwinter

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.

Ken.

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.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

IchBin

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;

everwinter

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.