coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: ninocass on May 29, 2006, 02:47:20 AM

Title: CPG 1.4.6 and IPB v2.1.6
Post by: ninocass on May 29, 2006, 02:47:20 AM
I have managed to bridge the forums and the gallery but im getting some other errors:

1: When i click on a link in the gallery it brings me to the forums profile rather than the gallery

2: When in a members profile and the user clicks on a picture from the random image section they get a file not found error

Quote
The selected album/file does not exist ! 

Coppermine install: http://www.airsoftireland.com/gallery/
Forum install: http://www.airsoftireland.com/forums/
Coppermine version: 1.4.6
Forum version: IPB v2.1.6
Test user account: test/test123

Your bridge settings
Forum URL:    http://www.airsoftireland.com/forums
Relative path to your BBS's config file:    ../forums/
Use post-based groups?:    1
Title: Re: CPG 1.4.6 and IPB v2.1.6
Post by: ninocass on May 29, 2006, 11:06:50 PM
okay ive had a hunt about concerning the incorrect links:

My member number on the forums is: 227

My gallery id number is: 10227

so my personal gallery is located at:

http://www.airsoftireland.com/gallery/index.php?cat=10227

i had a look at the bridging file and for username its linking to the forums profile

http://www.airsoftireland.com/forums/index.php?showuser=

so i changed this to

http://www.airsoftireland.com/gallery/index.php?cat=

the problem is its not adding in the leading "10" to make "10227"

now is there an easy way of fixing this?

thanks

Nino
Title: Re: CPG 1.4.6 and IPB v2.1.6
Post by: Tranz on May 29, 2006, 11:12:01 PM
Quote from: ninocass on May 29, 2006, 11:06:50 PM
the problem is its not adding in the leading "10" to make "10227"
It's not a leading 10. The formula is actually userid + 10000.
Title: Re: CPG 1.4.6 and IPB v2.1.6
Post by: ninocass on May 29, 2006, 11:33:29 PM
why didnt i think of that!!!!!!!! just finished my second year doing software engineering, i should have thought of that  :-[

so im assuming that somewhere in the bridge file this 10000 isnt being added on would you know where i could do this?
Title: Re: CPG 1.4.6 and IPB v2.1.6
Post by: ninocass on June 04, 2006, 12:10:42 AM
anyone any clues on this?

Thanks
Title: Re: CPG 1.4.6 and IPB v2.1.6
Post by: Nibbler on June 04, 2006, 12:40:05 AM
It's intended behaviour. The profile link redirects to the board's profile because the ipb bridge does not support displaying the profile details internally.