L3010
New Member
Posts: 49
inherit
264353
0
Mar 4, 2023 7:57:32 GMT -8
L3010
49
May 2021
l3010
|
Post by L3010 on Jul 11, 2022 8:20:19 GMT -8
Hi! I want to disable the ability to use BBCode in the shoutbox.
Can i do this and in that case how can i do it?
Thanks, Leo
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,986
December 2005
horace
Wormo's Mini-Profile
|
Post by Chris on Jul 15, 2022 17:49:26 GMT -8
You can use CSS to hide the shoutbox format buttons
.shoutbox_form ul.tools { display: none; }
but that won't prevent anyone from just typing out the BBCode by hand.
Going further down the rabbit hole you could write a script to intercept each time a shout is sent and scrub it for BBCodes but that is also not foolproof since there might be legitimate uses for square brackets and also being javascript can definitely be circumvented. It would be like putting up crime scene tape warning others about crossing the line but in the end there is really nothing physically preventing them from doing so, a note saying the same would be just as effective since both would depend on the consequences handed down.
|
|