Opening Coppermine in popup window Opening Coppermine in popup window
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Opening Coppermine in popup window

Started by raymon, June 17, 2005, 01:38:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

raymon

The coppermine gallery is integrated into my phpbb forum

In the template of the forum I put the following link to the Coppermine Gallery:
<a href="http://www.yoursite.com/coppermine" class="mainmenu" onclick="window.open(this.href, 'gallery'); return false;">Gallery</a>

If added the popup feature above, I have to enter login information again (although I already registered at the forum).
If I made a normal link, there is not need to re-login.

How can I make Coppermine accessed through a popup window without the need to re-enter the login information.

Thanks for the great program


raymon

I am sorry ... I did not notice:

The phpbb forum is accessible through www.youregypt.com/forum
username: test
password: testtest

Once login ... you can click the gallery icon/link in the header, the Coppermine gallery will popup in a new window ... here you will have to re-login again using the same username and password, for which I don't know why.
Again if I made a direct link, you won't face such problem.

kegobeer

Easy fix.  Take a look at the URL in the new gallery window.  You have http://youregypt.com/forum/gallery instead of http://www.youregypt.com/forum/gallery.  That sets a completely different cookie.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

raymon

Thanks Kegobeer for the tip, it would have taken ages from me to figure out alone what went wrong ...
Only a "slash" solved everything ... :)
So in the link of the <a ref> tag I only added a slash after the gallery's name to be "/gallery/" instead of "/gallery" and it worked like wonder ... dont why though :)

Joachim Müller


raymon

Quote from: GauGau on June 18, 2005, 06:17:26 AM
it's not the slash, it's www.domain.com vs. domain.com

GauGau, I know ... I am talking about the reason for such change unaccounted for. In the links I never used the domain.com way, but it appears despite that. So I discovered that by adding the slash, the url never changes in the new oppoup window from www.domain.com to domain.com