• Is there a plugin out there or a simple adjustment to a script that will allow the usernames of those registered users to my site who are currently logged on to be viewed?

    I could see this in two ways. One would features a simple list of only logged in usernames. The other would be a list of all usernames with only those logged in highlighted.

    It seems like this should be a fairly simple thing but I guess its just not in demand. Anyone feel like a challenge?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m looking to do this as well. Any ideas?

    That thread did not have the answer. It shows how to echo the user (as in singular) that is logged in. If Admin is logged in, then it will show the name Admin only to the logged in Admin.

    I want to see all of the users that are logged in, not just a message showing only my name when I am logged in. That code can be used to do- “Welcome to the site, UserName.”

    What I’m looking for is an actual list in my sidebar, for instance, that shows anyone who is currently logged in.

    I’m also looking for something like this. Except that I’d like the Last Visit (Date) to be added as well.

    Maybe a Member-Tracking Plugin that will have most of what’s on this member list:

    Member01: Erin
    Join Date: January 10, 1994
    Last Visit: December 01, 1994
    IP (optional):

    Member02: Jose
    Join Date: September 19, 2003
    Last Visit: September 25, 2003
    IP (optional):

    I’m still trying to figure out a solution for displaying a list of logged in users on the pages of a site.

    I’ve come across things like this, but they show only the username to the logged in person.
    <?php
    get_currentuserinfo();
    echo "Logged in as $user_login.";
    ?>

    I’ve come across this which can list all of the authors registered on the site, but does not show which of them is currently logged in.
    <?php list_authors(); ?>

    Is there a way to adapt either of these tags to list all of the users logged in?

    All: Try out the User Online Plugin by GaMerZ. It might be just what you are lolooking for. Make sure that you follow the install instructions CAREFULLY, as it requires that you add some tables to your DB. It does it for you automatically, but you have to follow the steps and then delete a file at the end. It works great for me in 2.0 installations, 1.5 does not always get the user name, but it does show number of users online, ip address and what page they are currently browsing.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Is There a way to display logged in usernames?’ is closed to new replies.