The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Hide BBCodes/Signatures From Guests/Users Details »» | |||||||||||||||||||||||||||||||||
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:
Version 1.2:
Version 1.3:
Version 1.4:
Version 1.5:
Version 1.6:
Version 1.7:
Version 1.8:
Version 1.8.1:
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. Support for this product can be found here: Download Now
Screenshots
Show Your Support
|
7 благодарности(ей) от: | ||
akz645, Chicoynano, josedvd123, oneill, seb5594, steviewonder44, Vintum |
Comments |
#102
|
||||
|
||||
same here
PHP Version 7.1.9-1+ubuntu16.04.1+deb.sury.org+1 |
#103
|
||||
|
||||
do you have any custom bb-codes active?
|
#104
|
||||
|
||||
Yes, quite a few actually.
|
#105
|
||||
|
||||
hm.
according to the error message, there might be something in the custom_bbcodes (line #0 "append_custom_tags()"): Code:
Call to a member function query_read_slave() on null on line 279 in /local/sites/sitehtml/includes/class_bbcode.php #0 /local/sites/sitehtml/includes/class_bbcode.php(241): vB_BbCodeParser->append_custom_tags() #1 /local/sites/sitehtml/includes/class_postbit.php(345) : eval()'d code(13): vB_BbCodeParser->__construct(Object(stdClass), Array) #2 /local/sites/sitehtml/includes/class_postbit.php(345): eval() #3 /local/sites/sitehtml/showthread.php(1097): vB_Postbit->construct_postbit(Array) #4 {main} |
#107
|
|||
|
|||
I uploaded the hidebbcodesfromguests folder to my root folder and imported the product file. I'm trying to hide IMG code from guests, but it isn't working . I have unregistered / not logged in users selected. Can you let me know if I've done anything wrong?
|
#109
|
|||
|
|||
Thank you so much! It works great now.
|
Благодарность от: | ||
TheLastSuperman |
#110
|
||||
|
||||
GOOD AFTERNOON.
I HAVE INSTALLED THE product-hidebbcodesandsigsfromque.xml THE LAST VERSION, AND MY PROBLEM IS IN WHICH THE MESSAGE TO REGISTER AS IT APPEARS IN THE IMAGES YOU SHOW. I USE VBULLETIN 4.2.5 AND PHP 7.1 SOME HELP . |
#111
|
|||
|
|||
I needed this for a different reason, that a minor change to this mod made possible:
I have a premium membership system on my forum, where those that are in the Premium secondary usergroup are allowed to view videos, etc. that are displayed with custom bb codes. Everybody else, should see a message explaining that they need to join the Premium usergroup to view the content. As this mod does the opposite, I needed to change the code to make it work for me. With the change, it disables the named bbcodes everywhere but, for those who are members of the premium additional usergroup in the given forums. This means that normal members see the error message, which I changed to tell them to buy a subscription, and members of the premium usergroup can now see the bbcode (videos, etc.) After chatting with Mark about this and looking closely at the code, I was able to make this work with just a minor change to the product file and reinstalling it. Find: Code:
if ($vbulletin->options['markfl_hbfg_active'] AND array_intersect(explode(',', $foruminfo['parentlist']), explode(',', $vbulletin->options['markfl_hbfg_forums'])) AND !in_array($threadinfo['threadid'], array_map('trim', explode(',', $vbulletin->options['markfl_hbfg_threadsignore'])))) { if ($show['guest'] OR is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['markfl_hbfg_addgroups']))) { $show['markfl_hbfg_bbcodes'] = 1; } Code:
if ($vbulletin->options['markfl_hbfg_active'] AND array_intersect(explode(',', $foruminfo['parentlist']), explode(',', $vbulletin->options['markfl_hbfg_forums'])) AND !in_array($threadinfo['threadid'], array_map('trim', explode(',', $vbulletin->options['markfl_hbfg_threadsignore'])))) { if ($show['guest'] OR is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['markfl_hbfg_addgroups']))) { $show['markfl_hbfg_bbcodes'] = 0; } else { $show['markfl_hbfg_bbcodes'] = 1; } Usage: BBCode Tag Content To Hide From Guests: Give the mods that are to be activated. In my case they were the custom mods: audiop,videomp4p,videomp4vttp Active Forums: Mark all the forums that contain premium content that use the above bbcodes. Usergroup(s) From Which To Hide BBCodes: Set only the usergroups that are ALLOWED to use the BBCodes. e.g. Premium usergroup. Hide BBCodes From Users Until They Reply? No Users Usergroups Required To Reply: All The remaining fields remain empty. I also changed the phase displayed to: Code:
This content is reserved for premium members only. Please obtain a premium subscription to view this content. I have enclosed some images of how it works. Regular members see the blocked message while members that have Premium status can play the content - great! Enjoy and thanks to Mark for his excellent work that just needed a little tweak. |
Благодарность от: | ||
slash77xx |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|