forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: Hot Rides on August 07, 2008, 12:14:34 am

Title: Users Online plugin help
Post by: Hot Rides 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.
Title: Re: Users Online plugin help
Post by: Hot Rides 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);
Title: Re: Users Online plugin help
Post by: Hot Rides 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?
Title: Re: Users Online plugin help
Post by: Hot Rides 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