i updated to latest stable version on site(1.4.21, we had been hacked, i found rar files and thats what got me searching in here.
Just updating once you already have been hacked is not enough - you need to properly sanitize your site. Refer to the thread "
Yikes, I've been hacked! Now what?".
i got it bridged ok but all members albums are screwed up with the wrong names and pics in wrong albums 
That's expected behaviour. From the
docs:
Coppermine users, groups and pics uploaded by users are lost when integrating
Warning: If you already have users and custom groups in your coppermine database when you enable bbs integration, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!
In fact, they are not lost entirely, but correlation is lost, that's why the more advanced
docs for cpg1.5.x contain a slightly better explanation:
Coppermine users, groups and pics uploaded by users are lost when integrating
Warning: If you already have users and custom groups in your coppermine database when you enable bridging, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!
Detailed explanation:
As most community applications, coppermine stores everything that users (including the admin) do (like uploading pics, posting comments, rating files) inside the database. The reference to each user action is being kept using a unique user ID. The correlation between the user actions and the corresponding user profile is being kept by storing the user ID within each record in the database that determines the user action.
When bridging is enabled, coppermine's user management is being dropped in favor of the user management that comes with the application you bridge with. Subsequently, the user IDs from your bridging app (that differ from Coppermine's user IDs) are being taken into account.
Coppermine-user "Bill" has got the coppermine user ID "3". He used to upload several pics that went into the folder /albums/userpics/10003/. The URL of his personal gallery used to be http://yoursite.tld/your_coppermine_folder/index.php?cat=10003.
In the BBS application, the user "Linus" has got the user ID "3".
After enabling bridging, the URL http://yoursite.tld/your_coppermine_folder/index.php?cat=10003 points to the personal gallery of the user "Linus". All pics that Bill used to upload appear to be owned by Linus.
Summary:
Correlation between the actions that the unbridged coppermine users have performed and the "new" accounts from the app you bridged with is lost. Subsequently, you don't actually loose files that have been uploaded previously, but they appear to have been uploaded by a different user.
also we can log into forum as normal then visit the gallery and we are automatically logged in but as soon as we go back to the forum we are logged out and have to login again? must be a cookie thing?
Well, you have failed to do as suggested if you want bridging help. There's a sticky thread on the bridging support board named "
When requesting bridge support - mandatory!". There's a section in the docs that is named "
Bridging support". There's a reason why we have named them that way. Think about it, try to figure out why we named those section that way and if you should come to a conclusion, you might want to do as suggested there, based on the insight you got. And yes, you should do as suggested in the section "
Board rules / Forum policies: One Question per Thread" and start a new thread for your bridging question.