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: Coppermine vs PunBB ... the war has begun :(  (Read 3862 times)

0 Members and 1 Guest are viewing this topic.

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Coppermine vs PunBB ... the war has begun :(
« 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 ?

djsckizo

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
  • Potato.
Re: Coppermine vs PunBB ... the war has begun :(
« Reply #1 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.
Logged
Fake Super Hero

Nibbler

  • Guest
Re: Coppermine vs PunBB ... the war has begun :(
« Reply #2 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.
Logged

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Re: Coppermine vs PunBB ... the war has begun :(
« Reply #3 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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine vs PunBB ... the war has begun :(
« Reply #4 on: September 24, 2004, 09:02:42 pm »

edit include/init.inc.php, find
Code: [Select]
if (mysql_num_rows($result)) {
    pageheader($lang_error);
    msg_box($lang_info, $lang_errors['banned']);
    pagefooter();
    exit;
}
mysql_free_result($result);
and replace with
Code: [Select]
/*
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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.