Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: User name not visible in Image View (displayimage.php) SMF  (Read 7317 times)

0 Members and 1 Guest are viewing this topic.

Sebastyne

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26

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. :)
Logged

Sebastyne

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: User name not visible in Image View (displayimage.php) SMF
« Reply #1 on: May 30, 2010, 02:42:40 pm »

It was a template issue after all.  :p
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.