solution: Gallery AND phpbb - How to frame redirect on login solution: Gallery AND phpbb - How to frame redirect on login
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

solution: Gallery AND phpbb - How to frame redirect on login

Started by John, October 16, 2003, 01:40:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

John

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

Joachim Müller

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