Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Hide BBCodes/Signatures From Guests/Users Details »
Hide BBCodes/Signatures From Guests/Users
Mod Version: 1.8.1, by MarkFL (Coder) MarkFL is online now
Developer Last Online: Nov 2017 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (3 votes - 4.67 average) Installs: 35
Released: 29 Apr 2015 Last Update: 22 Feb 2017 Downloads: 225
Not Supported Uses Plugins Auto-Template Additional Files Translations  

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.



Support for this product can be found here:

Download Now

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

Screenshots

Click image for larger version

Name:	hbfgpostuser.png
Views:	948
Size:	94.9 KB
ID:	152948   Click image for larger version

Name:	hbfgpost.png
Views:	935
Size:	94.2 KB
ID:	152952   Click image for larger version

Name:	markfl_hbfg_acp.jpg
Views:	363
Size:	66.1 KB
ID:	155622  

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
Forum Home Enhancements Hide Avatars And Signatures From Guests On A Forum Per Forum Basis borbole vBulletin 4.x Add-ons 15 06 Aug 2015 14:13
Hide Avatars & Signatures from Guests Zieen vBulletin 3.6 Template Modifications 27 27 May 2010 08:45

  #16  
Old 26 Jul 2015, 13:49
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Can some one please confirm that this mod works in vb4.2.0 pl4
Thanks
Reply With Quote
  #17  
Old 29 Jul 2015, 03:04
gobears20 gobears20 is offline
 
Join Date: Feb 2004
Hi, I just tried to use this and for some reason it turns into a white screen when going into a specific thread. The screen is just white and never loads the content. I turn it off an it works again. Any idea why this would happen?
Reply With Quote
  #18  
Old 29 Jul 2015, 03:08
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by gobears20 View Post
Hi, I just tried to use this and for some reason it turns into a white screen when going into a specific thread. The screen is just white and never loads the content. I turn it off an it works again. Any idea why this would happen?
Okay, first thing...did you upload the contents of the "upload" folder to your root directory?
Reply With Quote
  #19  
Old 29 Jul 2015, 03:15
gobears20 gobears20 is offline
 
Join Date: Feb 2004
Just to make sure, I uploaded into my forums directory(hidebbcodesfromguests.php), yes.

I am running version (vBulletin 4.2.2 Patch Level 4)

It seems to work and function correctly inside the AdminCp screen but when I turn it on it doesn't work and any posts is just a blank white screen.
Reply With Quote
  #20  
Old 29 Jul 2015, 03:21
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
The PHP file needs to have the path:

/hidebbcodesfromguests/hidebbcodesfromguests.php

What you should do is simply upload the "upload" folder included in the zip file straight to your root directory, and the correct folder will be copied along with the PHP file.
Reply With Quote
  #21  
Old 29 Jul 2015, 03:36
gobears20 gobears20 is offline
 
Join Date: Feb 2004
You got me That was exactly what it was and it worked. Quick question for you, if someone uploads an attachment to my server and uses it inside a post it doesn't look like this can be blocked with this mod?

Also, do you take donations? If so where because this is a great mod that you have put together!
Reply With Quote
  #22  
Old 29 Jul 2015, 03:43
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by gobears20 View Post
You got me That was exactly what it was and it worked. Quick question for you, if someone uploads an attachment to my server and uses it inside a post it doesn't look like this can be blocked with this mod?

Also, do you take donations? If so where because this is a great mod that you have put together!
This add-on will block inline attachments (because of the ATTACH tags present in the post content), but not thumbnails...however I think it would be a simple matter to add this feature. I will look into this soon.

I am not seeking donations directly, but if you wish to do so, a small donation to your local animal shelter would be greatly appreciated.
Reply With Quote
  #23  
Old 29 Jul 2015, 03:52
gobears20 gobears20 is offline
 
Join Date: Feb 2004
I turned the attachment feature off inside the user group management. It won't allow you to see it but will allow you to click on it and show the attachment. You may think about adding that feature. Great mod and yes, I already make donations to the animal shelter around here. I also make donations to my house animals, two cats and two dogs Thanks again for a great mod!
Reply With Quote
  #24  
Old 02 Aug 2015, 16:44
akz645 akz645 is offline
 
