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 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
  #32  
Old 12-16-2013, 09:17 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to change this hack, so that you show a default image instead of a text message, to guests? I would certainly appreciate it, since I had such a hack in my old 3.0.xx site and I miss it.
Reply With Quote
  #33  
Old 12-18-2013, 10:22 PM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not working for vb 4.2.2
Can someone give a hand? I'm trying the code in different hooks, but still can't make it work
Reply With Quote
  #34  
Old 12-19-2013, 06:15 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine for me in 4.2.2. What is the problem you have?
Reply With Quote
  #35  
Old 12-19-2013, 06:47 PM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is hidding just a small number of images. Must images on posts of the threads are ignoring this hack. I'm looking for another mod that can give conflict, but none of them are using that hook ( postbit_display_start )
Reply With Quote
  #36  
Old 12-19-2013, 06:52 PM
Wajow-community Wajow-community is offline
 
Join Date: Dec 2009
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work for vbulletin 4.2.1??
Reply With Quote
  #37  
Old 12-19-2013, 07:37 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Acido, can you post a link to a page where some images are hidden and some are not?
Reply With Quote
  #38  
Old 12-19-2013, 08:27 PM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks sv1cec

Working Thread

Not Working Thread

Hope it help.
Reply With Quote
  #39  
Old 12-19-2013, 09:49 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I can see from your links is that you are using a different style than the default vBulletin one. Try creating a new style, using the default vB templates and see how that works. Also, please tell me if the pictures that are NOT shown, are attachments or externally linked pictures. It appears that the pictures shown are attachments (stored in your own server, not in Photobucket, or an other web server). Is the same true for the ones not shown?
Reply With Quote
  #40  
Old 12-19-2013, 09:58 PM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec View Post
What I can see from your links is that you are using a different style than the default vBulletin one. Try creating a new style, using the default vB templates and see how that works. Also, please tell me if the pictures that are NOT shown, are attachments or externally linked pictures. It appears that the pictures shown are attachments (stored in your own server, not in Photobucket, or an other web server). Is the same true for the ones not shown?
I'm sure it's no a Style issue. The default style have the same effect with the imagen. But i notice that the problem is with the attachments.. Not with external images. This is a link with the default style: Thread

Edit: is not working with external images too... Thread
Reply With Quote
  #41  
Old 12-20-2013, 08:35 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I checked my site and sure enough, visitors do not see photographs. Have a look here:

http://forum.m1911.org/showthread.ph...w-RIA-Tactical


In the first post, there are three images, stored in Photobucket and there are three attachments shown as thumbnails. Obviously the external images do not show, and from the list of the attachments you can't open one of them. So I guess it is something else, specific to your site.
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 12:41 AM.


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.06903 seconds
  • Memory Usage 2,327KB
  • 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
  • (1)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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