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: solution: Gallery AND phpbb - How to frame redirect on login  (Read 5317 times)

0 Members and 1 Guest are viewing this topic.

John

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 75
solution: Gallery AND phpbb - How to frame redirect on login
« on: October 16, 2003, 01:40:03 am »

Coppermine and phpbb users:

So anyway i didnt like how when i logged into phpbb i had to write the URL for the gallery in IE again to get back to gallery, so I did this:

QUICK AND DIRTY SOLUTION

I used a frame as a header, its not redirecting no , but i have 2 links at the top, one for the gallery and one for the board, you can switch between the 2 when your logged in it workes a treat. To do it you need to do this with you phpbb forum...

what you will need to do is find in the login_body.tpl and index_body.tpl similar code to this

Code:

<form action="{S_LOGIN_ACTION}" method="post" target="_top">
 


change that target to _self. The code snippet may not look like this in the index_body.tpl so you may only need to change it in the login_body.tpl. Both are found in you templates directory

.

If anyone actually writes in links to both coppermine and phpbb, on their actual pages, rather than a header frame, please make it available, I dont have time to do it myself..

John

see it here: http://www.aussierats.net/phpbb2/forum.asp
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
solution: Gallery AND phpbb - How to frame redirect on login
« Reply #1 on: October 16, 2003, 08:43:04 am »

well, you could edit /themes/yourtheme/template.html and add a link to phpBB. Then you edit /phpBB/templates/subSilver/overall_header.tpl and insert a link to coppermine. No frame needed!
But this doesn't fix the login/logout issue, it's merely cosmetic.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 18 queries.