vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - BB Code Filter (https://vborg.vbsupport.ru/showthread.php?t=244385)

Vitaly 06-10-2010 10:00 PM

BB Code Filter
 
1 Attachment(s)
vb3 version here

This mod adds group permissions to disable some bbcodes:
  • font
  • color
  • size
Reason 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

1 Attachment(s)
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/showthrea...99#post2104799

Vitaly 12-14-2010 03:45 PM

Updated version to 0.4. It reduces SQL queries count.


All times are GMT. The time now is 08:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01054 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete