PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old October 20th, 2005, 11:32 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Disable Hotlinking of files

How do I disable hotlinking of CERTAIN files(ot all) from my 3.5 Gallery?
Iridium1 is offline   Reply With Quote
Old October 20th, 2005, 01:26 PM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: Disable Hotlinking of files

Quote:
Originally Posted by Iridium1
How do I disable hotlinking of CERTAIN files(ot all) from my 3.5 Gallery?
Just to be sure... I'm assuming (ot all) should be (not all), right? If that's the case, are you trying to prevent images from being hotlinked that are in certain categories, uploaded by certain users, or what exactly?
  Reply With Quote
Old October 20th, 2005, 01:51 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Re: Disable Hotlinking of files

Quote:
Originally Posted by Brian
Just to be sure... I'm assuming (ot all) should be (not all), right? If that's the case, are you trying to prevent images from being hotlinked that are in certain categories, uploaded by certain users, or what exactly?
Well, images(pics) are fine. When we open the video tutorial section, I won't want any videos to be hotlinked. Is that possible?
Iridium1 is offline   Reply With Quote
Old October 20th, 2005, 03:24 PM   #4 (permalink)
Brian
Guest
 
Posts: n/a
Re: Disable Hotlinking of files

About the only way to do something like that would be to upload all of the images under a specific username, and then place a .htaccess file in the folder for that username.
  Reply With Quote
Old October 20th, 2005, 03:27 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Re: Disable Hotlinking of files

Does vba gallery make folders for users automatically?
Iridium1 is offline   Reply With Quote
Old October 21st, 2005, 09:44 AM   #6 (permalink)
Brian
Guest
 
Posts: n/a
Re: Disable Hotlinking of files

Yes, it stores the images pretty much the same way vB stores attachments. If the userid is 590, then the images for that user will be stored in gallery/files/5/9/0.
  Reply With Quote
Old October 21st, 2005, 11:53 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Re: Disable Hotlinking of files

I've just checked and mine isn't doing that Brian. They are only in the forums/gallery/files folder with NO subfolders like you mentioned. How do I fix this?

You have FTP access to my site, can you look or should I open a ticket?
Iridium1 is offline   Reply With Quote
Old October 21st, 2005, 12:32 PM   #8 (permalink)
Brian
Guest
 
Posts: n/a
Re: Disable Hotlinking of files

Admin CP => vBa Gallery => Maintenance => Change File Storage Method

Looks like you've used that option to move your files into the safe mode storage method. Your server is not running in safe mode though, so you can use the same option to move your files back into the regular storage method if you would like.
  Reply With Quote
Old October 21st, 2005, 01:22 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Re: Disable Hotlinking of files

Now, the last time I "accidentally" clicked this it messed my entire gallery up. I'm not sure, but it I think it was my fault since I closed the window before it finished.

Are you sure this will work OK for me?
Iridium1 is offline   Reply With Quote
Old October 22nd, 2005, 12:05 PM   #10 (permalink)
Brian
Guest
 
Posts: n/a
Re: Disable Hotlinking of files

If you don't close the window first then you shouldn't have a problem.
  Reply With Quote
Old October 22nd, 2005, 12:10 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Re: Disable Hotlinking of files

Quote:
Originally Posted by Brian
If you don't close the window first then you shouldn't have a problem.
What is the best way to back it up, prior to running this script. I want to do this so I don't have a problem
Iridium1 is offline   Reply With Quote
Old October 22nd, 2005, 12:26 PM   #12 (permalink)
Brian
Guest
 
Posts: n/a
Re: Disable Hotlinking of files

If you want to be completely safe, download all files/folders in your gallery/files directory, then make a backup of your adv_gallery_images table.
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hotlinking and .htaccess tmhall vBGallery Suggestions 25 February 12th, 2008 02:19 AM
hotlinking on same site DJDarknez Before You Buy 1 July 11th, 2005 10:05 AM
Watermark / hotlinking wattie Installs and Upgrade - vBulletin 3.0.X 9 June 14th, 2005 05:33 PM
Avoid Hotlinking Globalbuzz vBGallery Suggestions 14 February 23rd, 2005 01:22 PM
Image Hotlinking... MajorFm Installs and Upgrade - vBulletin 3.0.X 11 February 20th, 2005 11:14 AM


All times are GMT -5. The time now is 09:17 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0