Skip to:
Content
Pages
Categories
Search
Top
Bottom

What is running with Activation ?


  • Devrim
    Participant

    @devrim

    When new users sign up, our site makes them wait a loooong time after they click on activation link on registration email (you can try it on http://kodingen.com). This is a bit odd, it looks like ‘activation’ process triggers some hooks that it shouldn’t be triggering( i think). Because I don’t know why otherwise activation should be any different than not-loggedin user in terms of hooks.

    Here is my question, is there a variable, that we can use to detect that user account is being activated and make sure that logged-in user functions from our side are not triggered?

    Or if i’m completely missing the point, if there is something else I should be looking at, please let me know.

    Thanks,

    D

    These are the hooks that we are using to trigger our own functions,

    – wp

    – user_register

    – wp_head

    – wp_login

    – profile_update

    – login_head

    – wp_logout

    – init

    – wp_footer

    – bp_header

    And we have various dependencies attached to each.

Viewing 1 replies (of 1 total)

  • Windhamdavid
    Participant

    @windhamdavid

    i’m unaware of a variable as i don’t believe there is a distinction b/t a registered user and an un-activated user in wpmu_create_user() but you might investigate bp-core-activation.php and wp-includes/wpmu-functions.php (ms-fuctions.php for 3.0-alpha for wpmu_create_user() & wpmu_activate_signup() to see if you can hook in there.

Viewing 1 replies (of 1 total)
  • The topic ‘What is running with Activation ?’ is closed to new replies.
Skip to toolbar