Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 23, 201113 yr File Name: (SOS31) Total Users Online in Shoutbox TabFile Submitter: Adriano FariaFile Submitted: 22 May 2011File Category: Hooks and Plugins This hook will show, in Shoutbox tab, how many user are only on it. The counter won't appear if the Shoutbox is OFFLINE or if the user has no permission or is banned in Shoutbox.Click here to download this file
May 23, 201113 yr Great addition and thanks for the share. Only issue I have, is that it only displays users that are currently browsing the shoutbox, where if a user navigates away in another browser tab, although they still have a tab open in the shoutbox full-view, then it won't count them in the number. Any chance to pull the data from 'Active within the last 30 minutes'? Thank again!
May 24, 201113 yr Author It's not a problem related to that hook; that's the way IPB works. If you have 10 open pages, will IPB will update session with last click; I mean, if you are in a profile, Shoutbox, Gallery, Downlods and in some topic, and then you open a new page to see some issue in Tracker, IPB will update your session as reading a tracker issue. You can see this happening all the time in users online.
Archived
This topic is now archived and is closed to further replies.