Page 1 of 1
Member Login Counter
Posted:
July 7th, 2011, 9:23 am
by LarsW
Couldn't find anything about how to add a counter where I can see how many times each member have logged in.
Maybe connected to MySQL that also that holds at least the latest login date for each member and how many times all in all each have logged in. Could be nice to maybe also have a page or export to have the statistics.
Should help very much / Lars
Re: Member Login Counter
Posted:
July 7th, 2011, 2:58 pm
by Cristián Lávaque
s2Member doesn't have this, I'm sorry. I also searched the plugins directory and didn't find a logins counter there.
This seems to have been requested before by others, though, maybe looking through these Google search results could give you an answer
http://www.google.com/search?q=wordpress+login+counter
Re: Member Login Counter
Posted:
July 7th, 2011, 3:11 pm
by LarsW
Thanks Christián,
I will look through it and if I find a solution I will post it here also. I think there is more than me that need this.
Re: Member Login Counter
Posted:
July 7th, 2011, 4:48 pm
by Cristián Lávaque
Cool.
Re: Member Login Counter
Posted:
July 10th, 2011, 10:51 am
by LarsW
I have found a couple of counter script, but they don't give me exactly what I want. There is only 3 values I need. Which user that login, date and how many times the use have made a login. I have a couple that gives the first 2 so I am now testing to extract the info from MySQL and make the count outside the script and make a report of that.
I will let you know the progress or you maybe have a easier solution?
Re: Member Login Counter
Posted:
July 10th, 2011, 2:22 pm
by LarsW
Not made the php (just started learning) so I used a few shortcuts but it should be nice to have a script instead. I have tested 2 plugin's, "Log User Access" which i can use some info because it save each login-user and date (but the date at my host is 7 hours difference).
Next plugin is "Login Logger" which save some more info BUT only last info for each login-user, and it use the PC system time. I use "MySQL Data Wizard" for getting down 1 table from each of those plugin and extract from the WP-database from one of the WP-MU and then that is exported direct to Excel where I use Macro to summarize how many times each user have logged in and the last date and time.
Even when it not take more than 5 minutes all in all it should be nice to have a php that do it all.