Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: cpg132 and cpg132 share Table_users?  (Read 2941 times)

0 Members and 1 Guest are viewing this topic.

MDxRacing

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
cpg132 and cpg132 share Table_users?
« on: October 06, 2004, 02:55:33 pm »

First of all your coppermind 1.32 is awsome :)
I have up an running one cpg132 site , and to many categories.
would like to load a nother cpg132 as cpd132b with different database , but share the first cpg132 database Table_users  only.
Is that Possible?

Both cpg132 and cpg132b would be the same database just the prefix_ would be different.

Thanks
MD
 
« Last Edit: October 06, 2004, 03:06:47 pm by MDxRacing »
Logged

Nibbler

  • Guest
Re: cpg132 and cpg132 share Table_users?
« Reply #1 on: October 06, 2004, 03:16:05 pm »

You can try.

include/init.inc.php

Code: [Select]
$CONFIG['TABLE_USERS']                = $CONFIG['TABLE_PREFIX']."users";
Change that line to whatever you want the users table to be pointing at.
Logged

MDxRacing

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: cpg132 and cpg132 share Table_users?
« Reply #2 on: October 06, 2004, 05:48:57 pm »

Thanks
I tried a few different code lines , nothing worked
could you give me a hint on what to change.

This Is what i tried below

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

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

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

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

Thanks
MD
« Last Edit: October 06, 2004, 05:54:29 pm by MDxRacing »
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.