Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced BBCode Permissions Details »»
Advanced BBCode Permissions
Version: 3.0, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 08-02-2006 Last Update: 08-24-2006 Installs: 631
DB Changes Uses Plugins
 
No support by the author.

Advanced BBCode Permissions 3.0



About this hack:
This hack will give you advanced control on BBCode. You will be able to define for each usergroup what BBCode they may or may not use. This hack works for both standard AND custom BB code!

Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 0
  • Time to install: 10 seconds max
Updates:

Version 3.0 (08/03/06):
  • Initial release of this hack for vb 3.6
  • [CHANGED] Re-did the way the permissions are stored to fix a lot of bugs.

Beta test version 4.0 here: https://vborg.vbsupport.ru/showthread.php?p=1159541

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Download Now

File Type: zip advanced_bbcode_permissions_3_0.zip (3.1 KB, 3325 views)

Screenshots

File Type: jpg image.JPG (41.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
goxy63, TAIFUN_T

Comments
  #302  
Old 12-27-2010, 09:22 PM
bulldog51981's Avatar
bulldog51981 bulldog51981 is offline
 
Join Date: Oct 2010
Location: St. Louis, Mo, USA
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm a little lost on this one (I usually don't have a problem adding the fixes to things) and my chatbox now looks like the example in post#273 (page 19)
Reply With Quote
  #303  
Old 12-27-2010, 09:24 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to be clear I tested this with regular BB codes and BB Codes with options, I read what people reported earlier they were having issues but it works fine for me. I don't have many mods on my 4.0.8 forum so if someone was having problems I'd guess they either made a mistake or more than likely have a conflict with another mod.
Reply With Quote
  #304  
Old 12-27-2010, 09:29 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete

Find the line: (It should be the only line)
Code:
$this->tag_list = $this->bbcode_tag_list;
Replace it with:
Code:
if (isset($this->bbcode_tag_list))
{
    $this->tag_list = $this->bbcode_tag_list;
}
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
Reply With Quote
  #305  
Old 01-01-2011, 01:39 PM
mk craig 42 mk craig 42 is offline
 
Join Date: Feb 2009
Location: Bedford
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way this mod can be edited so that Admins/mods can edit a regular members post who DOES NOT have permission for a certain BB Code and make the bb code work on that post.
As at the moment, when I try to edit a usergroups post who I disabled a BB Code for, it also doesn't work for me when I try to edit their post, which is logical.

So basically I want to be able to edit users post and allow the BB Code to work when an admin/mod edits it?

Thanks.

To give you more info.. I have the [mod] BB Code added.. and I want only mod's and Admins to be able to use it, which is why it is disabled on every other usergroup... But the idea of MOD message is to edit a users post and warn them on their own post whilst possibly deleting some of their content that breaches the rules... and obviously with this mod I can't edit their post with the [mod] bb code
Reply With Quote
  #306  
Old 01-03-2011, 12:35 PM
beduino's Avatar
beduino beduino is offline
 
Join Date: Dec 2005
Location: Rio de Janeiro
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you !
I'm looking for if this hack works in last vB 4.1.0 ... maybe with this will work
Quote:
Originally Posted by BirdOPrey5 View Post
Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete

Find the line: (It should be the only line)
Code:
$this->tag_list = $this->bbcode_tag_list;
Replace it with:
Code:
if (isset($this->bbcode_tag_list))
{
    $this->tag_list = $this->bbcode_tag_list;
}
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
Reply With Quote
  #307  
Old 01-05-2011, 07:55 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete

Find the line: (It should be the only line)
Code:
$this->tag_list = $this->bbcode_tag_list;
Replace it with:
Code:
if (isset($this->bbcode_tag_list))
{
    $this->tag_list = $this->bbcode_tag_list;
}
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
Thank you

Tested and working

4.1 PL2
Reply With Quote
  #308  
Old 01-06-2011, 04:53 PM
rootsxrocks rootsxrocks is offline
 
Join Date: Aug 2009
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldSchoolDSL View Post
Thank you

Tested and working

4.1 PL2
Good to Know I was wanting to re install this
Reply With Quote
  #309  
Old 01-13-2011, 06:35 PM
abdulbasitsaeed's Avatar
abdulbasitsaeed abdulbasitsaeed is offline
 
Join Date: Mar 2009
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1 View Post
(libertate, apparently your donation helped )

This is BETA test.

Version 4.0 beta 1

I'm just running through this beta so some of you guys can test the 2 changes before I make it an official release. There 'should' be no issue with this version but I just want it tested first.

1) If you dont have custom bbcodes, you should not get an error anywhere.

2) Additional usergroups are checked to see if they can use a BBCode if the Primary Usergroup has the permission turned off. If ANY of the user's usergroups have the setting 'enable advanced bbcode permissions' turned OFF, then it will be TURNED OFF for the user and he gets the forum default. If ALL a users usergroups have it set to ON, then it will check through all the usergroups and get a 'yes' even if only an additional usergroup has it set to yes.

Please post feedback quickly. I would like to release this ASAP.

Just import the new file into products. No need to uninstall.
Works on 4.0.4.

Abe1, would you like to release the 4.0 version of this mod as a separate mod thread?

Thought I'd add that I had to make these changes mentioned earlier to get it fully functional.

Quote:
Originally Posted by BirdOPrey5 View Post
Ahh yes, go to your Admin CP -> Plugin manager, go to the Advanced BB Code Permissions mod and go to the plugin: Advanced BBCode Permissions on hook: bbcode_parse_complete

Find the line: (It should be the only line)
Code:
$this->tag_list = $this->bbcode_tag_list;
Replace it with:
Code:
if (isset($this->bbcode_tag_list))
{
    $this->tag_list = $this->bbcode_tag_list;
}
And you're set... it should work with other add-ons if you do this... it works within normal vbulletin pages without this change however.
Reply With Quote
  #310  
Old 01-24-2011, 06:25 AM
RK KINGKONG RK KINGKONG is offline
 
Join Date: May 2010
Location: NEW JERSEY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working perfect on vb 4.1.1 installed
Reply With Quote
  #311  
Old 01-25-2011, 01:43 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this is unusual but for some reason this mod is conflicting with 3 or the 4 bb codes listed in this mod: https://vborg.vbsupport.ru/showthread.php?t=235328

With this mod enabled only 1 of those 4 icons show in the editor window even when users have permission to use them.

Found this bug in vb 4.1.1
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Forum Jump


All times are GMT. The time now is 02:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09529 seconds
  • Memory Usage 2,357KB
  • Queries Executed 29 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete