You are trying to get where the user is viewing? On what page? If you search on "userinfo['action']" in the php pages, you'll see that is only defined in the online.php page. So, you'd have to grab all that code for use on whatever page you want to use it on. Perhaps you can just use their 'lastactivity' or 'activity'? But, those are kinda weird to use cuz if they open up several pages in a tab, the last tab opened will be their last activity and that can be misleading.
Perhaps tell us what you are trying to do and we can suggest a way to do it.
|