coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: najstnice on September 12, 2004, 05:15:10 PM

Title: standalone version connecting to phpnuke database
Post by: najstnice on September 12, 2004, 05:15:10 PM
Hi!
Is it possible (or has anyone done it) to connect a standalone version to a phpnuke database with the user data - I have a phpnuke site with a CMS cpg version 1.2 and now I would like to make another site with standalone version, new pics database, but sharing the nuke_users table , so the users would have access to both sites on two different servers. I managed to connect to the nuke database, the problem is that the user_name field in standalone is called username and there are two more fields user_group and user_grou_list that are not the same also user_active. Somhow I looked and found all the appearances of the fields mentioned above  in the standalone, but I still can't log in using the working nuke username - as if the username wouldn't exist. I know that I am connected to the nuke_users table since I don't get any mysql errors after changing the user_name into username.

Does somebody know what else to change?

p.s. I realy don't want to install phpnuke on yet another site since the standalone version looks much nicer...
Title: Re: standalone version connecting to phpnuke database
Post by: Joachim Müller on September 13, 2004, 10:16:12 AM
Coppermine stanalone uses bridge files to use login data from other applications that have user management. I suggest you take a look into the bridge files that already come with coppermine and try to modify one of them to come up with a solution for you. The big advantage of using the bridge file method (compared to directly hacking the coppermine core code) is that you won't lose all your modifications when a new coppermine version comes out - you simply apply the update and continue using coppermine with the login from the other app, without the need to re-apply your modifications. Please post your bridge file if you manage to come up with a solution.

Joachim
Title: Re: standalone version connecting to phpnuke database
Post by: nyoutdoors on November 15, 2004, 08:33:24 PM
I've altered the bridge file for phpbb with the appropriate information, but when I go to the coppermine gallery and click on "Memberlist," it only shows me and none of the other members.  Is this correct, or should it show the entire listing of members from phpbb?
Title: Re: standalone version connecting to phpnuke database
Post by: Joachim Müller on November 16, 2004, 06:00:50 AM
probably not correct, at least not the way it's expected to work. As we don't know what modifications you made nor how nuke works it's hard to recommend anything. You will have to try to improve the bridge file you have come up with, apparently it's not working. Maybe you can get help on some nuke support board...

Joachim
Title: Re: standalone version connecting to phpnuke database
Post by: nyoutdoors on November 20, 2004, 03:39:55 AM
I'm not using phpNuke any more.  This is strictly a stand alone coppermine album and strictly stand alone phpBB2 forums.

Would it help if I posted the code to in the bridge file?

Thanks
Title: Re: standalone version connecting to phpnuke database
Post by: Joachim Müller on November 20, 2004, 10:13:51 AM
yes, but not on this thread, as it is about the nuke db, not phpbb integration problems. You might want to browse/search this board first, integration issues have been reported in the past (many of them), and are mostly related to users not having read the documentation carefully.

Joachim
Title: Re: standalone version connecting to phpnuke database
Post by: nyoutdoors on November 24, 2004, 06:42:52 AM
Yeah, I just realized that it's a phpNuke thread.  Sorry.