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 2018 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (4 votes - 5.00 average) Installs: 21
Released: 05 Apr 2016 Last Update: 03 Aug 2016 Downloads: 99
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:	424
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

  #16  
Old 12 Apr 2016, 19:16
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update - 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.
__________________
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
  #17  
Old 13 Apr 2016, 06:40
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update - Version 1.3.1:
  • Fixed reported issue with Signatures.
__________________
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
  #18  
Old 03 Jul 2016, 21:43
280ZX 280ZX is offline
 
Join Date: Mar 2016
Hi Mark,

I installed your Add-on, but unfortunately it suppresses the display of all threads.
Maybe I used the BBCode Tag Names wrong. Could you give me an example or do you have any other idea?

Thank you,
Andre
Reply With Quote
  #19  
Old 03 Jul 2016, 23:29
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by 280ZX View Post
Hi Mark,

I installed your Add-on, but unfortunately it suppresses the display of all threads.
Maybe I used the BBCode Tag Names wrong. Could you give me an example or do you have any other idea?

Thank you,
Andre
How do you have the settings configured?
__________________
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
  #20  
Old 04 Jul 2016, 09:03
280ZX 280ZX is offline
 
Join Date: Mar 2016
I used the following settings:

Usergroup: registered users
Usergroup Membership Type: Primary And Secondary Usergroups
Replace BBCodes/Smilies With Message? No
Active Areas: all
Suppression Type: display

For the BBCode Tag Names I tried different things: the complete BB code, BB code without [], ...
If I leave this field empty, everything is ok, so I guess, I'm doing something wrong with the name.
Reply With Quote
  #21  
Old 04 Jul 2016, 14:43
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
For the BBCodes, your enter them without brackets as a comma-delimited list. for example, if you want to disable the CODE, HTML and PHP BBCodes, you could enter:

code,html,php
__________________
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
  #22  
Old 04 Jul 2016, 19:11
280ZX 280ZX is offline
 
Join Date: Mar 2016
This is, what I have done. So, at least my settings seem to be right.
But nevertheless, if i turn on the script, no thread will be loaded. The only exception is, when I leave the field for BBCode Tag Names blank.

My vBulletin version is 4.2.2 Patch Level 5
Reply With Quote
  #23  
Old 04 Jul 2016, 19:39
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
When you installed the product, did you follow step 2? Which is:

Upload the contents of the "upload" folder to your server's root directory.
__________________
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
  #24  
Old 04 Jul 2016, 21:15
280ZX 280ZX is offline
 
Join Date: Mar 2016
Ok, we only uploaded the PHP to the root directory. Now we added the folder and everything is ok. So it was our fault...
Thank you for your help.

Last edited by 280ZX; 04 Jul 2016 at 21:34.
Reply With Quote
  #25  
Old 04 Jul 2016, 23:10
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by 280ZX View Post
Ok, we only uploaded the PHP to the root directory. Now we added the folder and everything is ok. So it was our fault...
Thank you for your help.
I'm glad it was something easy to fix! Thank you for your patience and for letting me know.
__________________
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
  #26  
Old 05 Jul 2016, 06:56
280ZX 280ZX is offline
 
Join Date: Mar 2016
Originally Posted by MarkFL View Post
Thank you for your patience and for letting me know.
Thank you for all the effort!
Reply With Quote
  #27  
Old 01 Aug 2016, 17:19
mx-5.de mx-5.de is offline
 
Join Date: Dec 2015
Hi Mark,

there seems to be a problem with your Add-on V1.3.1 and VB Suite 4.2.3 PL1.

We have a strange behaviour with multiple quotes after upgrading.

VB before: 4.2.2 PL 5 Suite
PHP before: 5.3

VB after: 4.2.3 PL 1 Suite
PHP after: 5.6

Update went fine and all seems to work properly, except multiple quoting. When selecting some posts for multiple quotes, only the last posting ist quoted, but as often as posts are selected.
Example:
Post 1, Author 1
Post 2, Author 2
Post 3, Author 3

-> all three posts selected for quoting

In the text area:
"Quote from Author 1: Text from Post 3"
"Quote from Author 2: Text from Post 3"
"Quote from Author 3: Text from Post 3"

In other words: when selecting multiple posts for quote, the number of quotes is correct, the quoted authors, too. Quoted text is always the same in all quotes; it's the text from the last qoute.

I've disabled all plugins selectively, and the error occurs when your add-on is active; independent from other plugins. And it's reproducible: your add-on active -> error, your add-on inactive -> all ok.

I would be glad if you find a solution for that. If I might help you, let me know.

Greets
Andreas
Reply With Quote
  #28  
Old 01 Aug 2016, 18:30
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I am able to replicate this issue, and will find a solution as time permits. In the meantime, please download and mark as installed.
__________________
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
  #29  
Old 01 Aug 2016, 18:52
mx-5.de mx-5.de is offline
 
Join Date: Dec 2015
Originally Posted by MarkFL View Post
In the meantime, please download and mark as installed.
Done
Reply With Quote
  #30  
Old 03 Aug 2016, 04:14
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update - Version 1.4:
  • Fixed multi-quote issue.
__________________
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
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 16:39.

Layout Options | Width: Wide Color: