Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Users Online plugin help  (Read 4040 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.019 seconds with 20 queries.