Skip to:
Content
Pages
Categories
Search
Top
Bottom

What makes a WP user a BP member


  • tdepole
    Participant

    @tdepole

    I’m setting up my first BuddyPress site, and I needed to make a custom registration process, I coded the form and added users’s into the proper tables, but when I go to the member’s page all I can see is the admin account listed, even when I register a user using the default buddy press form, they don’t list in the “all members loop”.

    the user’s profile exists too.

    What do I need to do to allow a user to be listed as a BP member, I already added a record in the xprofile_data table.

Viewing 7 replies - 1 through 7 (of 7 total)

  • modemlooper
    Moderator

    @modemlooper

    Members do not show in the members list until they login the first time. No need to add to xprofile table. Any WP user is a BP user.

    If you want to see how this works under the hood, check out bp_core_record_activity()


    tdepole
    Participant

    @tdepole

    Ok so my login form isn’t working properly then, I’m using

    `wp_login_form( $args );`

    to log in users, I realized that the xprofile_data is for the profile fields.

    What should I do to properly login a user. or where in the database is that saved?


    tdepole
    Participant

    @tdepole

    @jdpaul, ok cool I’m almost there, so I’m assuming I should add a line that will record that the user has logged in right?

    I checked the database and there is an activity record for all users labeled new_member, shouldn’t that be what’s needed?


    modemlooper
    Moderator

    @modemlooper

    When you use BuddyPress you use a  special registration form.

    buddypress/bp-themes/bp-default/registration/register.php

    you can copy this file into your theme to create a custom registration form.

    your-theme/registration/register.php

     

    As for logging in, if you added a new user from the WP admin all the user has to do is login once and then they show in the members list. Are you just wanting to force them to show in the members list?

    This plugin will allow you to auto activate users https://github.com/boonebgorges/unconfirmed


    tdepole
    Participant

    @tdepole

    @modemlooper

    I made a registration form and modified it to use the email address and the user_login and user_email, and does some other custom actions, Don’t need to use a username in this application, it works fine. But I did try using the buddypress/bp-themes/registration/register.php.

    For some reason It doesn’t seem to activate a new account, I will search through that plugin and see what it does to activate a user. If I could find out where in the database that is stored, I can just add it to the registration process.


    tdepole
    Participant

    @tdepole

    Something is acting weird, I did install and activate that plugin and it says “No unactivated members were found”

    maybe they are activiated properly, but why won’t they list on the members page.

    I’m using the default member’s loop that comes with buddypress, I wonder why they don’t show up…hmmm

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘What makes a WP user a BP member’ is closed to new replies.
Skip to toolbar