Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • do you want to create members and add the to specific groups while creating them?

    this piece of code may help you in adding the user to group.

    //this will give the groups for the logged in user.

    $groupIDs = get_userGroups($bp);

    //from the groupIDs you can create the group object

    $group = new BP_Groups_Group( $group_id )

    //make the user assigned to the specific group. pass the user id of the new member

    groups_join_group($groupID,$user_id);

    . I debug the code and found that the code is trying to put data into table named “wp_bp_xprofile_wire”.The function xprofile_action_new_wire_post() gets called for posting wire and its defined in bp-xprofile.php. The function is expecting wire id on successful insertion and throws error on no wire id. Since it could not find this table, it is showing error.

    The table creation code is in bp-xprofile.php and the constraint for creating this table is

    if ( function_exists(‘bp_wire_install’) ){

    Table creation code

    }

    I ran the table creation code on DB and created the table. After wp_bp_xprofile_wire table creation, I posted one wire on machine and its working fine.

    hi all,

    i got the same error with fresh installation of wire. in code its documented that // No DB tables need to be installed, DB tables for each component wire

    // are set up within that component *if* this component is installed.

    am getting the same error “Wire message could not be posted. Please try again.”

    do not know what went wrong ..i could not find any bp_wire_tables in the DB.

    Thanks,

    ageesh

    to add extra sign up fields you can use this action add_action( ‘signup_extra_fields’, ‘function_name’ );

    put the captcha code in the function.

    use add_filter( ‘wpmu_validate_user_signup’, ‘function_name’, 10, 1 ); for validation

    how can we make the home theme to redirect the social networking part. I too want to make the social networking stuff under one link.

    hi

    i have installed Buddypres on my site http://aditi.dev1.seeyourimpact.com/ and its appearing in the first page itself. I would like to have the buddy press in another link and not in the main page. for eg: http://aditi.dev1.seeyourimpact.com/community should show the buddpress stuff and it wont come in other parts of the site. Is it possible to limit the buddpress to show only on the community page?

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar