coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: sonic393 on April 05, 2007, 03:37:33 PM

Title: Adding a "My Garage" link in SMF
Post by: sonic393 on April 05, 2007, 03:37:33 PM
Hi, i've searched trough the forums, but after an hour of doing this, i gave up.

I've installed the forum (in a test environment, with a couple test users). My coppermine gallery is allready brigded to SMF 1.1 and the template is changed. the only thing I still want to add is al direct link to the users gallery from within SMF. Since it's a car-base website, I want to use the "My Garage" link,but i don't know how to get the user ID's out of coppermine to my SMF template.

I tried the line :

<a href="/gallery/index.php?cat='.(10000 + $row['ID_MEMBER']).'"><b>My Garage</b></a>

Since the coppermine gally starts counting at 10000, and i just want to literally add the user ID from SMF to that number. This isn't happening. Anyone got an idea?

Thanx !
Title: Re: Adding a "My Garage" link in SMF
Post by: sonic393 on April 05, 2007, 03:50:30 PM
Sorry for the disturbance... I actually found it..

For anyone interested :

<a href="/gallery/index.php?cat='.(10000 + [b]$message['member']['id'][/b]).'"><b>My Garage</b></a>
Title: Re: Adding a "My Garage" link in SMF
Post by: Joachim Müller on April 05, 2007, 05:09:57 PM
Not related. Shouldn't have been posted here in the first place. You're talking about modifications of the code of a third-party-app (SMF) that goes unsupported here.
Title: Re: Adding a "My Garage" link in SMF
Post by: sonic393 on April 05, 2007, 05:33:40 PM
My apologies... i thought because the coppermine forum actually used the SMF forum, th
Title: Re: Adding a "My Garage" link in SMF
Post by: sonic393 on April 05, 2007, 05:34:26 PM
that it would be a question i could ask..