Version: 1.8.1, by MarkFL
Developer Last Online: Jun 2020
Category: Show Thread Enhancements -
Version: 4.2.x
Rating:
Released: 04-28-2015
Last Update: 02-21-2017
Installs: 42
Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
Overview:
This product will allow you to decide what BBCode content you wish to hide from guests/users on your site. You can also choose to hide user signatures from guests/users too. Hidden content is replaced with a link to your registration page for guests, and a simple message for restricted usergroups. In posts, this link or message is placed inside a block element so that it stands out.
Guests will see the following:
Members of restricted usergroups/users that have not replied will see the following:
You are given the option to merge the defined list of BBCodes in the product "MarkFL: Enhanced View Forum Posts". This way, you may choose to define the list in one place and have both products hide the same BBCodes.
Updates:
Version 1.1:
Now allows usergroups to be restricted from seeing the defined list of BBCodes and signatures.
Version 1.2:
Posts containing the symbols "<" and/or ">" will now display correctly to those from whom BBCodes are being hidden.
Version 1.3:
Fixed bug where the $vbulletin array need to be global for some users.
Messages to guests/users now phrased to allow for translations.
Version 1.4:
Added setting to allow hiding of BBCodes/Signatures from users until they reply to a thread.
Version 1.5:
Added setting for "Active Forums" in which the product is active.
Added separate usergroup selection for usergroups whose members must reply to a thread before the hidden BBCodes/signatures are revealed.
Version 1.6:
Added setting to allow for internal links to be hidden.
Version 1.7:
Added settings to allow individual threads/posts to be ignored by product.
Version 1.8:
Fixed reported issue with inline attached images.
Version 1.8.1:
Moved function to external script to avoid redeclaration error.
To Install:
1.) Download and extract the attached .zip file.
Upload the contents of the "upload" folder to your forum's root directory.
Note: If you have already installed "MarkFL: Enhanced View Forum Posts" v1.1 or higher, then you may skip this step, since both products use the same external PHP script.
2.) In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.
Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
Click "Import"
You MUST set your settings to enable the mod. Each setting has an explanation of its use.
if you also want to hide from other usergroups simply edit line 65 of the XML and re-import
Code:
if ($show['guest'] || is_member_of($vbulletin->userinfo, 1, 2, 3))
tested on vb 4.2.3 works a treat. Now to play with the css
Thanks again!
I will soon update this add-on to allow the BBCodes to be hidden from other usergroups. I will also look into allowing the customization of the CSS as well.