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)

boatdesign 10-16-2006 01:38 AM

vB 3.62 --

When I edit a usergroup I see above the advanced bb code options:
Code:

Warning: Invalid argument supplied for foreach() in /admincp/usergroup.php(181) : eval()'d code on line 30
Something to worry about?

boatdesign 10-16-2006 01:54 AM

Uninstalled and reinstalled product file, and same thing in admin usergroup.

Then when a user tries to post (with URL not allowed for their usergroup) they get
Code:

Warning: Invalid argument supplied for foreach() in /includes/class_bbcode.php(326) : eval()'d code on line 98
The post is posted, but the result page has the same error on it too. The post then looks like [ url ]http://www.google.com[ /url ] (with [ url ] tags showing (no spaces), but not parsed.) I'm not sure if this is working as intended (it would be nicer if the [url] tags were not only not parsed, but also not displayed if a user doesn't have permission to use them.)

Uninstalling for now, but really really would love to use this if I can get past the error.

Abe1 10-16-2006 03:27 AM

Quote:

Originally Posted by boatdesign
Uninstalled and reinstalled product file, and same thing in admin usergroup.

Then when a user tries to post (with URL not allowed for their usergroup) they get
Code:

Warning: Invalid argument supplied for foreach() in /includes/class_bbcode.php(326) : eval()'d code on line 98
The post is posted, but the result page has the same error on it too. The post then looks like [ url ]http://www.google.com[ /url ] (with [ url ] tags showing (no spaces), but not parsed.) I'm not sure if this is working as intended (it would be nicer if the [url] tags were not only not parsed, but also not displayed if a user doesn't have permission to use them.)

Uninstalling for now, but really really would love to use this if I can get past the error.

Do you have any custom BB codes?

boatdesign 10-16-2006 04:48 AM

No custom BB codes.

Abe1 10-16-2006 11:08 AM

Quote:

Originally Posted by boatdesign
No custom BB codes.

Curius, if you add one, do you loose the error?

Mysticales 10-17-2006 08:23 AM

Quote:

Originally Posted by Abe1
I'll look into it.

Any news or manual patch you know of?

Abe1 10-17-2006 12:29 PM

Quote:

Originally Posted by Mysticales
Any news or manual patch you know of?

Not right now.

Mysticales 10-17-2006 06:15 PM

Couldnt "is_member_of" be used? I dont know your code as well as you, but would think that should work somehow?

Abe1 10-17-2006 06:53 PM

Quote:

Originally Posted by Mysticales
Couldnt "is_member_of" be used? I dont know your code as well as you, but would think that should work somehow?

I may use that soon.

YabbaDabba 10-25-2006 06:09 PM

Thanks so much for your work on this.

I need to control the IMG tag on a group basis. I use vB 3.6.0.
AFAIK there is no way to control this tag in posts at the group level.
There are plenty of image permissions for attachments, sigs, avatars, etc.
Just not for posting. Jake Bunce has said the same over at vB.com.

Any chance of adding the IMG tag to your code?

Our problem is the occasional drive-by porn poster. By restricting new members' access to the IMG tag, we can virtually eliminate the problem.


All times are GMT. The time now is 05:55 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.01225 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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