The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new_user_online setting
#1
Not sure if you would consider this a bug or not but in users/includes/header.php: if $settings->track_guest == 1 you are setting new_user_online($user_id) however when the user logs-out, you are not removing them from the users_online table.

I see you have a remove user based on time (delete_user_online: users/helpers/users_online.php) but cant find where that may be used.

I have a solution in place to remove the logged in user when they logout in the usersc/scripts/just_before_logout.php file, but shouldn't you be removing them since you are creating this setting?
  Reply
#2
Hi Sparky,

This used to be called whenever you visited the admin.php - I am not sure if this was carried over to the 4.4 Admin Portal.

Brandin.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)