Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 63,051 through 63,075 (of 69,054 total)
  • Author
    Search Results
  • #51207
    gerikg
    Participant

    Thanks r-a-y, but I don’t think I need that plugin. It works fine without it.

    peterverkooijen
    Participant

    How can you identify the user on wpmu_activate_user? Only by the key from the activation link? How does that work?

    Then $bp->loggedin_user->id doesn’t work on activation either, does it?

    How is Lance Willet able to use $userid on wpmu_activate_user?

    Can I somehow use that to pull up the right meta row from wp_signups and store the values in wp_usermeta with the right user_id?

    Or can I use the email address as an identifier?

    peterverkooijen
    Participant

    This should work:

    function synchro_wp_usermeta( $user_id, $password, $meta ) {
    global $bp, $wpdb;

    $fullname = $meta[field_1];

    echo $fullname;

    $space = strpos( $fullname, ' ' );

    if ( false === $space ) {
    $firstname = $fullname;
    $lastname = '';
    } else {
    $firstname = substr( $fullname, 0, $space );
    $lastname = trim( substr( $fullname, $space, strlen($fullname) ) );
    }

    update_usermeta( $bp->loggedin_user->id, 'nickname', $fullname );
    update_usermeta( $bp->loggedin_user->id, 'first_name', $firstname );
    update_usermeta( $bp->loggedin_user->id, 'last_name', $lastname );

    $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET display_name = %s WHERE ID = %d", $fullname, $bp->loggedin_user->id ) );
    $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_url = %s WHERE ID = %d", bp_core_get_user_domain( $bp->loggedin_user->id ), $bp->loggedin_user->id ) );
    }
    add_action( 'wpmu_activate_user', 'synchro_wp_usermeta', 10, 3);

    BTW, I see Lance Willet here uses $userid with wpmu_activate_user, instead of $key.

    Does $bp->loggedin_user->id even work on activation? Shouldn’t everything be based on the activation key?

    arezki
    Participant

    thanks r-a-y I installed that one but I think I am facing a bigger problem that is preventing the system to work as intented. Essentially, though I have the site’s “Dashboard blog” ‘user default role’ as “susbcriber” so-called subscribers are automatically tagged as ‘contributors’ on the buddypress menu… In case you are curious, u can log in as user: riski pass: riski123 on http://tatazara.com May be you will discover something I am missing.

    Cheers and thanks for your feedback/

    Arezki

    #51199
    Alex
    Participant

    Well for some strange reason I’ve just reinstalled on our remote server and it’s working fine…

    #51197
    r-a-y
    Keymaster

    I’m using bpGroups and first of all you should follow the instructions properly.

    Make sure your files are in the right directories.

    /wp-content/mu-plugins/oci_bp_group_forums.php

    /YOUR BBPRESS INSTALL DIRECTORY/my-plugins/oci_bb_group_forums.php

    Also, because you’re using deep integration, you’ll need to make the following changes:

    In oci_bp_group_forums.php, around line 30 change:

    require_once(ABSPATH . WPINC . '/class-IXR.php');

    to this:

    if (!defined(BBDB_NAME))
    require_once(ABSPATH . WPINC . '/class-IXR.php');

    In oci_bb_group_forums.php, around line 30 change:

    require_once( BACKPRESS_PATH . '/class.ixr.php' );

    to this:

    if (defined(BACKPRESS_PATH))
    require_once( BACKPRESS_PATH . '/class.ixr.php' );

    #51194
    gerikg
    Participant

    Yes WITH deep intergration

    #51190
    jdoe_
    Participant

    Well..I have resolved the issue.

    All I did was replaced the existing bp-activity-templatetags.php with the file from https://svn.buddypress.org/trunk/bp-activity/bp-activity-templatetags.php and it is working now..

    strange?? yes.

    #51189
    Ishimwe
    Participant

    I have had this issue three times and all the time the only thing that has worked is a new install. That is, wipe clean the wp-admin, wp-content and wp-includes and all files for Mu , rename existing ones to something like wp-admin_old (that’s what I do).

    Then:

    1. Finish the WP MU installation/upgrade first. Make sure it does work before you go to the next step.
    2. Install buddypress plugin first and activate it
    3. Reupload the blogs.dir files to the wp-content from your backup manually.

    This is guaranteed to work. So far, buddypress doesn’t seem to have any other magic solution to this issue.

    #51188
    abcde666
    Participant

    1)

    I do have BP-version 1.0.1 running on a site and have made a few customizations so far (just CSS-changes and some images).

    So with the new template-structure: should I delete the current install completely and get the BP-version 1.1 installed ? I mean: what is the best way to upgrade to the 1.1-version when it will be released in the next few weeks ? I definitely want to have the new template-structure, so I guess I would need to set-up my website from scratch, right ?

    And: I am running the site in german-language only.

    2)

    will this new template-structure also make it easier to design a custom-template for the user-blogs ?

    Like I would like to have the user-blogs having the same CSS-style as my main pages ?

    I still have not been able to figure how to do this. I would like the user-blogs to have the same design in order to have a consistent website.

    Why is this not already the case at http://www.testbp.org ? Why is it still the original WordPress-design ? Is there a chance you create a plugin or something at which the Admin is able to select to chosse the design of the “User-Blogs” like choosing from “WordPress original design” or “TestBP.org design” ?

    3)

    is there a chance to have a “package install” which will have ONE package which will include all latest software: WordPress 2.8.x, BuddyPress 1.1 and BBPress ?

    I read many post where I see people having troubles integrating the BBPress-software into the system (even an experienced BP-expert had troubles).

    Is there a chance you will create a 1 Package download which will make it very easy for people to have a full website (like http://www.testbp.org) installed ?

    So literally 1 click-download will create a ready-made website, same like testbp.org ?

    4)

    a user-request to get invited into a “Private Group” is not possible being accepted. This does not work yet at my installation and I think this is a general bug.

    5)

    the wording of “Blog” and “Blogs” is confusing. In both english and german language.

    Many thanks,

    #51185

    Are you using deep integration?

    #51182
    Alex
    Participant

    I’m currently porting over a custom theme I was developing to the new parent/child setup, but this happens even when I use ‘BuddyPress Default 1.1-pre’.

    #51181

    In reply to: Paid Member Plugin

    peterverkooijen
    Participant

    There are several commercial plugins for WordPress. I assume they would work with wpmu and buddypress as well, since those are big potential markets for them.

    #51176
    gaetanbuddypress
    Participant

    Hello jdoe_,

    Just to say I’m running WordPress MU 2.8.4a + BuddyPress 1.0.3. as well, and the activity is working well in the member profil.

    I hope you’ll find an answer to your problem,

    Gaetan

    #51173

    The way this works is actually really super easy and very, very awesome…

    There are a few different variations of ways to do this, and I can see some really imaginative uses of this method doing some really fantastic and super awesome things, so if you’re not already, I suggest you get excited…

    I think the way that most people will use this method is with the included BuddyPress Framework theme as a jumping off point. Think of it as the HTML and bare-bones styling to get your site’s root blog and BuddyPress profile/directory pages up and running. It includes all of the normal files you would expect from a typical WordPress theme (single.php, comments.php, page.php, index.php, home.php, attachments.php, etc…) plus it includes all of the theme files for BuddyPress registration pages and components in their own respective folders similar to what bp-member did.

    Currently, parent/child template relationships do NOT include the parent template’s style.css, so if you’re making a child theme, you will need to manually include the style.css of your parent theme with an @import rule, but it takes 2 seconds to type in so no big deal.

    So that means that your parent/child relationship is really only for .php files until you manually @import a CSS file from another directory.

    To answer your question about multiple parent themes, yes and no. :)

    Lets say we have three themes: bp-framework, bp-default, and bp-child.

    Each theme/template can only name off one parent, but that doesn’t stop the parent theme/template from having its own parent also. Example: bp-child could name bp-default as its parent, and bp-default could name bp-framework as its parent, and they will recursively overrule each other down the parent/parent/child ladder with the current template winning at the end.

    This works well in situations where you might not need a home.php for your child themes. Home.php is a WordPress file for hardcoding the landing page of your blog, and maybe child themes don’t need one. In that case, move home.php into a “bp-home” folder with a style.css that makes the bp-framework its parent and includes the parent style.css, assign bp-home as the theme for your root blog, and you’re done. This way the other blog themes won’t have a home.php for no reason.

    Because of this, it’s possible to have themes inherit from multiple other themes if you plan ahead in such a way that allows for this. My experience with this idea and creating my own framework is that it takes a little pre-production planning, but it pays off big time later on.

    The other crazy fluke is that parent themes don’t need to be active in the Site Admin area. This means that you could have child themes active for users to select without allowing them to select the parent theme, and still have the parent theme’s files be accessible to the child. This really gives you a better way to control the themes that users have access to and how they work with your custom framework to keep your header/footer/other files in sync.

    I personally can’t wait to see what some of the more popular WordPress theme guru’s are able to pull off with the next version of BuddyPress.

    #51172
    gerikg
    Participant

    Sorry about the empty response. I thought I had it and when it didn’t work it screwed up. I edited out my post.

    Okay this is the fix I came out with. I created a new group in BP profile called signature and the field name signature too.

    In BBpress in the post.php I inserted (note I don’t know PHP, if anyone can shorten this would be appreciated):

    <?php if ( bp_has_profile('user_id='.get_post_author_id().'&profile_group_id=XXX') ) : ?>
    <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    <?php if ( bp_profile_group_has_fields() ) : ?>
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    <?php if ( bp_field_has_data() ) : ?>
    <?php bp_the_profile_field_value() ?>
    <?php endif; ?>
    <?php endwhile; ?>
    <?php endif; ?>
    <?php endwhile; ?>
    <?php else: ?>
    <?php endif;?>

    Just replace XXX with your group id #, mine was 3.

    What it doesn’t do is toggle between signature, anyone want to try that?

    #51170
    webatease
    Participant

    Certainly not showing off – but I’d love some feedback. You can get the jist of what we’ve built here – really basic, but just trying to see if Buddypress can really solve our problems.

    Our issues to-date are no way of validating users and ensuring we want them to successfully register. Second issue is the email that is sent to approve a group addition (links are broken). Third issue is a trying to find a way to prevent registered users (subscribers) from creating groups, while not preventing them from participating.

    http://www.joefirstmanstreet.com

    * Currently forcing people to login or register before they see anything.

    #51169
    gerikg
    Participant

    Referring to this program/site: http://www.intensedebate.com/wordpress

    #51166
    gerikg
    Participant

    I don’t know how it can be done but I know it can be done with this:

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-profile-data-loop-bp_has_profile/

    #51157

    In reply to: Help with new function

    Jeff Sayre
    Participant

    Okay, several issues to discuss here:

    1. I created a new function in wpmu-functions.php

      Why modify a core WPMU file to be used in a BuddyPress theme file? Instead, create this function in your bp-custom.php file. That why, when you upgrade BP, your changes will not be lost–assuming that you do not delete your bp-custom.php file.

    2. The user ID field does not contain string content. So:

      u.ID = %s

      should be

      u.ID = %d

    3. What you are after is grabbing a member’s ID and then using that to pull their login name (username). I don’t think that the variable $username is available for the function call–at least not the way you are trying to reference it. I would use this instead:

      $bp->displayed_user->id

      You will need to declare bp as global in your members-loop.php file.

    #51137
    gerikg
    Participant
    #51129
    r-a-y
    Keymaster

    Do what gerikg said.

    Login to your WPMU backend and navigate to “BuddyPress > Component Setup”.

    Check “Disabled” for “bbPress forums” and you should be good to go!

    *The one thing that probably has you confused is you need to login to your bbPress admin area and manually delete your existing group forums.

    #51124
    Korhan Ekinci
    Participant

    I don’t think deactivating BP will be a problem.

    If you are in no hurry, within a few weeks there will be buddypress 1.1 and probably a new wpmu version. I would wait for that.

    #51123
    gerikg
    Participant

    Why not cut off the link between BB forum & BP Groups.

    DISABLE

    bbPress Forums

    Activates bbPress forum support within BuddyPress groups or any other custom component.

    #51121
    cbriere
    Participant

    Hi Korhan,

    In these thread the user states that some items failed to work:

    https://buddypress.org/forums/topic/buddypress-103-with-wpmu-284a#post-22006

    I just installed 2.8.4a and would like to install for the first time BP 1.0.3

    Don’t want to install BP until make sure it will work. If I install BP and fails to work, could it be a problem to Deactivate it?

    Thanks.

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