Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activating existing users


  • aapuri
    Member

    @aapuri

    Hello,

    I have been running a blog on wp-single, with around 300 registered users.

    I recently installed buddypress. While things are working fine for new users who register, the old users cannot use the features. When they login and click on profile, activity, etc. they are just redirected to the home page.

    How can I activate the old users on buddypress?

    Any help would be much appreciated

    thanks very much

    amit

Viewing 2 replies - 26 through 27 (of 27 total)

  • shanebp
    Moderator

    @shanebp

    > Do you think you could tell me where exactly I should paste the code?

    No. We don’t know what you’re trying to do.

    But you definitely don’t want to paste it into a template.

    You want to put it in theme functions.php or bp-custom.php

    Maybe you want to run it once to handle existing users.

    Maybe you want to run it in certain situations, for example on new registers:

    function make_user_active( $user_id ) {
    	bp_update_user_last_activity( $user_id );
    }
    add_action ('user_register', 'make_user_active', 1, 11);

    magdamat
    Participant

    @magdamat

    I want buddy press members directory to show all the users that have registered with my website, not only the recently active ones and I want buddy press to remember this setting for all my future users without them needing to log in again after registration in order to become active.
    I use custom community theme, bp. 2.0 and wp. 3.9

    i just found theme functions. php folder but dont know where to paste the code ( i suppose the second one in your previous message but please confirm)

Viewing 2 replies - 26 through 27 (of 27 total)
  • The topic ‘Activating existing users’ is closed to new replies.
Skip to toolbar