vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced BBCode Permissions - now with custom BBcodes! (https://vborg.vbsupport.ru/showthread.php?t=103747)

Abe1 12-24-2005 10:00 PM

Advanced BBCode Permissions - now with custom BBcodes!
 
Advanced BBCode Permissions 2.1


About this hack:
This hack will give you advanced control on BBCode. You will be able to define for each usergroup what BBCode they may or may not use. This hack works now for both standard AND custom BB code!

Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 1
  • Time to install: 1 minute max
Updates:

Version 1.0 (12/25/05):
  • Initial release of this hack

Version 2.0 (2/24/06):
  • [ADDED] Added settings for custom BBCode!

Version 2.1 (2/25/06):
  • [FIXED] Fixed a few bugs including the settings for custom BBcodes not working.

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.
https://vborg.vbsupport.ru/external/2010/02/12.gif

Daniel 12-25-2005 07:54 PM

Thank you Abe, I will be "donating" soon ;)

Anyway to get custom BBcodes incorporated with it?

patsalko 12-26-2005 01:08 AM

This is cool.

akanevsky 12-26-2005 01:10 AM

Good job. Very neatly done - the code, that is - and the interface too. Keep it up.

EDIT: One minor thing: I would call the actual admincp section "Enable BBCode Override for This Usergroup" - because "override" is easier to understand than "advanced options".

apfparadise 12-26-2005 01:22 AM

This is interesting. Is there a way to use this to, for example, not let guests (unregistered users) see IMG images? Or is it just for "using" those tags?

akanevsky 12-26-2005 01:26 AM

Quote:

Is there a way to use this to, for example, not let guests (unregistered users) see IMG images?
I believe that if this hack works correctly, guests will not be able to see images inside IMG tags if the tag is set to off for guest usergroup. They will, however, be able to see the raw-text - which will essentially reveal the link or w/e. If you really want to hide something from guests, use HIDE Hack Resurrection (by posts=0 to hide stuff from guests) :)

Abe1 12-26-2005 01:44 AM

Quote:

Originally Posted by apfparadise
This is interesting. Is there a way to use this to, for example, not let guests (unregistered users) see IMG images? Or is it just for "using" those tags?

This hack des not control IMG. (at least not yet) It contrals the usage of BB Code that is in the main vb settings group 'bb code settings'.

Snake 12-26-2005 06:10 AM

This could be helpful on my forums. Thanks man!

Yorixz 12-26-2005 09:14 AM

This is great, any change you'll also add support for custom bbcodes? I'd love to make some admin/mod-only bbcodes ;)

akanevsky 12-26-2005 10:55 AM

Quote:

This hack des not control IMG.
Since there is no IMG option in vBulletin, I don't think there is any point in adding it to your hack. Besides, an IMG can always be opened by copy-pasting the URL.. :)

As for custom admincp-added bbcodes - yes that would be great :)
And it would also be great if you could make a separate textarea where you could specify a list of custom bbcodes added into code via hacks - to be later parsed in your hack via a regex... :)


All times are GMT. The time now is 08:45 AM.

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.02271 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete