Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: What file do i need to edit...  (Read 3971 times)

0 Members and 1 Guest are viewing this topic.

futbol4kee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
What file do i need to edit...
« 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
« Last Edit: January 16, 2005, 11:34:00 pm by donnoman »
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: What file do i need to edit...
« Reply #1 on: January 16, 2005, 11:31:17 pm »

The documentation is the best place to start

http://coppermine.sourceforge.net/manual.php#integrating
Logged

futbol4kee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: What file do i need to edit...
« Reply #2 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.
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: What file do i need to edit...
« Reply #3 on: January 17, 2005, 03:53:14 am »

In init.inc.php find:
Code: [Select]
$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.



Logged

futbol4kee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: What file do i need to edit...
« Reply #4 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
Logged

Nibbler

  • Guest
Re: What file do i need to edit...
« Reply #5 on: January 17, 2005, 03:07:21 pm »

Code: [Select]
$CONFIG['TABLE_USERS']                = 'nuke_users';
 :-\\
Logged

futbol4kee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: What file do i need to edit...
« Reply #6 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?
Logged

Nibbler

  • Guest
Re: What file do i need to edit...
« Reply #7 on: January 17, 2005, 04:32:16 pm »

No. Coppermine doesn't touch the board at all with bridging.
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 20 queries.