Coppermine vs PunBB ... the war has begun :( Coppermine vs PunBB ... the war has begun :(
 

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]

Main Menu

Coppermine vs PunBB ... the war has begun :(

Started by Rodinou, September 22, 2004, 11:58:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rodinou

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 ?


djsckizo

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.
Fake Super Hero

Nibbler

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.

Rodinou

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

Joachim Müller

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