standalone version connecting to phpnuke database standalone version connecting to phpnuke database
 

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

Main Menu

standalone version connecting to phpnuke database

Started by najstnice, September 12, 2004, 05:15:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

najstnice

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...

Joachim Müller

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

nyoutdoors

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?

Joachim Müller

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

nyoutdoors

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

Joachim Müller

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

nyoutdoors

Yeah, I just realized that it's a phpNuke thread.  Sorry.