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: Users Online plugin help  (Read 3754 times)

0 Members and 1 Guest are viewing this topic.

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Users Online plugin help
« on: August 07, 2008, 12:14:34 am »

searched and nothing.

I have an smf bridge and I am running the users online plugin which is very nice, but when it shows the users online and you click there name it takes you to a coppermine profile page even if the user is not in the coppermine bd, how can I tell it to go to the smf profile page? I looked through the codebase but my coding skills are not quiet that advanced.
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: Users Online plugin help
« Reply #1 on: August 07, 2008, 12:46:42 am »

I think I found what I need to change

Code: [Select]
while ($row = mysql_fetch_row($result)) {
                $logged_in_array[] = vsprintf('<a href="profile.php?uid=%d">%s</a>', $row);
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: Users Online plugin help
« Reply #2 on: August 07, 2008, 12:50:09 am »

actually I just realized that its a coppermine issue, all instance of usernames link to a coppermine profile, any ideas on this?
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: Users Online plugin help
« Reply #3 on: August 07, 2008, 12:56:59 am »

ok, found the answer in another thread kinda

http://forum.coppermine-gallery.net/index.php/topic,51292.0.html

the code suggested to add was in my bridge file for some reason, I commented it out and it works
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.