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 ?
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.
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.
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
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