PDA


View Full Version : Active Users: Small weird problem (CMPS RC2)


Drakah
06-18-2004, 09:47 PM
Front Portal Index Page
Active Users Block

When there is more than 1 person online, the URL's to click on the members name is correct.

If you are the only one online, the URL is not correct.

Example:

3 people are online. You mouseover the names and look at the URL in the status bar.
http://www.shakahr.com/live/forums/member.php?=X
(where X is their ID #)


1 person is online (you). You mouseover your name and look at the URL in the status bar.
http://www.shakahr.com/live/member.php?=X
(where X is their ID #)


weird.... any ideas?

Richard
06-19-2004, 08:34 AM
< removed >

See the post by Brian below for the "official" fix.

Drakah
06-19-2004, 08:53 AM
That fixed it!

Thanks so much Richard :)

Richard
06-19-2004, 08:58 AM
you're welcome :)

Brian
06-19-2004, 12:13 PM
Good find. :)

If you'd like the "official" fix...

Open your modules/onlineusers.php file and look for:

$activeusers = str_replace('"member.php', '"' . $vboptions['bburl'] . '/member.php', $activeusers);


Remove the line from there, and paste it right Above this line:


}
$DB_site->free_result($getonline);
unset($loggedin);

(Note that it should go right above that bracket.)