Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 27,576 through 27,600 (of 31,072 total)
  • Author
    Search Results
  • #53209
    Andy Peatling
    Keymaster

    Fixed it, problem in the old theme.

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

    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.

    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.

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

    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?

    #53178
    Andy Peatling
    Keymaster

    Find the specific filter on wire activity posting and use that in your themes’ functions.php.

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

    Andy Peatling
    Keymaster

    Check your PHP logs for the error.

    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.

    lostdeviant
    Participant

    to remove the possibility of some undefined file not uploading correctly, I made a zip file with everything, uploaded that and extracted it with the control panel file managerbefore activating (again) buddy press and the default theme.

    no change.

    lostdeviant
    Participant

    Is the CSS being loaded?

    yes I see style when using the theme, but as I mentioned all the buddypress specific pages are “page not found” in otherwords the widgets and the regular MU stuff loads like blog posts and blog pages.

    Have you changed the permalink settings in WPMU?

    not recently. Currently:

    custom /%postname%/

    Do you have a htaccess file in your WPMU install?

    yes

    Since you say you have uploaded manually, you may have missed a file or put something in the wrong place. Or perhaps the file/directory permissions need setting correctly? (I’m not sure what to, try 777 for a test)

    well, I’ve reuploded everything at least once. Which files should be changed to 777? I didn’t see anything in the readme about making everything publicly editable.

    Can’t you post url to your test site? is it local? or screenshots maybe?

    no, because it is a real site, after I finish making sure Buddypress still doesn’t work, I deactivate the Buddypress plugin and reactivate my normal theme.

    local? not sure what you mean by that.

    everything LOOKs good except for the “page not found” where the normal content should be on buddypress pages. I see the style and widgets load.

    Paul Wong-Gibbs
    Keymaster

    When using the home theme:

    Is the CSS being loaded?

    Have you changed the permalink settings in WPMU?

    Do you have a htaccess file in your WPMU install?

    Since you say you have uploaded manually, you may have missed a file or put something in the wrong place. Or perhaps the file/directory permissions need setting correctly? (I’m not sure what to, try 777 for a test)

    lostdeviant
    Participant

    I only tried the parent as a TEST after the fact that the member theme didn’t work.

    I don’t see why buddypress wouldn’t work with blogs in subdirectories since that would be the most logical install (since it doesn’t require extra server setup) That is how MU works.

    It is installed at the webroot.

    If buddypress is now exclusively subdomains, I’ll have to look for another solution (or start coding my own friends,groups, and internal messaging hacks *sigh* which wouldn’t be good enough to share.

    I did another search this morning of the forum and I see that several others are having the same exact problem, but no one has replied with any fixes. I saw a few threads saying not to have mu installed in a subdirectory, but that is not my case. It is so disappointing.

    takuya
    Participant

    Never use bp-sn-parent as it says.

    There’s no hacking needed to use default theme.

    Perhaps subdirectory is conflicting with buddypress, as I never done that before. It’s always recommended to use subdomains. Anyway, search the forum again with different keywords and wait for else to post here.

    lostdeviant
    Participant

    just as a test I tried using the parent theme instead of default. No, those pages still didn’t work.

    Where in the code are those pages set to direct to the right template pages? ( because it isn’t working) perhaps there is a hack to get it working.

    #53137
    takuya
    Participant

    Just to note my above problem is now fixed. Thanks to Brajesh.

    #53133
    thomasbp
    Participant

    May I reopen? :)

    The solution above worked for me until BP 1.1.

    Now I don’t want to tamper around with the functions.php in the parent theme.

    Thus I’ve tried to unhook the “bp_dtheme_show_home_blog” function in the bp-sn-parent/function.php by entering

    remove_action( ‘wp’, ‘bp_dtheme_show_home_blog’, 2 );

    into the functions.php of my child theme. Even though other functions in my child functions.php are working the removing of this action does not succeed. Any idea why?

    #53131
    danbpfr
    Participant

    Thank you socialpreneur for the response, but….

    Since 10 mounth i go to the backend via these menu item.

    As site admin i have to work in the admin.

    Since the update to 1.1 i can no more access to “publish” I entend that BP should be manageable from the frontend, but if so it is also normal that i can publish, delete or edit my stuff.

    It’s not my first update, i know FTP and SSH and i handle always manually. And so far as i can see, my theme is setted correctly. You can take a look, the address is above.

    In bp-core_adminbar.php, at line 151, is a list

    echo ‘<li’ . $alt . ‘>’;

    echo ‘siteurl . ‘”>’ . $blog->blogname . ‘ (‘ . $role . ‘)‘;

    if ( !( ‘Subscriber’ == $role ) ) { // then they have something to display on the flyout menu

    echo ‘

    ‘;

    The file is from 1.1 version.

    The first line indicates the wp-admin url.

    I don’t see this menu when i’m logged as admin. I have only “My blogs” who links to the root site and “Create a blog”

    Meanwhile there is another tread here with the same problem i guess

    https://buddypress.org/forums/topic/my-blogs-admin-menu-not-working

Viewing 25 results - 27,576 through 27,600 (of 31,072 total)
Skip to toolbar