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: Memberlist Question  (Read 5844 times)

0 Members and 1 Guest are viewing this topic.

globalfisher

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Memberlist Question
« on: October 02, 2004, 05:21:14 am »

Ok I just installed the photo gallery, I think the latest version but anyway. I have a phpbb forum and I was wondering if there is a way to get the memberlist from that onto my photo gallery that I just installed. It would be easier if my members didnt have to re-register for the gallery, Can anyone help me?
« Last Edit: October 04, 2004, 05:30:43 am by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Memberlist Question
« Reply #1 on: October 02, 2004, 05:53:32 am »

Have you read the documentation that comes with Coppermine (in the docs directory)?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

globalfisher

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Memberlist Question
« Reply #2 on: October 02, 2004, 07:44:42 am »

I get a access denied error when I go through the process....
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Memberlist Question
« Reply #3 on: October 02, 2004, 07:55:28 am »

post the actual error, together with a link to your site, a test user account (non-admin).

Joachim
Logged

globalfisher

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Memberlist Question
« Reply #4 on: October 02, 2004, 07:59:27 pm »

This is the error:

Coppermine critical error:
Unable to connect to phpBB Board database !

MySQL said: Access denied for user: 'root@localhost' (Using password: NO)

As for the name, you wont be able to check out the album cause of the error.
http://www.globalfisher.com/album/index.php

Logged

globalfisher

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Memberlist Question
« Reply #5 on: October 02, 2004, 08:01:03 pm »

I think one of the reasons is, I already installed the coppermine but didnt see the thing about the phpbb thing and I am just doing it now. So it will be installed twice right?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Memberlist Question
« Reply #6 on: October 02, 2004, 08:04:33 pm »

What will be installed twice?  If you have Coppermine installed, phpBB installed, and you follow the bridging instructions in the documentation, you should be ok.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Memberlist Question
« Reply #7 on: October 02, 2004, 08:10:34 pm »

Quote
didnt see the thing about the phpbb thing (emphasis mine)

Can you tell me what "thing" refers to?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

globalfisher

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Memberlist Question
« Reply #8 on: October 03, 2004, 02:53:55 am »

It refers to the steps on making the integration.
Logged

globalfisher

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Memberlist Question
« Reply #9 on: October 03, 2004, 08:34:16 pm »

Can anyone help me?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Memberlist Question
« Reply #10 on: October 03, 2004, 09:28:35 pm »

please  re-read this thread and do as suggested.

Joachim
Logged

globalfisher

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Memberlist Question
« Reply #11 on: October 03, 2004, 09:57:59 pm »

I got most of it working now, just when I ltry loggin in or loggin out it says page cannot be displayed. The users page works and everything else just not logging in.

Forum:
http://www.globalfisher.com/phpbb

Coppermine Gallery:
http://www.globalfisher.com/album/index.php

Test Account on phpbb forum:
Name: testing
Password: 1234

phpbb cookie settings:
cookie domain: its blank
cookie name: phpbb2mysql
cookie path: /
cookie secure: disabled
session lengths: 3600

cookie settings on coppermine:
cookie name: cpg132
cookie path: /

phpbb.inc file:
Code: [Select]
// database configuration
define('PHPBB_DB_NAME', 'global_xmb5'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'global_album'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '#####'); // The password to use to connect to the database

// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/phpbb/');
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', TRUE);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql'); // The prefix used for board cookies

// Prefix and names for the database tables
define('PHPBB_TABLE_PREFIX', 'phpbb_'); // The prefix used for the DB tables
define('PHPBB_USER_TABLE', 'users'); // The members table
define('PHPBB_SESSION_TABLE', 'sessions'); // The session table
define('PHPBB_GROUP_TABLE', 'groups'); // The groups table
define('PHPBB_UGROUP_TABLE', 'user_group'); // The group/user table

cpg_redir file
Code: [Select]
<?php
if (!$_SERVER['HTTP_HOST']) {
  
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/album/';
header("Location: ".$cpg_host.$cpg_path);
exit;
?>

Logged

globalfisher

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Memberlist Question
« Reply #12 on: October 04, 2004, 12:35:21 am »

I think I figured it out, I didnt have the "http://" in this coding:

<?php
if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/album/';
header("Location: ".$cpg_host.$cpg_path);
exit;
?>


Right after the word location:

It lets me login and logout with any member name from my phpbb board now!

Thanks Guys!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.