forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Sebastyne on May 29, 2010, 05:49:15 pm

Title: User name not visible in Image View (displayimage.php) SMF
Post by: Sebastyne on May 29, 2010, 05:49:15 pm
I have the following issue when trying to bridge Coppermine 1.4.26 and SMF 1.1.11:
I am guessing this is a bridging problem, but I might be wrong. When viewing a singular image (image view) the user name of the owner of the photo is not displayed. I am sure that before I upgraded the Coppermine installation, it was viewable on the page, but it isn't anymore.

I'm guessing this part of the code in displayimage.php...

Code: [Select]
if ($CURRENT_PIC_DATA['owner_id'] && $CURRENT_PIC_DATA['owner_name']) {
        $owner_link = '<a href ="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">' . $CURRENT_PIC_DATA['owner_name'] . '</a> ';

...might have to be changed to point to the smf -user database somehow, but I'm not sure (how) so I'm asking.

I tried searching for an answer to this with every search term I could think of with no luck, I'm sorry if I a asking something obvious.


Coppermine install: http://www.thebdoll.com/gallery
(Example of the Image view: http://www.thebdoll.com/gallery/displayimage.php?pos=-21350 )
Forum install: http://www.thebdoll.com/forum/
Coppermine version: cpg1.4.26
Forum version: SMF 1.1.11
Test user account: Testihenkilo / hoplallaa (Login on the front page, everything is goes through Joomla.)

BridgeManager settings:
Forum URL:  http://www.thebdoll.com/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  1
Cookie name/preifx (if applicable)

Hope you can help, and thank you. :)
Title: Re: User name not visible in Image View (displayimage.php) SMF
Post by: Sebastyne on May 30, 2010, 02:42:40 pm
It was a template issue after all.  :p