vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Disable BBCode per Usergroup (https://vborg.vbsupport.ru/showthread.php?t=100321)

Alan @ CIT 11-06-2005 10:00 PM

Disable BBCode per Usergroup
 
Requested: https://vborg.vbsupport.ru/showthread.php?t=100012

What is it?
This add-on allows you to disable BBCode on a usergroup basis.

Features
It currently supports disabling BBCode for:
  • Posts (new threads, replies and post edits)
  • Signatures
  • Private Messages
You can disallow each of these per usergroup. By default, all usergroups are set to enabled.

Installation
  1. Upload bitfield_qbbcode.xml to /includes/xml in your forums directory
  2. Install product-cit_qbbcode.xml as normal
Uninstallation
  1. Delete bitfield_qbbcode.xml - if you don't do this first, you will recieve errors
  2. Un-install the product using Product Manager
Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though :) See you all in early September! :D

Virtuosofriend 11-07-2005 06:10 PM

very good.

WNxWakko 11-07-2005 06:23 PM

I uploaded the Bitfield, Then ran the plugin, then I even rebuilt the bitfield and still the option is not showing anywhere in the usergroup.

Alan @ CIT 11-07-2005 06:32 PM

Strange. You definatly uploaded the bitfield_qbbcode.xml file to the /includes/xml directory in your forum?

If so, remove the bitfield file, then un-install the product from Product Manager, and try it again.

Also, do you recieve any errors? Either during the install/un-install, or when editing a usergroup?

WNxWakko 11-07-2005 07:25 PM

I receive no errors. Yes the bitfiel_qbbcode.xml went into the correct directory.

Also after installing, for some reason IMG code and BB code was turned off board wide.

Alan @ CIT 11-07-2005 07:31 PM

And the options definatly aren't there when you edit a usergroup?

Should be a group entitled "BBCode Permissions", with 3 options below:

* Can Use BBCode in Posts
* Can Use BBCode in PMs
* Can Use BBCode in Signatures

Edit: It'll be right near the top somewhere.

Thanks,
Alan.

Snake 11-07-2005 07:39 PM

Very useful indeed. Thanks.

WNxWakko 11-07-2005 08:42 PM

Nope, ive checked several usergroups, nothing there. Ive uninstalled, reinstalled and nothing. Your default yes dont work either. All my forums end up with img and bb off regardless to the forum permission settings which clearly say yes.

vB code is Off
Smilies are On
[IMG] code is Off
HTML code is Off

When I uninstall, my settings go back to normal being

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Sinistra 11-07-2005 10:47 PM

Yeah very useful thanks for the hack

Alan @ CIT 11-08-2005 06:32 AM

Wakko, sorry mate, don't know what to tell you - works fine here.


All times are GMT. The time now is 02:42 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.01100 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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