how i can user coppermine with phpbb? how i can user coppermine with phpbb?
 

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

how i can user coppermine with phpbb?

Started by g13Nio, March 07, 2004, 06:43:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

g13Nio

i want to use coppermine for my phpbb forum,
i want my phpbb users have the same user on the coppermine,
is it that imposibol?
and if yes how?

Casper

Yes you can.  The instructions are in the readme, in the docs folder of your cpg download.

Also see, and read thoroughly these threads;

http://forum.coppermine-gallery.net/index.php?topic=1841
http://forum.coppermine-gallery.net/index.php?topic=2972
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

g13Nio

i have my phpbb in www.mysite.com/index.php this is my phpbb index
and i have www.mysite.com/photosonline

then cpg_redir.php is at www.mysite.com/index.php ?

and what i must write on this:

<?php 
$cpg_host
=$_SERVER['HTTP_HOST'&#93;; 
$cpg_path='/gallery'
header&#40;"Location&#58; http&#58;//".$cpg_host.$cpg_path&#41;; 
exit; 
?>


i want i must write to this:


// HTML code for login/logout redirection
DEFINE("REDIR1",'<HTML><BODY onLoad="document.redir.submit();"><FORM NAME="redir" METHOD="post" ACTION="');
DEFINE("REDIR2",'login.php');
DEFINE("REDIR3",'?redirect=cpg_redir.php"><INPUT TYPE="hidden" NAME="redirect" VALUE="cpg_redir.php"></FORM></BODY></HTML>');
// Login
function udb_login_page()
{
echo(REDIR1.PHPBB_WEB_PATH.REDIR2.REDIR3);
exit();
}
// Logout
function udb_logout_page()
{
echo(REDIR1.PHPBB_WEB_PATH.REDIR2.'?logout=true'.REDIR3);
exit();
}


thnx.. :roll:

Joachim Müller

read the threads that deal with phpBB integration (casper already pointed you into this direction) thoroughly. Read them again. Then read the postings of EZ once more, aloud. If you still can't figure out what to do, reply on the threads that already deal with the problem, instead of replying to this very thread...

GauGau