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: [Solved]: Coppermine opens full screen  (Read 3247 times)

0 Members and 1 Guest are viewing this topic.

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 106
[Solved]: Coppermine opens full screen
« on: March 18, 2004, 09:24:39 pm »

I have integrated CPG with phpBB, including sharing the members, which works well. Just one question: on my site I have a navigation frame on the left, CPG is shown in the right frame. After logging in CPG is shown full screen, the navigation bar has disappeared. How can I make CPG open in its omw frame only?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved]: Coppermine opens full screen
« Reply #1 on: March 19, 2004, 06:25:06 am »

link and test account (non-admin user, just to test the logon process)?

GauGau
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 106
[Solved]: Coppermine opens full screen
« Reply #2 on: March 19, 2004, 08:13:47 am »

Go to www.hydra-glide.net , select Pictures Gallery (new), username: gaugau, password: gaugau

Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved]: Coppermine opens full screen
« Reply #3 on: March 19, 2004, 08:27:40 am »

OK, I can see what you mean.
Please note: this is not related to coppermine, but to phpBB, since the phpBB login page sets the target for the redirect.
Here's what you do: edit /phpBB2/templates/subSilver/login_body.tpl and find
Code: [Select]
<form action="{S_LOGIN_ACTION}" method="post" target="_top">Replace it with
Code: [Select]
<form action="{S_LOGIN_ACTION}" method="post" target="the_name_of_your_content_frame">

GauGau

P.S. you should also apply the login redirect stuff that is discussed in http://forum.coppermine-gallery.net/viewtopic.php?p=13062 to send the visitor back to coppermine...
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 106
[Solved]: Coppermine opens full screen
« Reply #4 on: March 19, 2004, 09:25:40 am »

Thank you!
W.r.t. the redirect remark: I have a open question here in the forum, because I get a blank screen after implementing the required changes (http://forum.coppermine-gallery.net/index.php?topic=2972)
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 106
[Solved]: Coppermine opens full screen
« Reply #5 on: March 19, 2004, 10:18:51 am »

Changing _top into the name of the frame or into _self result into being logged in in phpBB, but not in CPG when you switch back. Somehow the login information is lost?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved]: Coppermine opens full screen
« Reply #6 on: March 19, 2004, 03:58:11 pm »

please see the thread that I posted before, and read it through carefully, especially the postings of EZ. If you can't get it to work, post on that thread. I'm locking this one.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.