coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Rodinou on September 22, 2004, 11:58:02 PM

Title: Coppermine vs PunBB ... the war has begun :(
Post by: Rodinou on September 22, 2004, 11:58:02 PM
Hello

So ... simply.

I have read the doc of Coppermine ...

I have in init.inc.php

// define('UDB_INTEGRATION', 'woltlab21');
define('UDB_INTEGRATION', 'punbb');                   >> erase the 2 commas ...

OK ...

I have created the redir.php I have put in punBB dir'

always in init.inc.php

// URL of your punbb
$path = 'http://sortons.net/forum/';

// local path to your punbb config file
require_once('../forum/config.php');

There are my paths ... I have read it would be better to erase the www.

OK ...

I login in coppermine ...

the redirection goes to the forum ... and after login, STAYS in forum :( (instead of going in its first position of login ? I don't know)

But the joke comes ...

when I want to go to coppermine, I'm banned !

Incredible isn't it ???

Where am I wrong ?

Title: Re: Coppermine vs PunBB ... the war has begun :(
Post by: djsckizo on September 23, 2004, 09:17:29 PM
Sounds like your user levels are off. I use Invisionboard, and with it, the user levels are 1) Admin, 2) User, 3) Validating, 4) Banned....yours may have coppermine set as 4 being admin, and 1 being banned (or, in this example that is what it could be). Check that out and see if it might be the problem.
Title: Re: Coppermine vs PunBB ... the war has begun :(
Post by: Nibbler on September 23, 2004, 10:49:23 PM
Try commenting out the ban enforcement code from your init.inc.php and sync groups with the groups manager. Redirection after logout isn't supported by punbb, but I'm sure it's possible to hack that in yourself.
Title: Re: Coppermine vs PunBB ... the war has begun :(
Post by: Rodinou on September 24, 2004, 02:44:28 PM
Really, I don't understand anything ... my english is too bad to see the real sense of your sentences :(

But to synchronize groups since CPG, I have to log in no ? and if I log in, I'm considered like banned ...

so ... I don't see the solution
Title: Re: Coppermine vs PunBB ... the war has begun :(
Post by: Joachim Müller on September 24, 2004, 09:02:42 PM
edit include/init.inc.php, findif (mysql_num_rows($result)) {
    pageheader($lang_error);
    msg_box($lang_info, $lang_errors['banned']);
    pagefooter();
    exit;
}
mysql_free_result($result);
and replace with/*
if (mysql_num_rows($result)) {
    pageheader($lang_error);
    msg_box($lang_info, $lang_errors['banned']);
    pagefooter();
    exit;
}
*/
mysql_free_result($result);
- that's what Nibbler suggested.

Joachim