MyBB Community Forums
Who's Online URL - Printable Version

+- MyBB Community Forums (
+-- Forum: Extensions (
+--- Forum: Plugins (
+---- Forum: Plugin Development (
+---- Thread: Who's Online URL (/thread-22918.html)

Who's Online URL - Kodaks - 2006-01-20

How does the Who's Online page know where to link the location of a user?


RE: Who's Online URL - Smethead - 2006-01-21

Every time a user logs in, there is a new row added in the TABLE_PREFIX.sessions table. In that row, the location of the user is stored in one of the fields.
The online.php page selects that field for the specific user and uses the location as a link.