That action is called when a new user activates his/her account via BuddyPress' activation mechanism. It won't execute again for a given user after that user activates his/her account.<div><br></div><div>You can find that action in the <i>bp_core_activate_signup</i> function of BuddyPress' <i>bp-core/bp-core-signup.php</i> file.<br>
<div><br></div><div>Erick<br><br><div class="gmail_quote">On Mon, Jun 27, 2011 at 10:49, Pasquale Puzio <span dir="ltr"><<a href="mailto:pasquale.puzio@gmail.com">pasquale.puzio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Taking a look at this URL<br>
<a href="http://www.ethitter.com/tips-tricks/2010/11/automatically-add-new-users-to-a-buddypress-group/" target="_blank">http://www.ethitter.com/tips-tricks/2010/11/automatically-add-new-users-to-a-buddypress-group/</a><br>
I've noticed that there is an interesting action called<br>
"bp_core_activated_user".<br>
<br>
I think it could be the action executed when the buddypress profile of<br>
an user is created for the first time, in my case the first time an<br>
user logs in.<br>
<br>
What do you think about?<br>
<br>
Thanks<br>
<br>
2011/6/27 Paul Gibbs <<a href="mailto:djpaul@gmail.com">djpaul@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi<br>
> Checking for last_activity is the most reliable way to go, but only in BP<br>
> v1.3. In 1.2, that key is made when the user activates their account.<br>
> I tweaked the behaviour for 1.3 so that it only creates it, for the first<br>
> time, when the user logs in.<br>
><br>
> Regards<br>
> Paul Gibbs<br>
> On 27 Jun 2011, at 11:16, Erick Hitter <<a href="mailto:ehitter@gmail.com">ehitter@gmail.com</a>> wrote:<br>
><br>
> If a user has logged in at least once, there will be a last_activity key in<br>
> the wp_usermeta table for that user. At one point, users without that key<br>
> didn't appear in the members loop, though that may have changed.<br>
> Erick<br>
><br>
> On Mon, Jun 27, 2011 at 03:17, Pasquale Puzio <<a href="mailto:pasquale.puzio@gmail.com">pasquale.puzio@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi friends,<br>
>><br>
>> I'm developing a particular social network where the users are<br>
>> pre-registered and only after that they receive an invitation to join<br>
>> the social network. If they accept they can log in and become members.<br>
>> In order to do so, I need to display only the users that have logged<br>
>> in at least one time and hide the others.<br>
>><br>
>> My question is very simple: how can I detect if a registered user<br>
>> never logged in? It would be very useful to insert this filter in the<br>
>> members loop.<br>
>><br>
>> Thanks<br>
>><br>
>> --<br>
>> Dott. Pasquale Puzio<br>
>> <a href="http://www.pasqualepuzio.it" target="_blank">http://www.pasqualepuzio.it</a><br>
>> <a href="mailto:info@pasqualepuzio.it">info@pasqualepuzio.it</a><br>
>> 340 5026359<br>
>> _______________________________________________<br>
>> buddypress-dev mailing list<br>
>> <a href="mailto:buddypress-dev@lists.automattic.com">buddypress-dev@lists.automattic.com</a><br>
>> <a href="http://lists.automattic.com/mailman/listinfo/buddypress-dev" target="_blank">http://lists.automattic.com/mailman/listinfo/buddypress-dev</a><br>
><br>
> _______________________________________________<br>
> buddypress-dev mailing list<br>
> <a href="mailto:buddypress-dev@lists.automattic.com">buddypress-dev@lists.automattic.com</a><br>
> <a href="http://lists.automattic.com/mailman/listinfo/buddypress-dev" target="_blank">http://lists.automattic.com/mailman/listinfo/buddypress-dev</a><br>
><br>
> _______________________________________________<br>
> buddypress-dev mailing list<br>
> <a href="mailto:buddypress-dev@lists.automattic.com">buddypress-dev@lists.automattic.com</a><br>
> <a href="http://lists.automattic.com/mailman/listinfo/buddypress-dev" target="_blank">http://lists.automattic.com/mailman/listinfo/buddypress-dev</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Dott. Pasquale Puzio<br>
<a href="http://www.pasqualepuzio.it" target="_blank">http://www.pasqualepuzio.it</a><br>
<a href="mailto:info@pasqualepuzio.it">info@pasqualepuzio.it</a><br>
340 5026359<br>
_______________________________________________<br>
buddypress-dev mailing list<br>
<a href="mailto:buddypress-dev@lists.automattic.com">buddypress-dev@lists.automattic.com</a><br>
<a href="http://lists.automattic.com/mailman/listinfo/buddypress-dev" target="_blank">http://lists.automattic.com/mailman/listinfo/buddypress-dev</a><br>
</div></div></blockquote></div><br></div></div>