Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Opening Coppermine in popup window  (Read 4539 times)

0 Members and 1 Guest are viewing this topic.

raymon

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Opening Coppermine in popup window
« on: June 17, 2005, 01:38:17 pm »

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
« Last Edit: June 18, 2005, 03:02:13 am by kegobeer »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Logged

raymon

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Opening Coppermine in popup window
« Reply #2 on: June 17, 2005, 07:16:59 pm »

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.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Opening Coppermine in popup window
« Reply #3 on: June 18, 2005, 12:14:16 am »

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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Opening Coppermine in popup window
« Reply #4 on: June 18, 2005, 02:48:53 am »

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 :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Opening Coppermine in popup window
« Reply #5 on: June 18, 2005, 06:17:26 am »

it's not the slash, it's www.domain.com vs. domain.com
Logged

raymon

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Opening Coppermine in popup window
« Reply #6 on: June 18, 2005, 10:08:34 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
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 15 queries.