Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 63,101 through 63,125 (of 69,054 total)
  • Author
    Search Results
  • #51055
    Jeff Sayre
    Participant

    If you are saying that you do not want to have groups, activity streams, the wire, private messaging and a few other BP services, and just want to offer users the ability to create a profile and add/see friends, then the answer is simple. Just log into WPMu’s backend as Site Admin and navigate to the BuddyPress menu grouping. Select the “Component Setup” submenu option and disable the components you do not want to offer users.

    #51054
    Jeff Sayre
    Participant

    Are you using the new parent/child theme architecture or an older member theme located in /bp-themes/?

    #51052
    bpisimone
    Participant

    I would like to bring this topic I posted yesterday to this thread’s attention: https://buddypress.org/forums/topic/how-to-use-bphome-functions-on-bp-member-pages

    peterverkooijen
    Participant

    Thanks for the additional clues DJPaul!

    In the latest attempt I was going back to my first approach, trying to catch the input straight from the form, so that has to run on initial user registration, not on activation.

    Or is user_register not used in Buddypress at all? Is there a wpmu or bp equivalent I could try? Should I use wpmu_create_user? According to this blog post:

    the do_action for wpmu_new_user is directly at the bottom of wpmu_create_user in the wp-includes/wpmu-functions.php the wpmu_create_user gets sent the username password and email and checks if the username or email exists, if not create the new user in the database and assign a user_id to the return, also assigning capabilities and level … this happens on *all* levels of registration and is the perfect hook point to add them into the database

    the do_action do_action( ‘wpmu_new_user’, $user_id ); so you get the immediate user_id soon as it’s created which you can use in your table

    Apparantly this is like a flowchart of registration events in wpmu (wp-includes/wpmu-default-filters.php):

    add_filter ( 'wpmu_validate_user_signup', 'signup_nonce_check' );
    add_action ( 'init', 'maybe_add_existing_user_to_blog' );
    add_filter ( 'xmlrpc_methods', 'attach_wpmu_xmlrpc' );
    add_filter ( 'wp_authenticate_user', 'wordpressmu_authenticate_siteadmin', 10, 2 );
    add_action ( 'wpmu_new_user', 'newuser_notify_siteadmin' );
    add_action ( 'wpmu_activate_user', 'add_new_user_to_blog', 10, 3 );
    add_action ( 'sanitize_user', 'strtolower_usernames', 10, 3 );

    Should I focus on these wpmu action hooks instead of regular wp hook? Does bp have a list like this somewhere?

    I couldn’t figure out how to serialize that $meta data and extract the fullname from it, so I abandoned the approach hooking into wpmu_activate_user for now. Also when I put in the $user_id and $password arguments I got the error messages about missing arguments. wtf?!

    I think this bit of code grabs the input from the registration form:

    $fields = BP_XProfile_Field::get_signup_fields();

    if ( $fields ) {
    foreach ( $fields as $field ) {

    $value = $_POST['field_' . $field->id];

    fullname is the input from field_1, but I don’t know how to finish the php to get to $fullname = … . The two latest attempts above did not work.

    I have to give up for now. Deadline at my day job coming up…

    #51043
    Korhan Ekinci
    Participant

    Ok Kunal replace this part:

    <?php
    if ( function_exists('wp_logout_url') ) {
    $logout_link = '/ <a href="' . wp_logout_url( $bp->root_domain ) . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
    } else {
    $logout_link = '/ <a href="' . $bp->root_domain . '/wp-login.php?action=logout&redirect_to=' . $bp->root_domain . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
    }

    echo apply_filters( 'bp_logout_link', $logout_link );
    ?>

    With This:

    <a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>

    And that should solve the logout issue.

    #51042
    Tore
    Participant

    Hi!

    Do you mean the adminbar (showing at the very top of the page, it says Buddypress to the left) or the navbar (containing only links to blogs, wire, profile, groups, etc and the subnavbar)?

    #51040
    Kunal17
    Participant

    I would love to see a TOS template that is customized to Buddypress communities that takes into account its technical feasibility like you described above.

    Buddypress makes it so easy for anyone to create a community but not everyone can afford to get professional legal help to create the TOS and privacy policy.

    Not sure if I can provide much input here as I am startup up my first community but I will follow this discussion closely.

    #51035
    Jamie Marsland
    Participant

    http://www.leckhamptononline.co.uk

    It’s a hyperlocal website serving approx 10,000 residents in a district of Cheltenham in the UK. Launching in Sept.

    #51034
    cpkid2
    Participant

    Thank you, DJPaul. I’m starting to get a clue lol. Just one question – Say I use “Kubrick” for my home/blog theme. How do I get a login/password field in the sidebar? I noticed it’s not one of the widgets. Do I have to grab the code from the admin bar on top and insert it manually into the sidebar?

    #51029
    gerikg
    Participant

    As of now they can have their own group that translate to their own topics/forum and they can be the admin of their “discussion” You can just have the groups only and no link to the bbpress section. The forums will be under groups. make sense?

    #51028
    jorrie
    Participant

    Empty?

    Someone can help me with this please? Would be higly appreciated, buddypress looks nice just need some little directions.

    peterverkooijen
    Participant

    arezki, there is a Users to CSV plugin. Not sure if it also exports data from Buddypress’ xprofile table, but perhaps you could expand it.

    Getting data from the database is relatively simple. You could just write your own SQL queries as well, if you can figure out how and where the data is stored, which is not at all straightforward in the wp-wpmu-bp patchwork.

    My original question was about something else; how does data move from registration form to the database?

    I’m trying to identify what bit of code “picks up” the input from the ‘* Name’ field, id/name = “field_1”. Is it this function?:

    function xprofile_extract_signup_meta( $user_id, $meta ) {
    // Extract signup meta fields to fill out profile
    $field_ids = $meta['xprofile_field_ids'];
    $field_ids = explode( ',', $field_ids );

    // Loop through each bit of profile data and save it to profile.
    for ( $i = 0; $i < count($field_ids); $i++ ) {
    if ( empty( $field_ids[$i] ) ) continue;

    $field_value = $meta["field_{$field_ids[$i]}"];

    $field = new BP_XProfile_ProfileData();
    $field->user_id = $user_id;
    $field->value = $field_value;
    $field->field_id = $field_ids[$i];
    $field->last_updated = time();

    $field->save();
    }

    update_usermeta( $user_id, 'last_activity', time() );
    }

    For a plugin I need SOMETHING HERE = $fullname. The SOMETHING HERE should be the input value for field_1 from the registration form.

    I get lost in the php in the array stuff. Please help if anyone can give any more clues!

    #51020
    Andre
    Participant

    @crackpixels We’re not using a BP home theme since we’re trying to balance the e-zine content with the social networking piece. Instead I customized a standard WP theme (Atahualpa) and added the BP widgets into the sidebars.

    #51018
    3746311
    Inactive
    #51015
    Paul Wong-Gibbs
    Keymaster

    You can use any WordPress theme for the home/blog theme, yes. You’d only need a customised or Buddypress-specific theme for the member pages.

    #51014
    jorrie
    Participant

    Any idea how to acchive above ?

    Some pointers or direction would be nice, im still digging into buddypress but it, is, a bit complicated to get the results that are not “out of the box”

    #51012
    thebloghouse
    Participant

    Hey

    Sorry I haven’t been in here for a while as clients just keep givng me new work :(

    Don’t try and follow that code I posted above as that was specific to the particular plugin I was using and which was messing with the BuddyPress Ajax :)

    From looooong hard experience this issue WILL be another plugin messing with your BuddyPress Ajax so as much of a pain as it is disabling ALL your plugins do it and then repost if you are still habing this issue.

    #51011
    cpkid2
    Participant

    Thanks, Ray.

    So if I’d like to have a two-column site, would I be able to activate the default Kubrick theme and use it as the blog portion (front page) of my social network? I’d like to have my blog on the front page just like ReadWritePoem. Or would I need to use a theme made for Buddypress like the ‘home’ theme?

    #51009
    r-a-y
    Keymaster

    “themes” is a themes folder for WordPress(MU); whereas “bp-themes” is a themes folder specific to BuddyPress components.

    To be more specific, “themes” styles the blogs; “bp-themes” styles the member profiles and groups.

    ReadWritePoem’s blog posts is from the main, primary blog… it’s a simple template loop from WordPress… nothing elaborate there. In fact, looking into it further, they do not have member blogs! So if you’re familiar with regular WordPress, you’ll know how they placed the blog posts on the front page.

    #51007

    In reply to: Multi-thread Wires

    r-a-y
    Keymaster

    Not sure if this is on the roadmap, but if it isn’t, feel free to add it as a suggestion in the trac.

    Login with the same username and password as you use on the BP.org site.

    #51004
    blah
    Participant

    ^how do you put the blog posts on the front page like that?

    #51000
    arezki
    Participant

    Thank you sir! Not sure I follow the idea. By deleting, do you mean the entire buddypress and WP? Hum! that would take 2 years out of my life. I am sort of willing to let go of the alphabetical listing… but I don;t recall having moved files around. Standard install.

    peterverkooijen
    Participant

    Thanks r-a-y.

    I can’t make much sense of most of that code. Does function bp_core_signup_show_user_form take the input from the form? Or does it only output the form? I guess the latter.

    I think the code that actually processes the input is in bp_xprofile/bp-xprofile-classes.php, Class BP_XProfile_ProfileData etc. Or bp-xprofile-signup.php?

    Back to the other thread to see if it gets me any further…

    r-a-y
    Keymaster

    Check:

    /wp-content/plugins/buddypress/bp-core/bp-core-signup.php

    #50994
    r-a-y
    Keymaster

    BP 1.0.2 is the last version compatible with MU 2.7.1.

    If I were you, I’d wait for the next version of BuddyPress – version 1.1 scheduled to be released next week.

    You would need to upgrade WPMU to 2.8.4.

    When you upgrade, make sure you backup everything! (database, wp-content directory)

    Deactivate all plugins, rename “mu-plugins” folder (if you use mu-plugins) and then install WPMU over your existing install.

    Next, install new version of BuddyPress, reactivate plugins and everything should be good (I say should because each case is different!).

    Since you didn’t mention bbPress, I presume you don’t have to worry about it, which is good, since that takes out one main item out of the equation!

Viewing 25 results - 63,101 through 63,125 (of 69,054 total)
Skip to toolbar