Join Date: Jul 2015
Originally Posted by MarkFL View Post
SNIP
Could you add a feature that 'disables' BB codes from being used, rather than just hide for certain usergroups?

Also, could you make this mod forum specific & usergroup specific?
Example: Hide BB code IMG on forum section A for usergroups: 'registered & guests & banned'. Hide BB code IMG on forum section B for usergroups: 'guest & banned'. etc...


^ have that appear inside each one of these:

+ Another setting/box which disables BB codes (if you implement that feature)

That would be really useful for me
Reply With Quote
  #25  
Old 04 Aug 2015, 08:15
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by akz645 View Post
Could you add a feature that 'disables' BB codes from being used, rather than just hide for certain usergroups?
The goal of this product is to simply hide BBCodes from guests and other defined usergroups. Preventing their usage would be a whole other issue for another product to address.

Originally Posted by akz645 View Post
Also, could you make this mod forum specific & usergroup specific?
Example: Hide BB code IMG on forum section A for usergroups: 'registered & guests & banned'. Hide BB code IMG on forum section B for usergroups: 'guest & banned'. etc...


^ have that appear inside each one of these:

+ Another setting/box which disables BB codes (if you implement that feature)

That would be really useful for me
While adding forum and usergroup information for each BBCode in the list could be done, I don't feel at this time there would be enough demand for that to justify the added complexity of the coding and in particular the settings.
Reply With Quote
  #26  
Old 04 Aug 2015, 15:02
akz645 akz645 is offline
 
Join Date: Jul 2015
Originally Posted by MarkFL View Post
The goal of this product is to simply hide BBCodes from guests and other defined usergroups. Preventing their usage would be a whole other issue for another product to address.
Alright, that's fine. I guess it has to be created as an entirely different mod altogether, with that function only. I thought it would be simple to add on, but guess not.

Originally Posted by MarkFL View Post
While adding forum and usergroup information for each BBCode in the list could be done, I don't feel at this time there would be enough demand for that to justify the added complexity of the coding and in particular the settings.
I have to wait for more demand then...
Speaking of complexity, if you did do it, how long do you think it would take you?

Note: It doesn't neccesarily have to be adjusted from these settings. One of DB Tech's products has another approach, which is by users selecting a forum (double clicking) and then options for how it affects each individual usergroups appears below.
In this case, instead of a tick/untick box for each individual option, this box would appear instead.
^
I don't know which methods is easier to code. I just thought I'd let you see this method, in case you hadn't seen it before.
Reply With Quote
  #27  
Old 05 Aug 2015, 06:10
Vintum Vintum is offline
 
Join Date: Jan 2013
I just thought of something I could use a product like this for, but I'm not sure I want there to be any indication to guest/unallowed users that content has been hidden.

Is it possible to just remove the bbcode and the content within them if they don't have permissions? Or just anything else to hide the fact that content was hidden.
Reply With Quote
  #28  
Old 08 Aug 2015, 07:03
Vintum Vintum is offline
 
Join Date: Jan 2013
Hi,

I'm sorry, but I'm not able to get this product to work. I have the file uploaded, mod is enabled, and no errors are happening in console. But nothing is hidden. I can see the content as both admin and guest even though both are selected as not allowed to view. Both signatures and the bbcode remain visible.

I'm on VB 4.2.2. Any idea?
Attached Images
File Type: jpg 2015-08-08_0-52-58.jpg (62.8 KB, 12 views)
Reply With Quote
  #29  
Old 08 Aug 2015, 07:12
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Vintum View Post
Hi,

I'm sorry, but I'm not able to get this product to work. I have the file uploaded, mod is enabled, and no errors are happening in console. But nothing is hidden. I can see the content as both admin and guest even though both are selected as not allowed to view. Both signatures and the bbcode remain visible.

I'm on VB 4.2.2. Any idea?
Hello! I am sorry to hear you are experiencing difficulty.

Can you provide me with a link to a page where the "MEMBER" BBCode is being displayed so I can look at the HTML of the page?
Reply With Quote
  #30  
Old 08 Aug 2015, 07:41
Vintum Vintum is offline
 
Join Date: Jan 2013
Link sent,

thanks
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 02:57.

Layout Options | Width: Wide Color: