I`ve Maded the following 2 integrate 2 coppermine galleries:
First, I`ve Installed the 2 galleries normally, then I edited the config.inc.php and direct the 2 galleries to use the same DB, then all worked, when I log in in 1, it logs in the 2, but here the problems starts; when I create an album in one of the galleries, it create the same album in both, the same with cattegories and photos, plz someone help me or give me an detailed way to integrate the 2 galleries plz
??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ???
Sounds like you've shared more than the database - you've shared the same Coppermine tables. That's why a change in one reflects in the other. You can't share the user list but keep everything else separate. I don't understand why you'd want two installs of Coppermine to share the same userlist or the same database.
thats why I have a Messenger web, and 1 gallery is for avatars and 1 for emoticons
Why can't you have one Coppermine install, with two albums: one for emoticons and the other for avatars?
This is expected behaviour: if you tell coppermine to use the same database tables, it will do so. As albums are stored in the database tables as well, both galleries will share everything that's in the albums table. To actually split this apart, you will need different tables on the same database, then edit include/init.inc.php and modify the bits around$CONFIG['TABLE_PICTURES'] = $CONFIG['TABLE_PREFIX']."pictures";
$CONFIG['TABLE_ALBUMS'] = $CONFIG['TABLE_PREFIX']."albums";
$CONFIG['TABLE_COMMENTS'] = $CONFIG['TABLE_PREFIX']."comments";
$CONFIG['TABLE_CATEGORIES'] = $CONFIG['TABLE_PREFIX']."categories";
$CONFIG['TABLE_CONFIG'] = $CONFIG['TABLE_PREFIX']."config";
$CONFIG['TABLE_USERGROUPS'] = $CONFIG['TABLE_PREFIX']."usergroups";
$CONFIG['TABLE_VOTES'] = $CONFIG['TABLE_PREFIX']."votes";
$CONFIG['TABLE_USERS'] = $CONFIG['TABLE_PREFIX']."users";
$CONFIG['TABLE_BANNED'] = $CONFIG['TABLE_PREFIX']."banned";
$CONFIG['TABLE_EXIF'] = $CONFIG['TABLE_PREFIX']."exif";
$CONFIG['TABLE_FILETYPES'] = $CONFIG['TABLE_PREFIX']."filetypes";
$CONFIG['TABLE_ECARDS'] = $CONFIG['TABLE_PREFIX']."ecards";
$CONFIG['TABLE_TEMPDATA'] = $CONFIG['TABLE_PREFIX']."temp_data";
, make the two different installs share the same users and usergroups tables, but the rest must differ.
I agree with kegobeer though: I can't see a reason for two different installs.
Joachim