Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 86,876 through 86,900 (of 94,562 total)
  • Author
    Search Results
  • 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

    peterverkooijen
    Participant

    Where is the code that processes input from the BP registration form?

    I need it as an example to be able to finish this function/plugin. Stuck again… :-(

    #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!

    peterverkooijen
    Participant

    You’re right r-a-y. Tried it. It had no effect on Buddypress’ registration form.

    Back to my previous attempt; I’m stuck at intercepting fullname input from the Buddypress registration form. Do you know how?

    Based on code in another plugin I put together something based on ‘$input_data’:

    function synchro_wp_usermeta($input_data) {
    global $bp, $wpdb;

    $post_data = array();
    foreach ($input_data as $varname => $varvalue) {
    $post_data[$varname] = $varvalue;
    }

    $fullname = $post_data[fullname];
    ...

    But I don’t know if that $input_data is a standard wp tag or something else. Also the structure of the xprofile tables is very different from the structure of the regular wp users tables, so I’m not sure if that ‘$input_data as $varname => $varvalue’ is applicable.

    Where is the code that processes data input from the Buddypress registration form? I’d like to use that as example, but have no clue where it is.

    peterverkooijen
    Participant

    Here is a plugin that “forces users to provide first and last name upon registration” and stores them in wp_usermeta.

    Would this plugin be compatible with Buddypress? Looking into it now…

    #6234
    stefk
    Participant

    Hi guys

    I have been running my website on buddypress for a few months and it has been doing very well in my niche market.

    With the further development of Buddypress and WordPress MU i have reached a stage where i HAVE to upgrade to take advantage of the great improvements.

    The dilemma now is that i don’t know how to upgrade and which versions of Buddypress is compatible with which version of WordPress MU? And where do i get these versions and how?

    My site is running on WordPress MU 2.7 and Buddypress 1.0-RC1. and i am using the 1st version of Darkpress by buddydress.

    Can anyone please assist me with this and what steps i need to tae to make this a successful upgrade?

    Regards

    Stef

    ps. the site is http://pokershuffle.co.za

    r-a-y
    Keymaster

    I initially created this as a ticket (http://trac.buddypress.org/ticket/921), but thought I’d post it on the forums to see what others thought.

    —

    Love the BP loops!

    I would like to have a few additional parameters for the bp_group_has_members() loop.

    Specifically, “orderby” and “order” arguments to sort by ascending, alphabetical order for example.

    “order” could have the following options – ‘alpha’, ‘joindate’ (current default)

    “orderby” could have the following – ‘ASC’, ‘DESC’

    The default list order is by whoever joined the group first.

    —

    Thoughts? Quick patch? ;)

    #50988
    gerikg
    Participant

    they haven’t create it yet “BBpressMU” or I think it’s called “Talkpress”.

    #50985
    jorrie
    Participant

    Hi Gerikg,

    The user should have its own bbpress forum with possible several categories like, feedback, general, etc so they can post in that categories and discuss things

    Jamie Marsland
    Participant

    Does anyone know how to set the correct timezone for email on Buddypress. I have set the correct location in the dashboard admin but emails are time stamped 6 hours behind this. I think this is taken from my hosts timezone but I don’t know how to override it.

    tks

    james

    #50984
    gerikg
    Participant

    You want the user create one forum topic or have their own forum?

    #50981
    peterverkooijen
    Participant

    I’m not creating a plugin from scratch or doing any complicated manipulations on the data. I’m only trying to pre-populate fields in the RSVP form in this Event Registration plugin.

    Adding the ‘echo’ didn’t fix the problem. It probably is something stupid like that.

    Which code actually pulls the data from xprofile? I couldn’t make much sense of function bp_user_fullname(). The real magic apparently happens somewhere else.

    Getting regular wp data works fine. If I could figure out how to consistently synchronize firstname and last name between xprofile and wp_usermeta, that would solve the problem as well.

    rage00001
    Participant

    Hi..

    First of all I would thank you all for creating the best add on for WP.

    Without your excellent work WPMU would be just so boring and not a true community portal solution..

    Well, I have a small problem though, or not actually a problem, but more a need for one extra function in BuddyPress.

    What I need is just an extra function much like the join/invite group request function.

    I’m currently setting up a portal for gamers, where each clan have their own group.

    What I would love to have included in BuddyPress was a function where each group could challenge other groups for a mach in “whatever” game they have put in their group profile.

    And if their group administrator also could publish the result in a simple historical statistic with just a win, loss and draw type of result.

    This function would not just give a gaming community the opportunity to easy “fight” against each other, but provide the possibility for more fun for everybody else.

    Could it be done?

    Thanks for help…

    #50978
    jorrie
    Participant

    Nobody knows :( ?

    Andre Tan, I suspect the issues you’re having are related to shared hosting + the XMLRPC interface for including forums into groups. Future versions of BuddyPress will not have this problem as it includes bbPress and references it directly going forward.

    It may still end up being a little heavy on the server, but you should experience the random load issues that you are currently.

    #50975

    BuddyPress has functions to get most of the data that you need without globaizing the $bp. I think different people will give you different answers about globals, but the general idea is that the less you use them is the better off you will be.

    BuddyPress wraps most of the return/echo functions for most content in the -templatetags.php files for each specific component. If you need data that isn’t available, you can always build your own function in bp-custom.php or whatever.

    If you look at the built in BP functions, you’ll see that $bp is globalized a lot in those functions, so the answer to your question comes down to the nuts and bolts of how PHP operates deep within the core of it, and how globals are processed on a per library basis and at what point in the process it occurs.

    Long story short, if it gets you where you need to be safely, it’s probably fine enough unless you notice a slow-down or something.

    #50974
    peterverkooijen
    Participant

    Thanks Jeff Sayre!

    The plugin has a very messy structure. I’ve tried with $bp added to global in several functions in the plugin, both in the main file and the file with the form. Nothing has any effect.

    Are there any downsides to adding $bp if it’s not strictly needed? Can you make any plugin “Buddypress ready” by just adding that $bp to global?

    I did get regular wp data working with help from their forum. I had to add this to the php:

    global $current_user;
    get_currentuserinfo();

    Does Buddypress have something like that? Anything else I can try?

    #50973
    Korhan Ekinci
    Participant

    For some how the code above did not go through correcty, I will paste the first part again:

    <div id="search-login-bar">

    <?php if ( is_user_logged_in() ) : ?>

    <div id="logout-link">
    <?php bp_loggedinuser_avatar_thumbnail( 20, 20 ) ?> &nbsp;
    <?php bp_loggedinuser_link() ?>
    <?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 );
    ?>

    <?php do_action( 'bp_login_bar_logged_in' ) ?>
    </div>

    <?php elseif ( get_option('users_can_register') ) : ?>

    <form name="login-form" id="login-form" action="<?php echo $bp->root_domain . '/wp-login.php' ?>" method="post">
    <input type="text" name="log" id="user_login" value="<?php _e( 'Username', 'buddypress' ) ?>" onfocus="if (this.value == '<?php _e( 'Username', 'buddypress' ) ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e( 'Username', 'buddypress' ) ?>';}" />
    <input type="password" name="pwd" id="user_pass" class="input" value="" />

    <input type="checkbox" name="rememberme" id="rememberme" value="forever" title="<?php _e( 'Remember Me', 'buddypress' ) ?>" />

    <input type="submit" name="wp-submit" id="wp-submit" value="<?php _e( 'Log In', 'buddypress' ) ?>"/>
    <input type="button" name="signup-submit" id="signup-submit" value="<?php _e( 'Sign Up', 'buddypress' ) ?>" onclick="location.href='<?php echo bp_signup_page() ?>'" />

    <input type="hidden" name="redirect_to" value="http://<?php echo $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] ?>" />
    <input type="hidden" name="testcookie" value="1" />

    <?php do_action( 'bp_login_bar_logged_out' ) ?>
    </form>
    <?php endif // get_option('users_can_register') ?>

    <div class="clear"></div>
    </div>

    #50972
    Korhan Ekinci
    Participant

    Hi Kunal17, I use prologue theme as default user theme and I also wanted to keep the login form on top, so I added this to the header of the prologue theme:

    <div id=”search-login-bar”>

    <?php if ( is_user_logged_in() ) : ?>

    <div id=”logout-link”>

    <?php bp_loggedinuser_avatar_thumbnail( 20, 20 ) ?>  

    <?php bp_loggedinuser_link() ?>

    <?php

    if ( function_exists(‘wp_logout_url’) ) {

    $logout_link = ‘/ root_domain ) . ‘”>’ . __( ‘Log Out’, ‘buddypress’ ) . ‘‘;

    } else {

    $logout_link = ‘/ root_domain . ‘/wp-login.php?action=logout&redirect_to=’ . $bp->root_domain . ‘”>’ . __( ‘Log Out’, ‘buddypress’ ) . ‘‘;

    }

    echo apply_filters( ‘bp_logout_link’, $logout_link );

    ?>

    <?php do_action( ‘bp_login_bar_logged_in’ ) ?>

    </div>

    <?php elseif ( get_option(‘users_can_register’) ) : ?>

    <form name=”login-form” id=”login-form” action=”<?php echo $bp->root_domain . ‘/wp-login.php’ ?>” method=”post”>

    <input type=”text” name=”log” id=”user_login” value=”<?php _e( ‘Username’, ‘buddypress’ ) ?>” onfocus=”if (this.value == ‘<?php _e( ‘Username’, ‘buddypress’ ) ?>’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘<?php _e( ‘Username’, ‘buddypress’ ) ?>’;}” />

    <input type=”password” name=”pwd” id=”user_pass” class=”input” value=”” />

    <input type=”checkbox” name=”rememberme” id=”rememberme” value=”forever” title=”<?php _e( ‘Remember Me’, ‘buddypress’ ) ?>” />

    <input type=”submit” name=”wp-submit” id=”wp-submit” value=”<?php _e( ‘Log In’, ‘buddypress’ ) ?>”/>

    <input type=”button” name=”signup-submit” id=”signup-submit” value=”<?php _e( ‘Sign Up’, ‘buddypress’ ) ?>” onclick=”location.href='<?php echo bp_signup_page() ?>'” />

    <input type=”hidden” name=”redirect_to” value=”http://&lt;?php echo $_SERVER[‘SERVER_NAME’] . $_SERVER[‘REQUEST_URI’] ?>” />

    <input type=”hidden” name=”testcookie” value=”1″ />

    <?php do_action( ‘bp_login_bar_logged_out’ ) ?>

    </form>

    <?php endif // get_option(‘users_can_register’) ?>

    <div class=”clear”></div>

    </div>

    You can maybe replace the

    <div id=”search-login-bar”>

    <?php bp_login_bar() ?>

    <div class=”clear”></div>

    </div>

    part of your header.php file with the first code and I hope it will work for you.

    #50969
    Archie Webmaker
    Participant

    Thank you for the responses,

    I think I will try it myself

    #6228
    peterverkooijen
    Participant

    I’m trying to prefill a field in a plugin form. I get no results with this:

    <input value="<?php bp_user_fullname() ?>">

    This little test did work:

    <input value="<?php echo "test"; ?>">

    bp tags don’t work in plugins? Should I move the plugin to mu-plugins and/or activate it site-wide?

    Is there a way to “associate” the plugin with Buddypress or would that be bad practice?

    Can I get the required data – first name, last name, email – from standard WP tables with standard WP tags? Is there a list of those tags anywhere…?

    Thanks for any pointers!

    #50968
    gerikg
    Participant

    BBpress theme

    Theme Name: looks-like-buddypress

    Theme URI: http://manojkumar.org

    Description: Try to give similar look as default buddypress theme for users how integrate bbpress with buddypress.

    Version: 0.01

    Author: Manoj Kumar

    Author URI: http://manojkumar.org

    #50967
    Paul Wong-Gibbs
    Keymaster

    Just disable blog registrations in your Site Admin > Options panel. And please take some time to do a cursory search of Google or the WPMU forums as this is a basic question and nothing to do with Buddypress.

    #6227
    jorrie
    Participant

    How could I enable user registration to post comments etc, so they can signup and upload there own avatar with buddypress… BUT not open my wpmu installation for new blog registrations?

    I only want users to signup for existing blogs so they can comment there

Viewing 25 results - 86,876 through 86,900 (of 94,562 total)
Skip to toolbar