CPG integration with IPB - Page 2 CPG integration with IPB - Page 2
 

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]

Main Menu

CPG integration with IPB

Started by Geeck, December 29, 2005, 02:26:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kegobeer

You will have to use a tool like phpMyAdmin to manually change usernames and userids for personal galleries, images, comments, etc to match the bbs userids and usernames.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Geeck

That's the problem!
I've changed MY user_id in "cpg_users" table to match this from forum's database. The "user_name" is the same in both databases. After this it still wrong! That's what i'm saying all the time. But GauGau said that Coppermine database is no longer used after bridging for that... All this is weird for me.

kegobeer

No, no, no, no.  You have to change the userids associated with the pictures, albums, etc, not the ids in the user table.  That means going thru the pictures table and manually changing the uid for each picture.  The same goes for albums.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Geeck

Now this makes sense... but I have sooo many numbers to change My God :)

kegobeer

Dump your bbs user table and your Coppermine user table.  Crossreference the userids.  Use phpMyAdmin to execute a query like this:


UPDATE TABLE cpg142_pictures SET uid=10099 where uid=10005


You will also have to update usernames where applicable.  As always, backup your database before proceeding.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Geeck

I must do:
* albums
* pictures
* comments

Is that all?

kegobeer

The comments table is author_id instead of uid.
There's nothing to change in the albums table, since they are assigned to categories.  You'll have to change the categories table's owner_id.
The favpics table is user_id.
The pictures table is owner_id and owner_name.

Several tables have a md5 hash applied to the owner_id/author_id - nothing to do about those.

Backup, make the changes, and see what happens!
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

ISBB

If anyone can get ahold of GeorgeCC he did a re-direction work around for me.. :D  This is w/ 1.3 and ipb 2.1.3 :D
Its gaurunteed.. until it breaks

Lifted trucks are like boob jobs, no matter what size shape or dimension they are always fun to look at.

Geeck

kegobeer: OK. I'll try today and tell if it helps.

Geeck

kegobeer: I've changed everything in database. Now it works perfectly! Thank You very much :)

Is it possible to use Coppermine User manager after bridging? At least to see currently used quota. Right now I don't have any possibilty to check that.

Joachim Müller


Geeck

Yes... all those issues concerns bridging.

Joachim Müller

different issues though. Locking this thread.