PDA

View Full Version : BB Code Enhancements - BB Code Filter


Vitaly
06-10-2010, 10:00 PM
vb3 version here (https://vborg.vbsupport.ru/showthread.php?t=233858)

This mod adds group permissions to disable some bbcodes:
font
color
sizeReason is simple: prevent regular users to make abusing posts. Mod works everywhere: in posts, blogs, visitor messages, social groups.

It works only in defined areas, and doesn't conflicts with other mods and announces. You can use all tags there without limits.

Disabled tags are removed carefully:
If user manually type disabled tags, those are cutted at message save.
For old messages, disabled tags are cutted at page parse.See pictures for possible settings.

This mod is developped here: http://github.com/rcdesign/vb-bbcode_filter . Patches are welcome.

tafreeh
06-11-2010, 05:38 AM
that is awesome.. but can you please all bbcode ... please....

Vitaly
06-11-2010, 05:58 AM
I try to keep this mod minimalistic. Other codes can be disabled globally, or are not abuseable.

If you think, that some codes are missed - plese. provide examples.

Dr.osamA
06-13-2010, 12:46 AM
installed + 5 stars + translate to Arabic

plzzz be nice and add it to 1st post

thannnnx man

Iron Star
07-17-2010, 07:02 AM
Hi, it could be very nice with [URL] to avoid abuseable links...

Vitaly
07-17-2010, 07:14 AM
Seems, you can disable urls for novice usergroups & filter some by autoreplace setting. That's basic vb functionality

countersweet
09-29-2010, 09:04 AM
it's a pity you can't disable any bbcode. i guess i will have to hack myself in to make it work for my custom bbcodes

could you give a hint on which lines do we need to alter?

Alucard^
10-03-2010, 07:53 AM
Yes... i remember when i used a hack with bbcodes permissions but with a lot of bugs... and now in this moment doesn't exist a hack to do that for vb4 if am not wrong. Too bad that vbulletin doesn't have permissions to bbcodes by default.

Sorry for my english.

countersweet
10-04-2010, 05:38 PM
and it seems it's not even possible for article comments, see this bug https://vborg.vbsupport.ru/showthread.php?p=2104799#post2104799

Vitaly
12-14-2010, 03:45 PM
Updated version to 0.4. It reduces SQL queries count.