Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 62,201 through 62,225 (of 68,970 total)
  • Author
    Search Results
  • #53210
    Greg
    Participant

    Alright, to clarify:

    • I have all plugins disabled except Buddypress, including bp-custom.php
    • I have deleted any MU plugins
    • I have the themes that come with buddypress enabled

    I indeed have Buddypress down to the way it comes out of the box. I have even deleted all the Buddypress files, and uploaded Buddypress again from a fresh download

    Unfortunately, I am not sure about errors on the server’s log files, I don’t have access to that at the moment.

    But the way I see it, I have it narrowed down to two possibilities:

    1. It is because I have wordpress (not MU) installed at the root http://gregeland.com/ and Buddypress installed at http://gregeland.com/projects/badmintonlife/
    2. There is some value in the database that I cannot find that is causing this

    I am leaning towards #1, but I can’t think of any real reason why it would behave like that.

    #53207
    Jeff Sayre
    Participant

    Okay, a few questions to start:

    • From your description, it is not clear how you’ve attempted to debug your setup. When trying to figure out an issue with BuddyPress, it is best to distill your environment down to the lowest common denominator. This means switching to the default BP theme and deactivating all plugins except BP. It is not clear if you did this completely or just partially. In other words, you need to fully test your BP install without any 3rd-party addons. If it works in that state, then you can safely assume it is an issue with a custom theme, another plugin, or both. So, did you reset BP to its lowest common denominator?
    • What errors are you seeing in your server’s log files?
    • Could you please provide details about this setup:

      I have Buddypress installed in a subfolder with another wordpress installation in the root…

    #53200
    concrain
    Participant

    thanks for your help guys

    Jeff Sayre
    Participant

    @Lostdeviant

    Do you have any plugins other than BuddyPress installed and activated. If so, temporarily deactivate all of them except BP and see if that makes a difference.

    fti-cornwall
    Member

    Thanks.

    I got it working fine once I had the actual BuddyPress folder on my server. :)

    Time to have a moan at my host I thinks…

    Thanks for the help.

    lostdeviant
    Participant

    Are there extra lines for the .htaccess to make buddypress specific pages work?

    takuya
    Participant

    DO NOT use installers other than default wpmu plugin installer. Install buddypress from wordpress plugin installer, or set it up manually with FTP/SSH.

    And make sure to activate the theme before you select themes. Which is explained in wpmu documents.

    fti-cornwall
    Member

    Now I do know what you mean, my host doesn’t include BuddyPress in their install even though they call it BuddyPress in the Cpanel. Weird, they have an install for WP, WPMU and BuddyPress yet leave out the BuddyPress folder from the install!

    Thanks, I’ll download it and install to server.

    #53190

    In reply to: blog.dir question

    takuya
    Participant

    There may be plugins. And this question is about wpmu and not buddypress (although buddypress may save files there, or ?). Visit wpmu forums and search, so you may find related and detailed information.

    #53189
    Greg
    Participant

    More info:

    I have tried a fresh upload of BP files, and used default themes, disabled all plugins, deleted bp-custom.php, added users, and nothing seems to fix it. Also, when I try to visit the members page, Buddypress seems to think it is on the “home” page (the home link gets “active” class added)

    The strange thing is, when I try to search for users, it shows the directory page properly, but only then. Also, if I try the “visit random member” button it ALWAYS shows the blank user that is shows when I just go to the members directory page.

    It isn’t a plugin, or theme file, could it possibly be something in the database? I couldn’t find anything.

    I am using the BP 1.03 and WPMU 2.8.4a

    How’d you get yours to work Matt?

    #53187
    Detective
    Participant

    My approach is kind of weird.

    First:

    I needed a custom BP framework. So I started looking at the old Skeleton Theme. The first thing I noticed is that I didn’t want a fixed layout BP theme, so I removed all sidebars in each template file and wrapped the content inside a function.

    This means that every template file of my BP theme was something like this:

    <?php
    /* my license ... GPL2 of course :) */

    function this_file_content() {
    ?>
    just the content of the page, without sidebars
    <?php
    }

    my_layout_generator( 'this_file_content' );

    The magic is in my_layout_generator, which defines the html layout of each page. This includes sidebars and other stuff. The sidebars are fully widgetized, and I have custom widgets like “BP Options Bar” and “BP User Bar”, etc. Their content is also managed through actions.

    my_layout_generator can mimic any WordPress theme, you just have to write the “skeleton layout” of your target theme.

    Second:

    This BP framework must be integrated with the WP theme. I setup the framework as child-theme and the original WP theme as parent theme.

    Considering this, my_layout_generator has the following body (simplified from the original):

    function my_layout_generator( $content_func = '' ) {
    get_header();

    ?>
    <div id="container">
    <?php
    if ( !empty( $content_func ) && is_callable( $content_func ) )
    call_user_func( $content_func );
    ?>
    </div>
    <div id="sidebars">
    <?php // your sidebars code ?>
    </div>
    <?php

    get_footer();
    }

    This uses the original theme headers and footers. I just need to provide the correct markup in the content!

    There are other things to care about, like page title. Probably the header of the original theme uses wp_title instead of the BP title. Luckily, wp_title can be filtered! This is actual code from my framework:

    add_filter( 'wp_title', 'gs_wp_title' );
    // we need to put the current page title on the wp_title filter, so thesis will catch it
    function gs_wp_title($title, $sep = '', $seplocation = '') {
    if ( bp_is_blog_page() )
    return $title;

    global $bp;

    if ( !empty( $bp->displayed_user->fullname ) ) {
    $title = strip_tags( $bp->displayed_user->fullname . ' — ' . ucwords( $bp->current_component ) . ' — ' . $bp->bp_options_nav[$bp->current_component][$bp->current_action]['name'] );
    } else if ( $bp->is_single_item ) {
    $title = ucwords( $bp->current_component ) . ' — ' . $bp->bp_options_title;
    } else if ( $bp->is_directory ) {
    if ( !$bp->current_component )
    $title = sprintf( __( '%s Directory', 'buddypress' ), ucwords( BP_MEMBERS_SLUG ) );
    else
    $title = sprintf( __( '%s Directory', 'buddypress' ), ucwords( $bp->current_component ) );
    }

    return $title;
    }

    Now we have an integrated BP theme framework :) Mine is integrated with Thesis, I think other themes will be much easier to integrate because you can directly copy their layouts from their template files.

    lostdeviant
    Participant

    when I changed the permalink back to default, instead of getting “page not found” the buddypress pages didn’t load anything new just the same page refreshed without any error message. in other words, that didn’t work either.

    fti-cornwall
    Member

    Not sure what you mean by downloaded and activated?

    My host provides an automatic install of BuddyPress from my cpanel. I installed it from cpanel, set the site name and email then logged into the admin panel. All other themes work except your BuddyPress Default Home Theme. Its on the server in /themes/bphome and it shows up as a thumbnail in the ‘manage themes’ page but the site shows a blank page after I activate it.

    Andy Peatling
    Keymaster

    Make sure you actually have BuddyPress downloaded and activated and you’re not just trying to activate the themes.

    fti-cornwall
    Member

    Thanks. There’s nothing showing in my cpanel ‘error logs’.

    Would they be found in my ‘error logs’ in cpanel or are php errors stored elsewhere?

    #53176
    Andy Peatling
    Keymaster

    Delete BuddyPress and the /wp-content/bp-themes/ directory. Deactivate all of your plugins. Upload 1.1 and move the new themes, reactivate.

    #53175
    Andy Peatling
    Keymaster

    No. It needs to be updated still. For now you should use one of the components in BuddyPress as a reference. I will update this ASAP.

    Andy Peatling
    Keymaster

    Check your PHP logs for the error.

    #53173
    Andy Peatling
    Keymaster

    I don’t understand the problem here.

    @wordpressfan: your bug is related to the achievements plugin by the look of that error, not BuddyPress itself.

    #53168
    bpisimone
    Participant

    Wow would have saved me a lot of time, thanks JJJ!

    lostdeviant
    Participant

    yes, by default theme I mean the buddypress one..

    #53164

    The skeleton theme is a bare-bones HTML theme that exists for you to add your custom CSS to, so yes absolutely go nuts and edit until your heart’s content. :)

    I would suggest, however, that if you are new to BuddyPress, that you start off with the Release Candidate rather than 1.0. It will give you a head start on what is coming by the time you’re comfortable enough to go live.

    #53163
    concrain
    Participant

    Can i replace the skeleton theme css with my own…

    hey thanks guys. sorry it seem like such a simple question.

    Matze
    Participant

    This is haow it worked:

    server.error-handler-404 = “/index.php”

    url.rewrite-once = (

    “^/(.*/)?files/$” => “/index.php”,

    “^/(.*/)?files/(.*)” => “/wp-content/blogs.php?file=$2”,

    “^(/wp-admin/.*)” => “$1”,

    “^/(wp-.*)$” => “$1”,

    “^/([_0-9a-zA-Z-]+/)?(wp-.*)” => “/$2”,

    “^/([_0-9a-zA-Z-]+/)?(.*.php)$” => “/$2”,

    “(?.*)$” => “index.php$1”,

    “.” => “index.php”

    )

    THANKS TO “jdaviescoates”

    https://trac.buddypress.org/ticket/1078

    lostdeviant
    Participant

    I’m deleting my buddypress directory again and uploading the newest trunk.

Viewing 25 results - 62,201 through 62,225 (of 68,970 total)
Skip to toolbar