Hi all,
i ve discussed this on phpkit and they have no functionasl idea to secure the gallery and integrate ..that means :
I would like to denie the access to index.php of cpg when people want to access from outside my page oder directly to the gallery ...ONly registered members of my homepage can access and see the pics in the gallery !!!
Please help !!!
Although I have no idea what phpkit is, you could try with some advanced mod_rewrite stuff in a .htaccess file (provided you're on an apache webserver and you webhost wil let you do this) - in fact you're trying to deny hotlinking. There have been some postings on this - search the board.
GauGau
And to stop unregistered users browsing your pics, try this thread, http://forum.coppermine-gallery.net/index.php?topic=3503
http://phpkit.de - the website is mostly in German - so apart from the fact that it is a CMS of sorts I could not understand much
Yes PHPKIT is a CMA like Postnuke or PHPnuke ..its simpler than these to install an to administrade ...
Let me explain my problem again ...
The CMS ist the main Programm on my site ..the gallery is added ...now people must be register to the CMS ....to see the pics ..but some people found out the direkt link to the gallery ..so that they not register to the CMS ...this is the fact i would like to change ....
Idea : change the index.php from cpg to gallery.php or something like that ....Now i must know which files i have to change too that all links works with the new name of the file !!! and ....
How can i stop that the complete link is shown in Browser !!!
Quote from: "idlop"Idea : change the index.php from cpg to gallery.php or something like that ....Now i must know which files i have to change too that all links works with the new name of the file !!! and ....
You would have to change an awfull lot of files - not recommended. Instead, create a bridge file for phpkit (the same way the brdige files for bbs's work). Once this is done and the coppermine "knows" if people or logged in to your portal site or not, deny them access without being logged on (see the thread casper refered to)
Quote from: "idlop"How can i stop that the complete link is shown in Browser !!!
You can't. Although you could put coppermine into a frame or iframe that fills up the whole page, disguising the url in the browser's address bar is not a good idea, and you'll experience some serious disadvantages (like search engine "unfriendliness", missing bookmarks etc.).
Go for the bridge file, that's the best solution!
GauGau