I made some changes to the display. Now non registered or non logged in visitors will not see the names of the members that are online but instead get a simular display as guests have.
4 Member(s) and
3 Guest(s) have been online with in the last 10 minutes.
I figured why should they get to see other's names if we can't see theirs.. LoL
I also added (back 10, 20, 30) at the end of the online message for logged in users to go back 10 or 20 or 30 minutes to see who was online then. Logged in users will see something like this:
moe,
larry,
curly and
2 Guest(s) have been online with in the last 10 minutes. (back
10,
20,
30)
Just place the code in your ubbthreads.php script above this:
// --------------------------------------------------------------------------
// Let's see how many total registered users there are but only if we want to
// display this information
Enjoy []
https://www.ubbdev.com/threads/php/images/icons/smile.gif[/]