Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Sep 2004, 20:36
memobug memobug is offline
 
Join Date: Jun 2002
Guests see thumbnails but can't download attachments

I am not sure if this could be done in templates alone, but I would like to make it possible for guests to see thumbnails of attachments, but they would need to register to download the actual attachment.

I have prohibited guests from downloading attachments mainly for bandwidth reasons, but I don't see why they should not be able to see the thumbnails, like they can in PhotoPost gallery.

I don't mind the small bandwidth hit for thumbnails, plus, they are excellent 'teasers' to encourage registration.

Can this be done in templates or would it take a hack?

Regards,

Matt
Reply With Quote
  #2  
Old 19 Sep 2004, 21:04
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
use this in the postbit_attachmentthumbnail template


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

there other if conditions that you can use! but thats what I use! also theres hack like this if you do a search!

this however doesnt stop people from making a manual link to the image to view a larger version! e.g. http://www.hardwareforums.com/showthread.php?t=2267

I hope this helps!
Reply With Quote
  #3  
Old 19 Sep 2004, 21:08
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
oh and heres the hack http://www.vbulletin.org/forum/showthread.php?t=67887
Reply With Quote
  #4  
Old 25 Sep 2004, 08:35
memobug memobug is offline
 
Join Date: Jun 2002
Originally Posted by -=Sniper=-
use this in the postbit_attachmentthumbnail template

this however doesnt stop people from making a manual link to the image to view a larger version! e.g. http://www.hardwareforums.com/showthread.php?t=2267

I hope this helps!
Thank you but this wasn't working for me. After changing the template, I still got the text links for guests. I even tried to enable downloads for guests. Then I got the thumbnails, but guests could get the large version too.

So there must be something I am doing wrong, or something else I need to do to make this work besides changing one template.

Thanks,

Matt

P.S. I have no problem if they can link around manually. I am doing this mainly for bandwidth limits, not security.
Reply With Quote
  #5  
Old 25 Sep 2004, 12:28
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
try using this in the same template


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 09:39.

Layout Options | Width: Wide Color: