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

Reply
 
Thread Tools
Advanced BBCode Permissions Details »»
Advanced BBCode Permissions
Version: 3.0, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 08-02-2006 Last Update: 08-24-2006 Installs: 631
DB Changes Uses Plugins
 
No support by the author.

Advanced BBCode Permissions 3.0



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 for both standard AND custom BB code!

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

Version 3.0 (08/03/06):
  • Initial release of this hack for vb 3.6
  • [CHANGED] Re-did the way the permissions are stored to fix a lot of bugs.

Beta test version 4.0 here: https://vborg.vbsupport.ru/showthread.php?p=1159541

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.

Download Now

File Type: zip advanced_bbcode_permissions_3_0.zip (3.1 KB, 3325 views)

Screenshots

File Type: jpg image.JPG (41.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
goxy63, TAIFUN_T

Comments
  #272  
Old 03-19-2010, 07:29 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This Add-on has a serious bug:
The Code on Hook bbcode_parse_complete assumes that
PHP Code:
$this->bbcode_tag_list 
does always exist, which is not necessarily the case if do_parse() is being called directly (PhotoPost vBGallery for example does that).

So this causes the Tag-List to become empty after the first call to do_parse().

Changing the code it
PHP Code:
if (isset($this->bbcode_tag_list))
{
    
$this->tag_list $this->bbcode_tag_list;

Reply With Quote
  #273  
Old 04-21-2010, 10:59 AM
lpetrich's Avatar
lpetrich lpetrich is offline
 
Join Date: Mar 2008
Location: Lebanon, OR
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to research this question of what might be going wrong with this add-on in 4.0, but I couldn't find any documentation for either the 3.8 or 4.0 vBulletin API's.
Reply With Quote
  #274  
Old 05-11-2010, 05:55 AM
Alecsmith Alecsmith is offline
 
Join Date: Sep 2009
Location: Still On Earth
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working in VSA Chat Box of VB 4 uninstalled check out screenshot added below
Attached Images
File Type: jpg report.jpg (30.4 KB, 0 views)
Reply With Quote
  #275  
Old 05-16-2010, 04:14 PM
dr.tawy dr.tawy is offline
 
Join Date: Feb 2010
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working Perfectly on Vbulletin 4.x

Amazing Mod
Reply With Quote
  #276  
Old 05-16-2010, 05:59 PM
lpetrich's Avatar
lpetrich lpetrich is offline
 
Join Date: Mar 2008
Location: Lebanon, OR
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work even with BBCodes that use options?

BBCodes where one does [code=option]contents[/code]
Reply With Quote
  #277  
Old 05-16-2010, 08:59 PM
Bravo Bravo is offline
 
Join Date: Nov 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by B@Zzz... View Post
It works good! We don't have any problems during install!

I installed it because of the bbcode voor moderatorwarnings ([ mod] [ /mod], can't find the topic anymore )
When I post the bbcode [mod] in my own reply, it works, but when I edit a reply of an user, the mod-bbcode doesn't work (logical, because the user doesn't have the rights to use that code).
Is it possible to change that? When I edit an reply of an user, the [mod] works on my editted text?
(I hope it's clear what I mean, I'm from holland, my english is bad... )
Same happens to me
Reply With Quote
  #278  
Old 05-17-2010, 08:33 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not working at all for me in vB 3.8.4 PL2... it installs no problem but it isn't blocking any bb codes... I just setup an iframe code I wanted to restrict to admins and super-mods...I set the primary usergroup of my regular users to "yes" use advanced BB Code and "Yes" to all Bb Codes but "No" for Iframe... I set all the secondary usergroups (additional usergroups) my users are members of to "yes" use advanced bb code and "no" to all options... but all users are able to use all bbcode, including iframe.
Reply With Quote
  #279  
Old 05-17-2010, 11:12 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK I got it working but it's weird, I wouldn't believe it if i didn't do it myself- I had to kind of force the hack to work by turning off the basic bb code (for bold, italics, and underline) saving changes, then turning them back on... only then would the iframe be disabled- and I had to do this for each usergroup I had. I wish I knew why it didn't work right to begin with so I can trust that it doesn't stop blocking codes again.
Reply With Quote
  #280  
Old 05-27-2010, 07:40 PM
mk craig 42 mk craig 42 is offline
 
Join Date: Feb 2009
Location: Bedford
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by B@Zzz... View Post
It works good! We don't have any problems during install!

I installed it because of the bbcode voor moderatorwarnings ([ mod] [ /mod], can't find the topic anymore )
When I post the bbcode [mod] in my own reply, it works, but when I edit a reply of an user, the mod-bbcode doesn't work (logical, because the user doesn't have the rights to use that code).
Is it possible to change that? When I edit an reply of an user, the [mod] works on my editted text?
(I hope it's clear what I mean, I'm from holland, my english is bad... )
Likewise.. Is there any fix to this?
Reply With Quote
  #281  
Old 05-28-2010, 03:57 PM
lpetrich's Avatar
lpetrich lpetrich is offline
 
Join Date: Mar 2008
Location: Lebanon, OR
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's from how this add-on works -- it renders a tag only in the posts of someone who has the permission to do so, and not otherwise.

To render a tag in a quote of someone with the appropriate permissions would require some fancy parsing, and it would be very easy to make a fake quote for rendering such a tag.

So I think that we are stuck with tags being unrendered in quotes of those with the permissions to render them.
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 01:40 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.10072 seconds
  • Memory Usage 2,351KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete