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)

rootsxrocks 06-28-2011 12:54 AM

do you have gameroom installed House? I would like to have this be a perrmission that was paid by credits.

HouseAddict 07-04-2011 03:51 PM

Quote:

Originally Posted by HouseAddict (Post 2211971)
I tried that too... and no go.

I am still getting the same error message as others:



Could it have anything to do with custom BBCodes? I've added a few of them, and they are not showing up on the CKE Editor on the page that I am getting this error on. And on other pages where I am not getting this error, those custom BBCodes do show up.

And it only shows up on the Article pages that have CKE Editor for comments enabled (at the bottom of the article)... nowhere else.

That might be a hint...

Anyone?

BirdOPrey5 07-04-2011 04:26 PM

I am not able to reproduce the error. I got my hands on a 4.1.4 suite and I have a custom bbcode and it is showing/working in all the editors- include the article editor and article comments.

How many custom BB Codes do you have?

Nevermind- I see it- I didn't have the mod enabled for my usergroup... investigating now.

HouseAddict 07-04-2011 11:11 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2216661)
Nevermind- I see it- I didn't have the mod enabled for my usergroup... investigating now.

Ahhh, so I'm not actually crazy...

Let us know if you figure out what the issue is, or more importantly the workaround...

BirdOPrey5 07-04-2011 11:23 PM

I can get rid of the error by editing the plugin editor_toolbar_start...

finding the code:

Code:

        foreach ($bbcodecache AS $bbcode)
        {
                if($abe1_bbcode[non_core][$bbcode['bbcodetag']] == 0)
                {
                        unset($vbulletin->bbcodecache[$bbcode['bbcodeid']]);
                }
        }

and changing it to :
Code:

  if ($bbcodecache !== null)
  {
        foreach ($bbcodecache AS $bbcode)
        {
                if($abe1_bbcode[non_core][$bbcode['bbcodetag']] == 0)
                {
                        unset($vbulletin->bbcodecache[$bbcode['bbcodeid']]);
                }
        }
  }

But none of the custom bbcode icons will show in the cms article editor.

HouseAddict 07-04-2011 11:40 PM

Ouch!

And that's the only place I need those custom bbcodes - in the CMS Articles (not the comments, just the original article HTML editor).

Is there an alternative way to simply disable custom bbcodes for certain usergroups (or for non-mods and non-admins)?

BirdOPrey5 07-04-2011 11:52 PM

Quote:

Originally Posted by HouseAddict (Post 2216794)
Ouch!

And that's the only place I need those custom bbcodes - in the CMS Articles (not the comments, just the original article HTML editor).

They work in the Article Creation, but they aren't shown in article comments with my "fix."

HouseAddict 07-04-2011 11:56 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2216799)
They work in the Article Creation, but they aren't shown in article comments with my "fix."

Damn!

You are correct!

That's exactly what I needed... perfect!

Thank you...

datoneer 07-21-2011 10:07 PM

I need this for my version 3.8.3 please.
Thanks!

BirdOPrey5 07-22-2011 12:21 AM

Quote:

Originally Posted by datoneer (Post 2223379)
I need this for my version 3.8.3 please.
Thanks!

This works fine on 3.8.x as is.


All times are GMT. The time now is 02:24 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.01815 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (5)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