Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Disable BBCodes/Smilies Per Users/Usergroups Details »
Disable BBCodes/Smilies Per Users/Usergroups
Mod Version: 1.4, by MarkFL (Coder) MarkFL is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (4 votes - 5.00 average) Installs: 23
Released: 05 Apr 2016 Last Update: 03 Aug 2016 Downloads: 110
Not Supported Uses Plugins Additional Files Translations  

Overview:

This product is in response to the request posted by The Mailman here:

Disable [img] bb code for specific user or usergroup?

This product allows you to designate a list of BBCodes and a list of Smilies that will be disabled for the users/usergroups you select. You may also restrict users individually, with their own separate lists of restrictions. The affected BBCodes/Smilies will be disabled only in the areas you select, and you can elect to have them disabled in signatures and previews (corresponding to the other areas selected) as well. You can disable only the display of restricted content, or you can choose to prevent restricted content from being saved to the database altogether.

Updates:

Version 1.1:
  • Fixed HTML encoding issue.

Version 1.2:
  • Added option to disable smilies.
  • Added option to select usergroup membership type (primary only/secondary only/primary and secondary).
  • Added option for individual custom restrictions by username.
  • Replacement message can be set for BBcodes only, smilies only, both BBCodes and smilies, or turned off.
  • Quoted posts/PMs of restricted users now has BBCodes/smilies disabled.

Version 1.2.5:
  • Fixed bug with non-Latin characters.

Version 1.2.6:
  • Fixed reported issue with PMs.

Version 1.3:
  • Added the option to prevent restricted content from being saved to the database, and old restricted content to be removed.
  • Moved the code that parses content to an external script to avoid redundancy.

Version 1.3.1:
  • Fixed reported issue with Signatures.

Version 1.4:
  • Fixed multi-quote issue.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database on installation, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Upload the contents of the "upload" folder to your server's root directory.
  3. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  4. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  5. Click "Import."
  6. You MUST enable the product in the settings before it will function.
  7. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	markfl_disabledbbcodes_acp.jpg
Views:	476
Size:	55.6 KB
ID:	154674  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
New Posting Features [OzzModz] Disable Maximum Images Per Post By Usergroups ozzy47 Modification Graveyard 1 06 Jul 2014 11:52

  #46  
Old 22 Dec 2017, 22:07
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
I have solved my problem, but not with this Mod. It appears to be flawed and does not work properly, I uninstalled it.

It turns out that another similar Mod, by the same author, does work properly and with a minor change, will do exactly what I needed.

The Mod is Hide BBCodes/Signatures From Guests/Users and I explain what needs to be changed, there in post #110. I even provide my updated product file.

So if you need to enable a BBCode in just some forums of your choice, that is the way to do it.
I have implemented it on my forum and it works well.

I hope this helps.
__________________
Regards

Peter
www.rifeforum.com
Reply With Quote
  #47  
Old 22 Dec 2017, 23:27
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Peter Walker View Post
I have solved my problem, but not with this Mod. It appears to be flawed and does not work properly, I uninstalled it.
Your use of the product was the inverse of the intended usage, so that was where the issue was. As far as I know, everyone who uses this for its intended purpose finds it works correctly.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #48  
Old 23 Dec 2017, 00:32
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
I tested it as it was intended, and even then it was not reliable. Now this could be something that was specific to my forum. Either way for me, the other mod was reliable from the start - this one was not.
__________________
Regards

Peter
www.rifeforum.com
Reply With Quote
  #49  
Old 23 Dec 2017, 05:41
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
It could be your use of secondary usergroups gave you results you didn't expect. If a user is a member of an allowed group and also a member of a disallowed usergroup, the net result is they will be disallowed.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #50  
Old 10 Mar 2019, 05:21
two dogs two dogs is offline
 
Join Date: Dec 2013
Hi Mark,

I've recently installed this excellent mod on a couple of vBulletin 4.2.5 forums that I administer.

As it was working well on the first one I installed it on, I installed it on the second one. Soon after, I was informed by a user that he was receiving the following requester on clicking on the Post Quick Reply button, after typing a response into the Quick Reply panel:

MayNotBeSaved.JPG

This had never happened previously, and the normal behaviour returned on disabling the mod. A little more testing determined that with the mod enabled, but no tag names specified, the problem didn't occur!

I didn't notice the problem on the first forum, as I had disabled the Quick Reply option on it. When I temporarily enabled it there, the problem manifested itself.

Wondering if there was a conflict with some other mod, I tried disabling them all on a test version of the production forum, but the problem persisted.

I've just now done an install of a new, clean, V4.2.5 forum, with no changes to the default configuration. Yes, Click Not Required was the default for the Quick Reply option.

After creating a thread, and doing a couple of Quick Replies, without any problem, I installed the mod, and the problem manifested itself (again, only when a tag name was specified). So, it would seem that the problem isn't caused by any conflict with another mod?

Any ideas?

Cheers,
Julian
Reply With Quote
  #51  
Old 10 Mar 2019, 05:39
two dogs two dogs is offline
 
Join Date: Dec 2013
Mark,

Please hold off on investigating/answering this, as I may have since found the problem.

Cheers,
Julian
Reply With Quote
  #52  
Old 10 Mar 2019, 21:38
two dogs two dogs is offline
 
Join Date: Dec 2013
Hi Mark,

I haven't found the problem, but I was wrong in saying that I could reproduce it on a clean install of V4.2.5. In my haste, I hadn't copied markfl_disablebbcodes/disablebbcodes.php to the server! That resulted in the requester being displayed when I tried a Quick Reply to a post I had in my browser, prior to installing the mod. I later realised my error when I got a 500 error on responding to the requestor!

So, as it works fine on a clean install, I guess I'm going to have to try installing all the other mods I have on the other forums, one by one, on my new test system to see which one is in conflict. Or perhaps it's a vBulletin setting?

Any thoughts you have on what sort of interaction with mods/settings that could cause this would be appreciated.

Cheers,
Julian
Reply With Quote
  #53  
Old 13 Aug 2019, 20:08
autje autje is offline
 
Join Date: Jun 2007
Originally Posted by two dogs View Post
Hi Mark,

I haven't found the problem, but I was wrong in saying that I could reproduce it on a clean install of V4.2.5. In my haste, I hadn't copied markfl_disablebbcodes/disablebbcodes.php to the server! That resulted in the requester being displayed when I tried a Quick Reply to a post I had in my browser, prior to installing the mod. I later realised my error when I got a 500 error on responding to the requestor!

So, as it works fine on a clean install, I guess I'm going to have to try installing all the other mods I have on the other forums, one by one, on my new test system to see which one is in conflict. Or perhaps it's a vBulletin setting?

Any thoughts you have on what sort of interaction with mods/settings that could cause this would be appreciated.

Cheers,
Julian
Hi Julian,

ever found a solution for this? Because I'm facing the same problem.

Thanks,
Marc
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 15:04.

Layout Options | Width: Wide Color: