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
  #137  
Old 03-24-2007, 01:19 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a reason why [highlight], [img], [quote], [noparse], [sigpic], and [attach] aren't included in the Advanced Permissions area?

I'm pretty sure you can still do these, you just may need to use the hook bbcode_parse_start instead.
Reply With Quote
  #138  
Old 03-24-2007, 06:49 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just realized this when I started viewing the forum as a guest. This hack is written so that if the logged in user doesn't have permission then they can't VIEW those BB-codes parsed. However, they can still include them in posts themselves, and users who do have permission to use them, will then see the parsed code posted by the disallowed users.

I see this as a big security risk depending on the BB-Code in question.

I developed a fix for this, so that vBulletin standard BB-Codes also work correctly. Will post later tonight, I have to run right now.
Reply With Quote
  #139  
Old 03-24-2007, 11:36 PM
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 thincom2000 View Post
I just realized this when I started viewing the forum as a guest. This hack is written so that if the logged in user doesn't have permission then they can't VIEW those BB-codes parsed. However, they can still include them in posts themselves, and users who do have permission to use them, will then see the parsed code posted by the disallowed users.

I see this as a big security risk depending on the BB-Code in question.

I developed a fix for this, so that vBulletin standard BB-Codes also work correctly. Will post later tonight, I have to run right now.
Please use the vb3.6 for support. I dont even remember how this one runs. I totally re-wrote the hack for vb3.6
Reply With Quote
  #140  
Old 05-08-2007, 08:36 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay ...thanks bro....
Reply With Quote
  #141  
Old 07-31-2007, 05:03 PM
intricatic intricatic is offline
 
Join Date: Apr 2007
Location: Florida
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1 View Post
You have to speek to the person who configured your server. Tell them to add the BC math library to PHP.
In other words, add bcmath flag to gentoo's make.conf and recompile php?
Reply With Quote
  #142  
Old 08-01-2007, 10:55 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 intricatic View Post
In other words, add bcmath flag to gentoo's make.conf and recompile php?
Something like that. You dont need to do that if you install the latest version that is for 3.6.x
Reply With Quote
  #143  
Old 10-17-2007, 06:12 AM
FelixFlow FelixFlow is offline
 
Join Date: Sep 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, using vb 3.6.8


i added a custom code (iframe) that i got from here https://vborg.vbsupport.ru/showthread.php?t=113423


the iframe code works fine....


i then installed this permissions mod...and when i change the usergroup permissions, iframe tag doesnt work, at all




i'm trying to make it so only admins/mods can use iframe tag....so far no luck with that

is this a bug????
Reply With Quote
  #144  
Old 10-21-2007, 02:30 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 FelixFlow View Post
installed, using vb 3.6.8


i added a custom code (iframe) that i got from here https://vborg.vbsupport.ru/showthread.php?t=113423


the iframe code works fine....


i then installed this permissions mod...and when i change the usergroup permissions, iframe tag doesnt work, at all




i'm trying to make it so only admins/mods can use iframe tag....so far no luck with that

is this a bug????
This is an old version. Go search for the 3.6 version.
Reply With Quote
  #145  
Old 12-11-2009, 12:41 AM
pujabrang pujabrang is offline
 
Join Date: Jun 2009
Location: uk
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it work on vb 3.8.3
Reply With Quote
  #146  
Old 11-29-2011, 10:10 PM
Strategos Strategos is offline
 
Join Date: Nov 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone please fix this
Reply With Quote
  #147  
Old 12-02-2011, 08:40 AM
uninvited13th uninvited13th is offline
 
Join Date: Aug 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can I already use admin only bbcode when editing non-admin posts?
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 06:42 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.05314 seconds
  • Memory Usage 2,319KB
  • Queries Executed 26 (?)
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
  • (4)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
  • (12)post_thanks_box
  • (12)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (12)post_thanks_postbit_info
  • (11)postbit
  • (12)postbit_onlinestatus
  • (12)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