coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 pnCPG (Coppermine for postNuke/Zikula) => Topic started by: serdas on March 11, 2006, 05:51:04 AM

Title: database
Post by: serdas on March 11, 2006, 05:51:04 AM
i am sorry i don't know where this question should be but
i have two different Coppermine intalled in my server (one data base)
under two different logical name
my qestion is is there anyway if one person signs up for one can they sign in with the other installation witout registering to it
is there anyway to connect data base only for one user name and passwordstable even though database prefix are different

i hope i explained my self
thanks
Title: Re: database
Post by: casNuy on March 11, 2006, 11:54:52 AM
You have the software installed twice, pointing to the same database using diffrent prefixes. Now you want users automatically to be able to access both instalations without registering again ?
I do not think this is standard functionality but you always can copy the contents of the usertable on a regular base. Thisd you should able to automate through a simple script and a cron job.

Cas
Title: Re: database
Post by: serdas on March 11, 2006, 02:14:20 PM
yes you undurstood exaclly
is there anyplace that i can get that script from
would it do it instently so after registering if the person go to second installation
what would be the time frame

thanks
Title: Re: database
Post by: casNuy on March 11, 2006, 04:52:05 PM
Ha, that part you did not understood. That script is not there, you would need to create it and setup a scheduled task (windows) or Cron-jon (linux) to execute the script.
Why would you actually want this ?

Cas