This topic has 2 replies, 3 voices, and was last updated 9 years by Laura.

  • Author
  • #43134
     miraclepray
    Participant

    Hello

    There were fake pending members.
    I activated them. But the users didn’t show up in member page.
    Do you know how to fix it?

    I found the answer to other ueser in this website.
    Do you know how to add the code?

    —————————————-
    If you want users to show in your site after they activate their account or you activated it using a plugin you have to add this piece of code to your sweetdate-child/functions.php and an user no longer needs to login in order for him to appear in the site.

    add_action(‘bp_core_activated_user’, ‘kleo_add_member_activity’);
    function kleo_add_member_activity($user_id)
    {
    add_user_meta( $user_id, ‘last_activity’, date(“Y-m-d H:i:s”));
    }

    1

    2

    3

    4

    5
    add_action(‘bp_core_activated_user’, ‘kleo_add_member_activity’);
    function kleo_add_member_activity($user_id)
    {
    add_user_meta( $user_id, ‘last_activity’, date(“Y-m-d H:i:s”));
    }

    #43166
     Radu
    Moderator

    Or you can use this plugin : https://wordpress.org/plugins/bp-default-data/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #43413
     Laura
    Moderator

    Hello, go to your ftp and then go to wp-content/themes/sweetdate-child then find the file functions.php and add the code before “?>”
    bp-default data plugin lets you add buddypress users, this code activates your users in the site just after they registered.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?