Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced BBCode Permissions - now with custom BBcodes! Details »»
Advanced BBCode Permissions - now with custom BBcodes!
Version: 2.1, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 12-24-2005 Last Update: 02-25-2006 Installs: 155
DB Changes Uses Plugins
Additional Files  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-25-2005, 07:54 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Abe, I will be "donating" soon

Anyway to get custom BBcodes incorporated with it?
Reply With Quote
  #3  
Old 12-26-2005, 01:08 AM
patsalko patsalko is offline
 
Join Date: Nov 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is cool.
Reply With Quote
  #4  
Old 12-26-2005, 01:10 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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".
Reply With Quote
  #5  
Old 12-26-2005, 01:22 AM
apfparadise apfparadise is offline
 
Join Date: Jan 2005
Location: Northridge CA
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 12-26-2005, 01:26 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #7  
Old 12-26-2005, 01:44 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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'.
Reply With Quote
  #8  
Old 12-26-2005, 06:10 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This could be helpful on my forums. Thanks man!
Reply With Quote
  #9  
Old 12-26-2005, 09:14 AM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great, any change you'll also add support for custom bbcodes? I'd love to make some admin/mod-only bbcodes
Reply With Quote
  #10  
Old 12-26-2005, 10:55 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05695 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete