Adding a "My Garage" link in SMF Adding a "My Garage" link in SMF
 

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

Adding a "My Garage" link in SMF

Started by sonic393, April 05, 2007, 03:37:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sonic393

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 !

sonic393

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>

Joachim Müller

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.

sonic393

My apologies... i thought because the coppermine forum actually used the SMF forum, th

sonic393

that it would be a question i could ask..