Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 07:23:34 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 2 [3]   Go Down
  Print  
Author Topic: Anti-Copy Mod : Complete Image Overlay, Hide Image Links, and other features...  (Read 21903 times)
0 Members and 1 Guest are viewing this topic.
pftq Topic starter
Contributor
***
Posts: 81


« Reply #40 on: January 20, 2008, 09:18:53 am »

Yes, you have to change the settings to match your site.

Example: sitename.com would actually be the name of your site

/gallery/albums/ should actually be the path to your albums folder.
Logged
wuschel_lux
Coppermine regular visitor
**
Gender: Male
Posts: 55


WWW
« Reply #41 on: January 20, 2008, 09:24:47 am »

I cahange it to
Code:
#Deny access to image files for those who figure out the code

RewriteEngine on

RewriteBase /albums/ #Path to pictures

RewriteCond %{HTTP_HOST} !^http://www.test.volleyball.lu/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.test.volleyball.lu/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https?://12.34.56.7890/.*$ [NC]  # This is site ip address, optional

RewriteCond %{REQUEST_URI} ^.*\.(gif|GIF|jpe?g|png|JPE?G|PNG)$

ReWriteRule (.*) /404 [L] # Where to send those snooping bastards...

But no result.
Logged
pftq Topic starter
Contributor
***
Posts: 81


« Reply #42 on: January 20, 2008, 09:39:56 am »

The IP address also has to be fixed, but let's focus on one issue at a time.

It's possible your server is not allowing the filetype to be added for whatever reason.  You can try adding the filetype extension .jfASjaweaxSPAt with MIME: application/x-httpd-php if you know how.

Otherwise try changing the extension of the jfASjaweaxSPAt file to .php instead and change it accordingly in the other files.

Remove the .htaccess files altogether and let me know what happens.
Logged
wuschel_lux
Coppermine regular visitor
**
Gender: Male
Posts: 55


WWW
« Reply #43 on: January 20, 2008, 10:22:41 am »

So I fixed the IP Address... Nothing changed

so now I changed the extension to .php and also changed it in imagix.php (included in themes).

Result, the pics are now shown on the site.
This are the good news but if I can access the file while typing the URL. But this is the main fuction I need.

If you want, I can you give access to the test site ... Just let me know, so I can send it by PM.
Logged
pftq Topic starter
Contributor
***
Posts: 81


« Reply #44 on: January 20, 2008, 10:28:11 am »

You can still hide the original files with the htaccess.  I just wanted to isolate the issue first.

But since the filetype does not get added anyways, you can remove the lines in the htaccess above:

#Deny access to image files for those who figure out the code

Have only one copy of the .htaccess, which should be in albums/ as originally.
Logged
wuschel_lux
Coppermine regular visitor
**
Gender: Male
Posts: 55


WWW
« Reply #45 on: January 20, 2008, 10:35:59 am »

jep this is good. Thanks a lot.

I let a copy of the htacces file in the album directory. I also change the "active" htacces to:
Code:
#Set your site to recognize your custom php file, if you change the extension

AddType application/x-httpd-php .jfASjaweaxSPAt.php

AddHandler application/x-httpd-php .jfASjaweaxSPAt.php

Now it seams to work. Maybe you can double check this. Great thanks!
Logged
tymex
Coppermine newbie

Gender: Male
Posts: 3



WWW
« Reply #46 on: July 03, 2008, 12:04:44 pm »

why on my page, in firefox thumbs are shown good, and in IE7 its shown a blank images (image.gif) ?
thanks for reply :]
Logged

Hello World
pftq Topic starter
Contributor
***
Posts: 81


« Reply #47 on: July 07, 2008, 03:36:52 am »

A link to your gallery would help. Wink

Do you see the same problem on my gallery here? www.pftq.com/gallery/
Logged
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.031 seconds with 16 queries.