Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Hide BBCodes/Signatures From Guests/Users Details »»
Hide BBCodes/Signatures From Guests/Users
Version: 1.8.1, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

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.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Hide BBCodes And Signatures From Guests & Users v1.8.1.zip (8.1 KB, 164 views)

Screenshots

File Type: png hbfgpostuser.png (94.9 KB, 0 views)
File Type: png hbfgpost.png (94.2 KB, 0 views)
File Type: jpg markfl_hbfg_acp.jpg (66.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
7 благодарности(ей) от:
akz645, Chicoynano, josedvd123, oneill, seb5594, steviewonder44, Vintum

Comments
  #12  
Old 07-20-2015, 01:38 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mark, I cannot make this to work for me vb4.2.0, Guest can see code links
And something else, it puts space in all post after each line of text.
hidebbcodesfromguests, is where it supposed to be.

Here two images.

disabled mod
Attachment 152956

enabled mod
Attachment 152957

Lets wait for some other to test to
Thanks for all goodies you give us.
Reply With Quote
  #13  
Old 07-20-2015, 01:45 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Stratis,

Have you defined the BBCodes you want to hide in the product settings? As for the spacing, I don't know what's causing that, and I don't have access to vB 4.2.0 to test it either.
Reply With Quote
  #14  
Old 07-20-2015, 02:00 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes Mark, all is done, actually I am searching right now.
Even if there is a mistake from me, it should not break my css
Same issue in all skins and vbulletin skin to.

Better is to wait for some one else to install in 4.2.0, we will see.
Reply With Quote
  #15  
Old 07-20-2015, 04:05 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark, I found text issue, at least for me.

in plugin Hide BBCodes/Signatures From Guests I change the two span.
'<span style="color: #FF0000; font-weight: bold">You Do Not Have Sufficient PrivilegesTo View User Signatures...</span>';

Put in front double mark(") instead of one (')

"<span style="color: #FF0000; font-weight: bold">You Do Not Have Sufficient PrivilegesTo View User Signatures...</span>";

Waiting now for some one to test
Reply With Quote
  #16  
Old 07-20-2015, 07:48 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
Mark, I found text issue, at least for me.

in plugin Hide BBCodes/Signatures From Guests I change the two span.
'<span style="color: #FF0000; font-weight: bold">You Do Not Have Sufficient PrivilegesTo View User Signatures...</span>';

Put in front double mark(") instead of one (')

"<span style="color: #FF0000; font-weight: bold">You Do Not Have Sufficient PrivilegesTo View User Signatures...</span>";
That will break the PHP string...
Reply With Quote
Благодарность от:
Stratis
  #17  
Old 07-26-2015, 10:49 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can some one please confirm that this mod works in vb4.2.0 pl4
Thanks
Reply With Quote
  #18  
Old 07-29-2015, 12:04 AM
gobears20 gobears20 is offline
 
Join Date: Feb 2004
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #19  
Old 07-29-2015, 12:08 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #20  
Old 07-29-2015, 12:15 AM
gobears20 gobears20 is offline
 
Join Date: Feb 2004
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #21  
Old 07-29-2015, 12:21 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply


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


All times are GMT. The time now is 01:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04535 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete