MyBB Community Forums

Full Version: Wrong number of online users
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I've installed myBB and almost everything works perfect, except the "Who's online". There's always reported only 1 user online, no matter how many there actually are.

Could this be because my server doesn't report the visitors IP address correct?

$_SERVER['REMOTE_ADDR'] always contains 192.168.10.254



Regards

Bo

Bojo Wrote:Hi

I've installed myBB and almost everything works perfect, except the "Who's online". There's always reported only 1 user online, no matter how many there actually are.

Could this be because my server doesn't report the visitors IP address correct?

$_SERVER['REMOTE_ADDR'] always contains 192.168.10.254



Regards

Bo

I've found a solution myself. Wink Replacing all the REMOTE_ADDR's with HTTP_CLIENT_IP's, made it work on my server.

Regards

Bo
This has been noted and the IP Address detection methods have changed in RC3 to make sure its working properly.

Chris.