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)

thincom2000 06-22-2007 03:19 PM

While I was unable to solve your issue, I noticed there was a discrepancy in the misc.php changes listed here. I'm running 3.6.7 PL1 and have been unable to reproduce your sprintf() error. It likely has to do with another mod that uses the BB-code parser and doesn't check what script is actually running it.

Note the line:
PHP Code:

        $bbcode['output'] = $bbcode_parser->parse($bbcode['bbcodeexample'], 2); // , false, false, true, false, true); 

This should be:
PHP Code:

        $bbcode['output'] = $bbcode_parser->parse($bbcode['bbcodeexample'], FORUMID); // , false, false, true, false, true); 

Where FORUMID is the forum ID of any forum with full permissions. That is, it must allow HTML, BB-code, smilies, and IMG-code to parse all your BB-codes.

Fungsten 06-22-2007 07:16 PM

Quote:

Originally Posted by thincom2000 (Post 1273991)
While I was unable to solve your issue, I noticed there was a discrepancy in the misc.php changes listed here. I'm running 3.6.7 PL1 and have been unable to reproduce your sprintf() error. It likely has to do with another mod that uses the BB-code parser and doesn't check what script is actually running it.

Note the line:
PHP Code:

        $bbcode['output'] = $bbcode_parser->parse($bbcode['bbcodeexample'], 2); // , false, false, true, false, true); 

This should be:
PHP Code:

        $bbcode['output'] = $bbcode_parser->parse($bbcode['bbcodeexample'], FORUMID); // , false, false, true, false, true); 

Where FORUMID is the forum ID of any forum with full permissions. That is, it must allow HTML, BB-code, smilies, and IMG-code to parse all your BB-codes.

Where is that? XML document? I couldn't find it.

dashed 06-25-2007 02:47 AM

Is there a way to change permissions of the bbcode according to forum instead of usergroup?

thincom2000 07-01-2007 04:07 PM

Easily. You would just copy the same field as in the usergroup table in the forum table. Then you would just need to copy the form plugins and modify them appropriately to use the forum data manager.

ABDALWAHID 07-07-2007 07:22 PM

Hi,

i have this plungins install, all Permissions ok and now i have not bbcode buttons:(

my vbulletin is (vBulletin 3.6.7 PL1)

ViViD 07-21-2007 06:25 PM

Hi ,
I installed your hack for preventing some users who abuse some bbcodes like size and colors, but after changing their usergroup all of their posts changed to garbage codes and the face of threads made dirty .

Is there a way to do not show the not permitted codes and just rendering the text ?
Thanks

TCB 08-07-2007 04:50 PM

This plugin doesn't work with vbgallery: none (besides the smilies) bbcode get parsed.

Now I have to disable this plugin only for the vbgallery product. Zachariah told that these lines have to be added:

PHP Code:

if (PP_SCRIPT != 'vBGallery'){
// plugin data here


Where do I have to add these lines?

(great mod by the way :D)

yoyoyoyo 11-05-2007 11:41 AM

this looks cool, but am not very comfortable installing it on a 3.6.8 forum due to the amount of people posting bugs, etc.. Can someone get this working properly?

jasculs 11-06-2007 02:39 AM

Quote:

Originally Posted by yoyoyoyo (Post 1376200)
this looks cool, but am not very comfortable installing it on a 3.6.8 forum due to the amount of people posting bugs, etc.. Can someone get this working properly?

I am having the same problem with other add-ons too from this hack

Artes_Marciales 11-18-2007 07:06 PM

Great hack!
Thanks!


All times are GMT. The time now is 04:29 PM.

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.01289 seconds
  • Memory Usage 1,749KB
  • 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
  • (5)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
  • (2)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