[buddypress-dev] [BuddyPress] How to detect if an user has never logged in
Erick Hitter
ehitter at gmail.com
Mon Jun 27 10:16:26 UTC 2011
If a user has logged in at least once, there will be a *last_activity* key
in the wp_usermeta table for that user. At one point, users without that key
didn't appear in the members loop, though that may have changed.
Erick
On Mon, Jun 27, 2011 at 03:17, Pasquale Puzio <pasquale.puzio at gmail.com>wrote:
> Hi friends,
>
> I'm developing a particular social network where the users are
> pre-registered and only after that they receive an invitation to join
> the social network. If they accept they can log in and become members.
> In order to do so, I need to display only the users that have logged
> in at least one time and hide the others.
>
> My question is very simple: how can I detect if a registered user
> never logged in? It would be very useful to insert this filter in the
> members loop.
>
> Thanks
>
> --
> Dott. Pasquale Puzio
> http://www.pasqualepuzio.it
> info at pasqualepuzio.it
> 340 5026359
> _______________________________________________
> buddypress-dev mailing list
> buddypress-dev at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/buddypress-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/buddypress-dev/attachments/20110627/fd044331/attachment.htm>
More information about the buddypress-dev
mailing list