forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: John on October 16, 2003, 01:40:03 am

Title: solution: Gallery AND phpbb - How to frame redirect on login
Post by: John 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
Title: solution: Gallery AND phpbb - How to frame redirect on login
Post by: Joachim Müller 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