2011-09-10, 09:00 PM
Hi, fairly new to my BB and want to stop users from using the video tag
Found a couple of old posts saying that it can't be done but no other solution or workaround, so I thought I'd have a crack.
No, you can't stop people using the [video] tag, however, what you CAN do is change the video to a url and have it open in a new window, or you could just regex it out completely if you wanted to.
Under ACP > MyCode, create a new one
Regular expression you need is
Job done!
I'm not sure if this is common knowledge (probably is, but I couldn't find it!)
Found a couple of old posts saying that it can't be done but no other solution or workaround, so I thought I'd have a crack.
No, you can't stop people using the [video] tag, however, what you CAN do is change the video to a url and have it open in a new window, or you could just regex it out completely if you wanted to.
Under ACP > MyCode, create a new one
Regular expression you need is
\[video=(.*?)](.*?)\[/video]
Replacement you need is <a href="$2" target=_blank">$2</a>
Job done!
I'm not sure if this is common knowledge (probably is, but I couldn't find it!)