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.
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.
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)
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.
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.
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
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
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.
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.
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
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.