![]() |
Disable BBCodes/Smilies Per Users/Usergroups
1 Attachment(s)
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:
Version 1.2:
Version 1.2.5:
Version 1.2.6:
Version 1.3:
Version 1.3.1:
Version 1.4:
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:
https://vborg.vbsupport.ru/attachmen...1&d=1460488388 Support for this product can be found here: |
Any way to disable smileys too?
Regards |
Excellent. This is something I was waiting. Something similar Abe1 had made, but it had it's own problems why I didn't used it (mainly the way all new BBcodes were disabled by default for all usergroups, what was PITA to set up and maintain, especially if you have a lot of usergroups, and especially that disabled using BBcodes for users who are in multiple usergroups and one can use BBcode, and one (or more) can't).
Does this mod has the last problem, for users in multiple usergroups? For example, does it allows use of BBcode for someone who has more than one usergroup and one allows, and one disallows using BBcode? If not, please enable best case scenario for that usergroup, so user can use BBcode if at least one usergroup allows use of BBcode. There's also one use I was planning to use such mod: Having special BBcodes for staff members, that regular users can use, but of course, can see their effect. Also, is it possible if user who can't use BBcode, when quoting post with disabled BBcode don't see that BBcode at all (BBcode and content within it)? Just to see empty space (last option suggests something like that, but not sure at the moment if it works that way). Also, is it possible to have separate mod, but with inverted function, that we enter BBcode list and usergroups and/or users who can use them, and that this two mods can work together? Or, having one mod that could have different rules for different BBcodes, e.g.: img|+6,7 - This means BBcode img can use only usergroups 6 and 7 b|-3,2 - This means that BBcode b (bold) can't use usergroups 3 and 2 Or something similar? Anyway, great mod. I had idea about making some posts "official", i.e. only staff members could make them. And that posts would look differently from normal posts (different background image, color, font..., basically different CSS). So users would know it is not "normal" post from staff members, but "official". Now I could make something similar, using BBcode that moderators can use, but regular users, which could have similar effect. Which also leads me to idea, if I use image for that BBcode, can that image be disabled for users who couldn't use that BBcode? So moderators can use it in easier manner? |
This product uses the "is_member_of()" function when it comes to usergroups...and so no matter how many usergroups to which a user belongs, if he/she is a member of any usergroup which you select, then the BBCodes you set will be disabled for them. I don't see this as a "problem," because that's the way I intended this product to work. I can add the option to only have primary usergroups used though..
I will also look into allowing the specification of BBCodes that are by default disabled except for users/usergroups you set. :) |
Quote:
|
Quote:
As I mentioned, I had that problem with Abe1's mod. But, if there would be mod that allows using BBcodes to only certain usergroups, then it would work as vBulletin permission system. Now it works as vBulletin permissions for banned usergroups. I use multiple usergroups for many users and this system, for my intentions with it, would collide and break my system. |
Quote:
It was a massive rewrite. :eek: I am going to figure a way to include BBCodes/Smilies that are restricted on an individual basis. I have just come to realize that I need to account for other users who may quote the posts of restricted users. So, it may be a while before an update is ready. :) |
Update - Version 1.2:
|
This sounds great. I can't like at the moment your posts, but you really improved your mod.
|
Update - Version 1.2.5:
(Thanks Stratis!) |
Quote:
|
Hm, tested and working but breaks quotes in private messages and i need to input user name for make a reply :/
|
Quote:
|
Update - Version 1.2.6:
|
Quote:
|
Update - Version 1.3:
|
Update - Version 1.3.1:
|
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 |
Quote:
|
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. |
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 |
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 |
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. |
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. :up: |
Quote:
|
Quote:
|
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 |
I am able to replicate this issue, and will find a solution as time permits. In the meantime, please download and mark as installed. :)
|
Quote:
|
Update - Version 1.4:
|
Quote:
|
Hi Mark,
seems to work fine again. Thanks a lot! |
Hi Mark,
I encountered problem with this MOD. Mod conflicts with vBulletin built-in double posts merge funtionality. When Your mod is enabled and when any user use any BB code (even not restricted by this mod) - when user adds next post in sam thread, mod duplicates the post content after automatic double posts merging. When Your mod is disabled it works correctly. See attached screenshot to understand the problem: http://dl.dropbox.com/s/exzrsfh8aupov1d/bug.png Are You able to help? |
I will look into this soon. Right now I have a lot going on, so it may be a while before I can get to it. :)
You may want to actually download it and mark it as installed in the meantime. |
I just ran some tests, and I'm not able to duplicate the issue. You likely have another mod that is conflicting with this one.
|
It is weird because when i disable Your MOD everything working fine...
vBulletin 4.2.3 Patch Level 2 Steps to reproduce: 1. Create a post 2. Add another post with BBCode 3. In result the latest post should be merged with another previous and content of merged post will be duplicated. |
Since my mod works as it should for me, I am left to assume that you have some mod installed that I don't, which in combination with mine, produces the issue you reported.
|
Mannnnnnnn I'mm'a just have to scroll your mods list on your profile one day for a good minute, how'd I miss this one? Useful which equates to being pretty nifty in my book! :cool:
|
Quote:
In this case I need to uninstall it :( |
Quote:
I wish to get this working for you, but until I know which product is not playing well with mine, there's not much I can do. :D |
All times are GMT. The time now is 06:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|