vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Advanced BBCode Permissions (https://vborg.vbsupport.ru/showthread.php?t=122942)

Andreas 03-19-2010 07:29 AM

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;



lpetrich 04-21-2010 10:59 AM

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.

Alecsmith 05-11-2010 05:55 AM

1 Attachment(s)
Not working in VSA Chat Box of VB 4 :( uninstalled check out screenshot added below

dr.tawy 05-16-2010 04:14 PM

Working Perfectly on Vbulletin 4.x

Amazing Mod

lpetrich 05-16-2010 05:59 PM

Does it work even with BBCodes that use options?

BBCodes where one does [code=option]contents[/code]

Bravo 05-16-2010 08:59 PM

Quote:

Originally Posted by B@Zzz... (Post 2001042)
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

BirdOPrey5 05-17-2010 08:33 PM

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.

BirdOPrey5 05-17-2010 11:12 PM

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.

mk craig 42 05-27-2010 07:40 PM

Quote:

Originally Posted by B@Zzz... (Post 2001042)
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?

lpetrich 05-28-2010 03:57 PM

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.


All times are GMT. The time now is 04:06 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.01310 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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