coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: futbol4kee on January 16, 2005, 10:49:53 PM

Title: What file do i need to edit...
Post by: futbol4kee on January 16, 2005, 10:49:53 PM
All i want is for coppermine to take its users and user groups and what not from a different table than default...

Thanks
Title: Re: What file do i need to edit...
Post by: donnoman on January 16, 2005, 11:31:17 PM
The documentation is the best place to start

http://coppermine.sourceforge.net/manual.php#integrating
Title: Re: What file do i need to edit...
Post by: futbol4kee on January 17, 2005, 02:23:12 AM
im not integrating with any of those boards. im just wondering if i can edit a file to tell coppermine to look for a certain table for users and what not.
Title: Re: What file do i need to edit...
Post by: donnoman on January 17, 2005, 03:53:14 AM
In init.inc.php find:

$CONFIG['TABLE_USERS']                = $CONFIG['TABLE_PREFIX']."users";


Set it however you like.

You will have to make sure the table schema matches coppermines EXACTLY for each column that coppermine defines.



Title: Re: What file do i need to edit...
Post by: futbol4kee on January 17, 2005, 03:05:01 PM
hmmm thanks but this would just allow me to change cpg_users to like cpg_userusers. I want to change it to nuke_users. can this be done? the tables are the same
Title: Re: What file do i need to edit...
Post by: Nibbler on January 17, 2005, 03:07:21 PM
$CONFIG['TABLE_USERS']                = 'nuke_users';

:-\\
Title: Re: What file do i need to edit...
Post by: futbol4kee on January 17, 2005, 04:26:15 PM
ok thanks. but why do they need to be same. wouldnt it work if i inserted the values of the cpg132_users to the nuke_users? i mean isnt that how the integration with like phpbb works?
Title: Re: What file do i need to edit...
Post by: Nibbler on January 17, 2005, 04:32:16 PM
No. Coppermine doesn't touch the board at all with bridging.