PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Member Login Counter

s2Member Plugin. A Membership plugin for WordPress®.

Member Login Counter

Postby LarsW » July 7th, 2011, 9:23 am

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
User avatar
LarsW
Registered User
Registered User
 
Posts: 25
Joined: June 5, 2011

Re: Member Login Counter

Postby Cristián Lávaque » July 7th, 2011, 2:58 pm

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
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Member Login Counter

Postby LarsW » July 7th, 2011, 3:11 pm

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.
User avatar
LarsW
Registered User
Registered User
 
Posts: 25
Joined: June 5, 2011

Re: Member Login Counter

Postby Cristián Lávaque » July 7th, 2011, 4:48 pm

Cool. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Member Login Counter

Postby LarsW » July 10th, 2011, 10:51 am

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?
User avatar
LarsW
Registered User
Registered User
 
Posts: 25
Joined: June 5, 2011

Re: Member Login Counter

Postby LarsW » July 10th, 2011, 2:22 pm

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.
User avatar
LarsW
Registered User
Registered User
 
Posts: 25
Joined: June 5, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron