Jump to content


[Fix]Online users different for portal than forum


  • You cannot reply to this topic
No replies to this topic

#1 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 04 May 2006 - 11:06 AM

If your MKPortal "Online" or "Online Home" block shows a differnet number of users connected to the portal than the forum shows the issue is probably that the MKPortal blocks have a different "active cutoff" time than you are using for the forum.

FIND in mkportal/include/ipb_board_functions.php (function get_onlineblock):
$time = (time() - 900);
Replace "900" with the number of seconds that you use for active cutoff in the forum CP.

You will find the same thing in "function get_onlinehome" which controls the "Online Home" block cutoff.


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users