Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

  • Scott
    Participant

    @scottwermter

    Thanks @mercime . It is not perfect but I think with that and some css work I can get it. I did have to remove the endif; from the code on that page.

    
    <?php endwhile; endif; ?>
    

    Thanks again for your help.


    Scott
    Participant

    @scottwermter

    I had one more quick question. Is there a huge downside to using the template pack? I keep seeing people say to not use it because it is already basically built into BuddyPress but what other reasons are there? Has the plugin been totally removed from the WordPress repository?


    Scott
    Participant

    @scottwermter

    I am using the Sahifa theme from themeforest. http://themeforest.net/item/sahifa-responsive-wordpress-newsmagazineblog/2819356

    I do see the css and js in the source.

    
    <link rel='stylesheet' id='bp-parent-css-css'  href='http://devlodge.dev/wp-content/themes/sahifa/buddypress/css/buddypress.css?ver=1.8' type='text/css' media='screen' />
    <script type='text/javascript' src='http://devlodge.dev/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.js?ver=1.8'></script>
    

    Yes, Twenty Twelve works like it is suppose to. I am at a loss why this isn’t working. The theme developer says it isn’t made for BuddyPress so it is hard to get support from them. Unless I know what specific needs to be changed I might be able to go back to them and ask them to check it out.


    Scott
    Participant

    @scottwermter

    Some more information. I am using BuddyPress 1.8 and WordPress 3.5.2.

    I found that if I have the template pack enabled and working that if I go into the settings and check Disable BP Template Pack CSS that it breaks the theme like if I remove the template pack. So I must be missing some css in order to make my theme work with BuddyPress.

    I am currently trying to work through this but if anyone has some ideas I would certainly love to hear them.


    Scott
    Participant

    @scottwermter

    After disabling all plugins and still getting the nothing I reverted to the default bp theme and upgraded. This worked and it looks great. Now I need to figure out what is wrong with my custom theme.


    Scott
    Participant

    @scottwermter

    Has anyone had an issue upgrading? I have tried updating my development environment twice and the end result is I get a blank white page no matter what page I try to go to.


    Scott
    Participant

    @scottwermter

    Finally found the fix for this so in case anyone else needs it. Add the below to bp-custom.php

    
    /* This fixes the Multisite avatar problem */
    function nfm_bp_avtar_upload_path_correct($path){
        if ( bp_core_is_multisite() ){
         //   $path = ABSPATH . get_blog_option( BP_ROOT_BLOG, 'upload_path' );
    		$path = ABSPATH . 'wp-content/uploads/';
        }
        return $path;
    }
    add_filter('bp_core_avatar_upload_path', 'nfm_bp_avtar_upload_path_correct', 1);
    
    function nfm_bp_avatar_upload_url_correct($url){
        if ( bp_core_is_multisite() ){
            $url = get_blog_option( BP_ROOT_BLOG, 'siteurl' ) . "/wp-content/uploads";
        }
        return $url;
    }
    add_filter('bp_core_avatar_url', 'nfm_bp_avatar_upload_url_correct', 1);
    

    Scott
    Participant

    @scottwermter

    Has anyone been able to get avatars to show across blogs with buddypress 1.7?


    Scott
    Participant

    @scottwermter

    @giannisff

    I like the look and layout of your site. I especially like the show/hide login form at the top. Is that a plugin?


    Scott
    Participant

    @scottwermter

    I got this to work by doing the follwoing.

    In the function bp_groupblog_setup_nav add these two lines.

    
    $blog_details = get_blog_details( get_groupblog_blog_id(), true );
    $siteurl = ( $blog_details->siteurl );
    

    Then change the parent_url to this.

    
    'parent_url' => $siteurl,
    

    If you change your redirect options in the group blog settings they won’t work until you change the above code back.


    Scott
    Participant

    @scottwermter

    In case anyone else wonders, this is how I did it.

    `
    add_shortcode(‘factioncount’, ‘FactionCount’);
    function FactionCount() {
    global $wpdb;

    //my table
    $table = $wpdb->prefix . “bp_groups_groupmeta”;

    prefix . “bp_groups_groupmeta”;

    //query for my tags
    $ald_tags = $wpdb->get_results(“SELECT * FROM {$table} WHERE meta_key = ‘gtags_group_tags’ AND meta_value LIKE ‘%aldmeri-dominion%'”);

    $ald_tags = (array_filter($ald_tags));

    print_r($ald_tags);

    $ald_tags = count(array_keys($ald_tags));
    return $ald_tags;

    }
    ?>
    `


    Scott
    Participant

    @scottwermter

    Anyone have any ideas?


    Scott
    Participant

    @scottwermter

    Multisite WordPress along with this plugin will get you close to what you want.

    https://wordpress.org/extend/plugins/bp-groupblog/

Viewing 13 replies - 1 through 13 (of 13 total)
Skip to toolbar