vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Hide Images from Guests (https://vborg.vbsupport.ru/showthread.php?t=256054)

ForumsMods 12-27-2010 10:00 PM

Hide Images from Guests
 
1 Attachment(s)
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.

demonfatal 12-28-2010 03:04 PM

Installed & Rated!

AURFSCAN 12-28-2010 04:57 PM

good idea and works for linked images but needs a lil work

doesnt seem to want to play nice with MARCO1 hideall mod
and
doesnt work at all with Sevenskins Image resizer


tagged and thx


:)

demonfatal 12-28-2010 05:40 PM

Strange, works fine for me with "SevenSkins Image Resizer 1.3" and "MARCO1 Hide links for visitors..."

OldSchoolDSL 01-17-2011 12:42 PM

Installed

4.1 PL2 (test site 4.1.1)

creative-friend 02-02-2011 08:17 PM

which images does it hide??

attachments?? attachments area alreaady disabled for guests

i want other images to hide from guests...

ForumsMods 02-02-2011 09:40 PM

Quote:

Originally Posted by creative-friend (Post 2157934)
which images does it hide??

attachments?? attachments area alreaady disabled for guests

i want other images to hide from guests...

All images (non smilies) posted in messages are hided

AURFSCAN 02-03-2011 04:33 AM

doesnt seem to want to play nice with MARCO1 hideall mod
and
doesnt work at all with Sevenskins Image resizer


with a couple of phrase changes and a smack to the backside of my browsers head this works fine with both.

thx for the mod :)

archet1337 08-06-2011 10:13 AM

Brilliant! Just what I was looking for. Thanks for sharing :)

etca 08-06-2011 11:37 AM

installed on 4.1.5 n works on me

Khriz 12-07-2011 09:34 PM

no work on 4.1.8 xD

JohnSG 05-23-2012 08:24 AM

Not working on 4.1.10 either

JohnSG 05-24-2012 06:41 AM

Got it to work....kinda, it works on some posts but not others, anyone else getting that, anyone know of any reason why it would be doing that. I had first thought it may be the difference between url link and attached image, but no its totally random.

FIM 05-25-2012 05:34 AM

Not working in vBulletin 4.1.12

cuco88 06-18-2012 07:01 AM

not working in 4.2.0 either...

iadventure 07-13-2012 08:40 PM

how do I change the message it gives?

ForumsMods 07-13-2012 09:16 PM

Quote:

Originally Posted by iadventure (Post 2347755)
how do I change the message it gives?

Edit hideimg_message phrase

iadventure 07-13-2012 09:22 PM

thx!!!

iadventure 07-13-2012 09:29 PM

worked on 4.1.10 and 4.1.12

del Drago 07-20-2012 03:50 AM

So this doesn't work on 4.2?

Is there another way to accomplish this?

magnaromagna 07-30-2012 07:42 AM

Installed, and worked sometimes.
Re-installed, did not work

Is it works on 4.2?

Draffi 09-01-2012 11:53 PM

Dont work with vb-Suite 4.2!

rady 10-28-2012 02:49 PM

I am about to upgrade to 4.2 but i need this mod to work :(

john7911 03-30-2013 09:34 PM

Looking for this for 4.2.0.
Thank you ;)

M.C. 04-22-2013 07:59 PM

works as charm on 4.2 pl3

War Machine 06-18-2013 06:53 PM

It works on 4.2.0, but i have a problem with spiders, it affect seo research!!!

cric2k 11-15-2013 09:03 AM

Doesn't work on 4.1.9, [ IMG ] code still displays embeded images from other site?

cric2k 11-15-2013 09:27 AM

I've figured out that the "$this->post['pagetext_html'] =.." is not referencing the postbit code in the plugin php.

Edit: "$this->post['pagetext_html'] =.." contains the html and is replacing the characters to give the Guest error message, but it is not actually affecting the postbits which are displayed on the final page, either it is being over-written in later executed code or the actual outputted html is populated in another variable.

cric2k 11-18-2013 11:56 AM

For anyone else who can't get this working, or is struggling to get it to work on all threads - I found another plugin was fighting with it - and also modify the plugin so that it also references the 'pagetext' variable which was for some reason used in about half my threads, so... copy the $this->post['pagetext_html']... bit and paste a $this->post['pagetext']... version as well.

sv1cec 11-29-2013 10:48 AM

Does it show you the message it should show, or something like this:

Code:

<font color="red">Guests can not see images in the messages. Please register in the forum by clicking <a href="register.php"><strong>here</strong></a>.</font>]
Never mind, figure this out, the phrase should be entered in vBulletin language, not HTML. Here is what I entered and worked in 4.2.2:

PHP Code:

[COLOR=Red][SIZE=5]No Images for Guests.[/SIZE][/COLOR


sv1cec 12-16-2013 09:17 AM

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.

Acido 12-18-2013 10:22 PM

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 :(

sv1cec 12-19-2013 06:15 PM

Works fine for me in 4.2.2. What is the problem you have?

Acido 12-19-2013 06:47 PM

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 )

Wajow-community 12-19-2013 06:52 PM

Doesn't work for vbulletin 4.2.1??

sv1cec 12-19-2013 07:37 PM

Acido, can you post a link to a page where some images are hidden and some are not?

Acido 12-19-2013 08:27 PM

Thanks sv1cec

Working Thread

Not Working Thread

Hope it help.

sv1cec 12-19-2013 09:49 PM

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?

Acido 12-19-2013 09:58 PM

Quote:

Originally Posted by sv1cec (Post 2469557)
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

sv1cec 12-20-2013 08:35 AM

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.


All times are GMT. The time now is 06:39 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.01335 seconds
  • Memory Usage 1,792KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete