Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Hide Images from Guests Details »»
Hide Images from Guests
Version: 4.0, by ForumsMods ForumsMods is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 12-27-2010 Last Update: Never Installs: 113
Uses Plugins
Code Changes Translations  
No support by the author.

Hide Images from Guests

Description:
Allows you to show a message to guests instead of images in posts.

Installation:
  1. Import "product-hideimg_guests.xml" as a product, overwrite if it's already installed
Where to set option:
Settings-> Options-> Thread Display Options (showthread)-> Enable Hide Images from Guests

Languages:

- English

History:
28-12-10: v4.0 First Release

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Download Now

File Type: xml product-hideimg_guests.xml (2.0 KB, 657 views)

Screenshots

File Type: png 1.png (8.8 KB, 0 views)
File Type: png 2.png (15.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
mapleleaffans

Comments
  #52  
Old 07-22-2014, 06:30 AM
Denethor Denethor is offline
 
Join Date: Jan 2014
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working with 4.2.2 yet? If it is, could someone please advise? I can't get it to function properly.
Reply With Quote
  #53  
Old 06-28-2015, 01:49 PM
aspen0 aspen0 is offline
 
Join Date: Apr 2003
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cric2k View Post
After a lot of hours I figured out how to finally get this working properly.

It turns out that the first person to view a thread via showthread.php would cache that version of the thread in vb_postparsed - so if a guest views the thread first it is cached with the replaced text and everyone else who uses that style logged in or not will have the cached version.

I've managed to get around this by having a copy of a style dedicated to guests, setting it as the default and using the Restrict Style to Usergroup mod https://vborg.vbsupport.ru/showthread.php?t=95910 to prevent logged in members from changing to that style.
I tried that and it didn't work. Specifically I made the style, I restricted it to guests, and made it default, and that all worked - but it was also then default for all members who had to actively decide to switch it. What I really needed was multiple default styles. I found a different mod, force style on usergroup, and seemed to work, except it wouldn't force a style to my guests, only to other usergroups (why, I'm not sure). So I forced all registered members to another usergroup, and let the guests by in the default one.

I wonder if a better overall fix would be to edit the plugin so the image removal is done AFTER the post content is pulled from the cache, not before. Anyone know how to do that?

If any of these features would be better supported in VB 5 I might be enticed to finally upgrade, anyone know?
Reply With Quote
  #54  
Old 10-06-2015, 08:22 AM
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Location: Karachi, Pakistan
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is effective for Forum SEO
Reply With Quote
  #55  
Old 10-07-2015, 04:43 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by friendlymela View Post
This is effective for Forum SEO
Why is that?

If you have good images with good titles and have your images set to use a title tag and alt txt images are great for seo. How would removing them help with seo?
Reply With Quote
  #56  
Old 10-07-2015, 06:27 AM
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Location: Karachi, Pakistan
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Why is that?

If you have good images with good titles and have your images set to use a title tag and alt txt images are great for seo. How would removing them help with seo?
How it will be index on google?
Reply With Quote
Reply

Thread Tools

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 04:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03967 seconds
  • Memory Usage 2,279KB
  • Queries Executed 21 (?)
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
  • (3)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
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (3)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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