Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tippy

Pages: [1]
1
Installation, Update & Configuration / Re: media directory restrictions
« on: October 27, 2008, 09:34:40 PM »
Thanks for the quick reply V@no, much appreciated.

I did read through some of the posting in the "Pic Security" thread but from what I read there isnt a way to protect wmv/avi files unless I read it wrong, Im gonna go read the entire thread again.

I have to figure out some way to stop these people from directly accessing my /data/media files...

Thanks again,

Mike

2
Installation, Update & Configuration / Re: media directory restrictions
« on: October 26, 2008, 05:39:34 PM »
Hi guys ,
I have managed to find my solution , and this is the code i am using is below . hopefully this will help others . Put these codes in a .htaccess file under every directory u have under the media directory and upload the file .

Code: [Select]
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite.com/gallery/.*.php(/)?.*$     [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.mysite.com/gallery/ [R,NC]

What this will do :

this will allow you to prevent other sites from hotlinking your images . anyone trying to hotlink your images will now get get nothing .
Not just hotlinking from other site , my problem was : anyone copying the shortcut of the thumbnail files and changign the thumbnails to media , could easily be able to view the full images by Being a GUEST even !! . This will redirect those users to the homepage of your gallery ( u may change it to what u want ) .

Cheers

Sorry for dragging this back up to the top but I was trying to add this to my site to stop people from downloading my wmv/avi files directly from my site via viewing the page source and copying/pasting the direct data link.

Maybe Im not doing it right, my site is on an add-on domain, for example blah.hello.com, my gallery is installed in a sub folder blah/gallery.

I add this .htaccess file to all my directories under my media folder but when I try to watch a video it loads and just says ready, but the file doesnt play?

Anyone have any advice on how to make this code work?

Thanks,

Mike
ver : 1.7.4

3
I simply added it to my media html files above the player code...

4
Oh well, thanks for the info and super quick reply, appreciate it...

Mike

5
I run a Video Gallery using 4Images and would like to show the Videos length in hours/minutes on the details and thumbnail bit html, example " Length : 01:45 " rather then the size of the actual clip itself, is this possible, anyone have any ideas how to do this?

I tried to search for this subject but wasn't able to find any info...

Thanks much,

Mike
4Images V 1.7.2 with many mods...

6
Ive read through this post and noticed many people having problems with backslashes being added to their description html, is there a fix for this as Im having the same prob. after installing/using this mod backslashes are being added to links/html in the description field on details.html

Thanks,

Mike
v 1.7.2

7
I just uploaded a different player and changed the name in the <!-- Template file for FLV files --> frpm player.swf to the new one FLVPlayer.swf

I scrapped the whole idea of using FLV cause it seemed to slow my site down for some reason like when your watching a clip and hit the back button it seems to stall.  Plus I find the quality of these small FLV files very poor.

Perhaps its my setup, I dont know...

8
Hi :)

Ive just installed this MOD to be able to play FLV files but the player itself is kinda ugly, is there a way to change the look and features, like autostart etc...?

Thanks for any help you can provide,

Mike

PROBLEM SOLVED, I used a different player...

9
Discussion & Troubleshooting / Re: Ratings vs. Votes
« on: May 09, 2007, 10:17:28 PM »
Its an ez fix, just change the text in the main lang. file to something like "People have Rated this Image"

10
I know this is an old topic but it was what I found related to what I have done and want to do.

I added custom pages by simply copying the error.html page, added my content and renamed it as suggested in the last post.

My ? is can I make this new html page visable to registered members only, I dont want guests to see it, again I dont have a php page/file for these new custom html pages.  I did find a post about adding some code to the php page but like I mentioned, I didnt make php pages to match my html pages.

Im using version 1.7.2

Thanks for any help on the matter and sorry again for waking this thread,

Mike

Pages: [1]