Good evening :)
Here is my Problem:
I have install Coppermine with bridge to phpBB2.
Some Infos:
Link to Gallery: http://www.fotobude.net
Link to Forum: http://www.fotobude.net/phpBB2
cpg_redir.php:
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
The Rediriction works fine, so i think there is no problem.
When i log in as Admin and go to the Group-Admin in Gallery there happen nothing. No Users/Groups from phpBB works in Gallery. No Users/Groups from Gallery works in phpBB.
I become no error message. So I don't know what the Problem is.
I have disable the Forum integration, because the Users from Gallery can't login then.
I hope you understand my problem (My english isn't so good ;) )
Testuser:
Name: MrOrange
Pass: test123
post your bridge file changes, with the password replaced with asterisks.
Here my bridge file:
// ------------------------------------------------------------------------- //
// phpBB2 Integration for Coppermine //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation //
// ------------------------------------------------------------------------- //
// database configuration
define('PHPBB_DB_NAME', '*****'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', '*****'); // 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', '/phpBB2/');
// 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
hm, there is little we can do unless you enable bridging to let us see what actually goes wrong.
A friend told me that the bridge synchronizes only the groups (and them only in one way) and not the user.
How can I import existing user in phpbb?
u dont import users, the data is dinamically taken form the phpbb tables and user authorization, only groups are imported
Yes, but the users in coppermine can't log in after bridging. I need a method to import the coppermine users into phpbb
Well, the whole point of bridging is that the coppermine users are no longer being taken into account when turning bridging on. Your bbs users are then taken into account. That's the way the bridge file works. However, I think there has been a mod that wwill convert users from coppermine to phpbb, never looked into it though.
Okey...
i have import my coppermine users manual. But it seems to me, that something goes wrong.
Can you look at page again? http://www.fotobude.net || http://www.fotobude.net/phpBB2/
User: MrOrange || Pass: test12345
User can register, and user can login!
But when I edit the groupnames over the coppermine admin-interface from english to german..next time I login, they are in english...the changes are not taken over!
And how can i put users in special groups (make in coppermine), who have more upload-space for example? Can't find anything about this in board/Documentation
You admin the group names and create new groups via your forum.
Yes, but the 4 coppermine standart groups (members, Banned, Guest, Admin) are not listen in the admin-panel of phpBB.
How can i rename them? When I edit them in coppermine, the changes are not taken over.
of course they don't show up in phpbb, as phpbb doesn't "know" about coppermine groups. That's why there's a definition in the bridge file that "tells" coppermine what phpbb groups equal the built-in coppermine groups:// Group definitions
define('PHPBB_ADMIN_GROUP', 1);
define('PHPBB_MEMBERS_GROUP', 2);
define('PHPBB_GUEST_GROUP', 3);
define('PHPBB_BANNED_GROUP', 4);
OK, thank you very much!
I think it work now :)
One problem left (but I think this problem havn't to do with bridging):
The disk quota i set per group does not work. The users can upload more than the quota set to. Where is the problem?
one question per thread please, you agreed to respect this policy when signing up! The quota is being taken into account for uploads to the user galleries - it's not being taken into account for uploads to public albums: maybe that's what is confusing you.