Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 50,051 through 50,075 (of 68,985 total)
  • Author
    Search Results
  • #84249
    Jeff Sayre
    Participant

    Which versions of WordPress and BuddyPress are you running? Also, please answer the rest of these questions: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/when-asking-for-support/

    #84248
    Jeff Sayre
    Participant

    BuddyPress is a plugin that requires WordPress. It does not, nor cannot, have its own install.

    Your issue is more than likely caused by your theme. It is not updated to work with BuddyPress. You need to deactivate BuddyPress. Since you cannot gain access to the admin backend, you need to drag the buddypress folder out of your /wp-content/plugins/ folder. Try logging in again. It should now be possible. Reinstall BuddyPress but do not activate until you have gone through the below process.

    Here is some information on converting your WP theme to work with BuddyPress.

    By the way, if you are using an older version of WP (2.9.1 or 2.9.2) you will have to click the “Activate BuddyPress Site Wide” link instead of the regular “Activate” link.

    #84241
    dunc
    Participant

    @r-a-y – Thanks! That worked.

    Ali Erkurt
    Participant

    @nuprn1 Great! Finally I got where the function is. Thanks.

    But how can I redefine the function to skip group_is_member process for the non-members to post.

    I think I’ll add this to my function this:

    add_filter (‘groups_post_update’, ‘myfunction’);

    Right? But what’s the function :)

    Paul Wong-Gibbs
    Keymaster

    @kumo99
    I’ve moved your sample code to a pastebin and have amended your post, as the forums were rendering some of the markup.

    #84238
    Paul Wong-Gibbs
    Keymaster

    Possibly, good spot; could you submit a ticket on https://trac.buddypress.org/ so we can make a note to check this out? Thank you.

    #84235

    In reply to: Finding Files

    alanchrishughes
    Participant

    I started to create a child theme for WP once, but I edit things so much I am a basically creating an entirely new theme anyways so I don’t even bother. I just duplicate the default theme folder so I’m not working completely from scratch, name the folder something different, and just go to town on it. A lot of files like the stylesheet and index page I just completely wipe out.

    I had been up all night when I wrote this post, but I think what I was trying to ask was does buddypress not work the same way, where you have an actual file for each page? And instead dynamically generate each page out of scattered php? Is there not a page for activity? a page for forums? a page for groups? for the tabbed members page etc.

    I thought it may be easier to just convert one of my pre-broken down sandbox themes from wordpress and just add some extra code here and there to make it buddypress’able so I know where everything is, but I guess the only documentation for that now is to just use that new plugin converter. But the first thing it told me to do was to start editing the html, which is the opposite of what I need, so I stopped. I also stopped because the files already had the two divs and id’s it said it needed but wasn’t doing anything, I don’t know if it was a wordpress 3 glitch or what.

    r-a-y
    Keymaster

    @kumo99 – You might want to take a look at this:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/add-field-description-to-fullname-core/#post-57735

    Much easier and doesn’t require copying the registration page template to your child theme.

    #84233
    r-a-y
    Keymaster

    This is a known bug on buddypress.org.
    We’re looking at trying to rectify this in the near future.

    If you want, you can keep track of the bug squashing here:
    https://buddypress.org/community/groups/buddypress-org-ninjas/

    #84232
    r-a-y
    Keymaster

    How do WP plugins work in BP?

    Like any other plugin in WordPress! They’re separate entities. So let’s say you decide to use an Events Calendar plugin, that plugin will be in its own little world unless you decide to hack it to be more in rhythm with BuddyPress (display names, avatars, etc.).

    #84231
    r-a-y
    Keymaster

    @dunc – If you want a global variable, then (surprise, surprise!) use a global variable or a define.

    In wp-config.php or /wp-content/plugins/bp-custom.php, you can either do this:

    global $my_var;
    $my_var = WHATEVER;

    or:

    define( 'MY_VAR', WHATEVER );

    Then in your page template or anywhere else, you do this:

    global $my_var;
    if ( bp_has_site_members( 'type=active&max=' . $my_var ) ) :

    or:

    if ( bp_has_site_members( 'type=active&max=' . MY_VAR ) ) :

    Hope that helps.

    #84229

    In reply to: Minimize the posts

    enginlofca
    Participant

    @lincme.co.uk hi, thanks for your help but i am not capable to to it manually. i am new at this.so i am looking sth like plug in for now. But i ve downloaded it anyway to try later.

    #84227

    In reply to: Minimize the posts

    lincme.co.uk
    Member

    Hi @enginlofca; You can just change the CSS files to alter text sizes, but if you want a theme which provides smaller fonts while still emphasising member posts you’re welcome to a copy of ours. It’s very like Facebook without being a total copy, and is available at http://lincme.co.uk/downloads/bp-facelook.zip

    #84225
    Isabel Eyre
    Participant

    Hopefully I’m not so annoying that no-one is going to answer! But I’ve been trying to follow the steps in the buddypress compatibility plugin, and I particularly don’t understand where to put this:

    [HEADER]

    [PAGE CONTENT]

    [FOOTER]

    #84224
    Justin Frydman
    Participant

    @Jeff indeed it’s working now: Here is my bp-custom.php for others: http://pastie.org/1030176

    I think it wasn’t working because I had adjusted the do_action() function from within my function to do_action( ‘my_friends_setup_nav’); and I guess it needs to be left as do_action( ‘friends_setup_nav’);

    Thanks for all your help Jeff!

    #84223
    Justin Frydman
    Participant

    @Jeff you copied it in as my_friends_setup_nav()? Can you post your function please?

    mrglasspoole
    Member

    i thought they have support at wpmudev.org?

    This plugin sounds great, but 75$ a month? Other template sites take this for a year…

    #84220
    Jeff Sayre
    Participant

    Hum. That is odd. I copied the friends_setup_nav() into bp-custom.php, just like you did, and made one minor change to the outputted text so that I would know if it took. I altered the priority as indicated above, and it worked without issue.

    I would suggest that you first get the override working as I did before you try more complex output manipulation. Once you know that it is working, you can then move on to customizing the output. I would guess that there is something else in your custom code output that is causing this not to work. Have you checked PHP’s error logs?

    Also, make sure that you are using the default BuddyPress theme and no 3rd-party plugins. Distill your operating environment down to the least common denominator when trying to adjust the output of core files. That way, once you get things working as you like, if you have issues when switching to a custom theme and/or activating a 3rd-party plugin, that it is more then likely some conflict with those items.

    #84219
    dwaynne
    Member

    Hi, Jeff. Thanks for the speedy response. So the crucial difference is that if I don’t need multiple blogs I can still with good old WP and not have to interface with MU. Great. I notice that BuddyPress doesn’t have a Calendar plugin (well I couldn’t find one). Is there a substitue? How do WP plugins work in BP?

    #84215
    Jeff Sayre
    Participant

    I have not looked at your pasted code. But you are correct in stating that bp-custom.php loads prior to the accessory core BP files. I’d suggest the following tweaks:


    remove_action( ‘bp_setup_nav’, ‘friends_setup_nav’, 5);
    add_action( ‘bp_setup_nav’, ‘my_friends_setup_nav’);

    Basically, hooks are defaulted to a priority of 10. So, you want to make sure that friends_setup_nav is removed before your custom my_friends_setup_nav() is added.

    This is just a quick stab at guessing the proper hook firing sequence. So, if this does not work, I suggest installing my WordPress Hook Sniffer plugin.

    #84213
    Jeff Sayre
    Participant

    The fact that you are using WP 2.9.2 means that you are in luck. WP 2.9.1 is the minimum required version of solo-blog WP (single site) that will run BuddyPress. If you do not need to offer your client multiple blogs (or more precisely, if you think that your client will never need to offer their employees and departments blogs), then you can stick with the solo-blog version of WordPress.

    As far as setting up departmental pages, I would think that BuddyPress groups would be the perfect fit. But, if each department will need their own blog, then you will have to go the WP multisite route (a.k.a. WordPress Mu.)

    Ali Erkurt
    Participant

    @nuprn1 I know and I tried to remove it. When I remove the code, I can see the post-form but when a non-member tries to post something to the group, it says “couldnt update your status. please try again later. The problem is it’s still checking somewhere else to see whether the member joined or not.

    Where’s that?

    #84211
    Justin Frydman
    Participant

    Well,

    I tried remove_action on the function I found that I want to customize, but it doesn’t work apparently because bp-custom.php is being loaded before bp-friends. I tried this in my theme’s functions.php as well, but it still does not work. What am I doing wrong?

    /***
    * Create custom functions for buddypress so updates do not override customizations
    */

    function my_friends_setup_nav() {
    global $bp;

    /* Add ‘Friends’ to the main navigation */
    bp_core_new_nav_item( array( ‘name’ => sprintf( __( ‘Friends (%d)2222′, ‘buddypress’ ), friends_get_total_friend_count() ), ‘slug’ => $bp->friends->slug, ‘position’ => 60, ‘screen_function’ => ‘friends_screen_my_friends’, ‘default_subnav_slug’ => ‘my-friends’, ‘item_css_id’ => $bp->friends->id ) );

    $friends_link = $bp->loggedin_user->domain . $bp->friends->slug . ‘/’;

    /* Add the subnav items to the friends nav item */
    bp_core_new_subnav_item( array( ‘name’ => __( ‘My Friends’, ‘buddypress’ ), ‘slug’ => ‘my-friends’, ‘parent_url’ => $friends_link, ‘parent_slug’ => $bp->friends->slug, ‘screen_function’ => ‘friends_screen_my_friends’, ‘position’ => 10, ‘item_css_id’ => ‘friends-my-friends’ ) );
    bp_core_new_subnav_item( array( ‘name’ => __( ‘Requests’, ‘buddypress’ ), ‘slug’ => ‘requests’, ‘parent_url’ => $friends_link, ‘parent_slug’ => $bp->friends->slug, ‘screen_function’ => ‘friends_screen_requests’, ‘position’ => 20, ‘user_has_access’ => bp_is_my_profile() ) );

    if ( $bp->current_component == $bp->friends->slug ) {
    if ( bp_is_my_profile() ) {
    $bp->bp_options_title = __( ‘My Friends’, ‘buddypress’ );
    } else {
    $bp->bp_options_avatar = bp_core_fetch_avatar( array( ‘item_id’ => $bp->displayed_user->id, ‘type’ => ‘thumb’ ) );
    $bp->bp_options_title = $bp->displayed_user->fullname;
    }
    }

    do_action( ‘my_friends_setup_nav’);
    }
    remove_action( ‘bp_setup_nav’, ‘friends_setup_nav’);
    add_action( ‘bp_setup_nav’, ‘my_friends_setup_nav’);

    #84210
    peterverkooijen
    Participant

    @bennadler, I think that issue was fixed here.

    Probably old news to you by now…

    #84209
    peterverkooijen
    Participant

    @ronia, yes, the latest version is 1.2.5, as far as I know, and 1.3 will officially support WP 3.0. So if you upgrade you have nothing to worry about. My problem is that I want to stay on BP 1.1.3, trying to get that to work on 3.0.

    The key to solve that is here. Putting this in bp-custom.php worked for me:

    define( ‘BP_AVATAR_URL’, ‘http://’ . $_SERVER . ‘/wp-content/blogs.dir/1/files’ );
    define( ‘BP_AVATAR_UPLOAD_PATH’, $_SERVER . ‘/wp-content/blogs.dir/1/files’);

    Still have to copy more avatar code from 1.2.5 to get everything to work in 1.1.3…

Viewing 25 results - 50,051 through 50,075 (of 68,985 total)
Skip to toolbar