WordPress.org

Ready to get started?Download WordPress

Forums

BP Group Documents
[resolved] BP Group Documents conflict with WPML and Buddypress (4 posts)

  1. aboudard
    Member
    Posted 10 months ago #

    Hello,

    I'm running WP 3.5.2 with Buddypress 1.8.1 (just updated)
    The theme is Frisco, child theme of Buddypress
    When I activate BP Group Documents 1.3, I see my theme appears as broken, and I have a message in the dashboard that says :

    ERREUR : le répertoire des thèmes est soit vide, ou n’existe pas. Veuillez vérifier votre installation.

    (Theme directory is empty or doesn't exist, please check your installation)

    In the Theme section :

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    Frisco for BuddyPress The parent theme is missing. Please install the "bp-default" parent theme.

    In the same time, WPML is broken, the "directory configuration" doesn't work at all (urls like mysite.com/en/).

    The Group Documents work anyway, the website works (except for the english version).

    When I deactivate BP Groups Documents, all is restored !

    Thank you for your help !
    Alain

    http://wordpress.org/plugins/bp-group-documents/

  2. lenasterg
    Member
    Plugin Author

    Posted 10 months ago #

    Hi, I believe that this is an issue of Frisco theme.
    If you have access to the source code of theme make the following changes.

    In your /wp-content/themes/frisco-for-buddypress/theme-options.php file make the following changes:
    line 5-7
    replace:

    if ( current_user_can( 'edit_theme_options' ) ) {
    add_action( 'admin_bar_menu', 'theme_options_nav' );
    }

    with
    add_action( 'admin_bar_menu', 'theme_options_nav' );

    in the same file replace line~79-89 :

    // Add theme options navigation to admin bar.
    if ( current_user_can( 'edit_theme_options' ) ) {
    	function theme_options_nav() {
    	 global $wp_admin_bar;
    	 $wp_admin_bar->add_menu( array(
    	 'parent' => 'appearance',
    	 'id' => 'theme-options',
    	 'title' => 'Theme Options',
    	 'href' => admin_url('themes.php?page=theme_options')
    	 ) );
    	}
    }

    with

    // Add theme options navigation to admin bar.
    function theme_options_nav() {
        if (current_user_can('edit_theme_options')) {
            global $wp_admin_bar;
            $wp_admin_bar->add_menu(array(
                'parent' => 'appearance',
                'id' => 'theme-options',
                'title' => 'Theme Options',
                'href' => admin_url('themes.php?page=theme_options')
            ));
        }
    }

    I have also alerted the theme developer about that.

    Let me know if it works.

  3. aboudard
    Member
    Posted 10 months ago #

    Hello !

    The error messages of the theme are still there, but WPML works, and hopefully the multilingual buddypress will work.
    Thank you for investigating, I did contact the frisco author too and will seek the reason for this error too !

    Alain

    Shall wee mark the topic as resolved, yes ?

  4. lenasterg
    Member
    Plugin Author

    Posted 10 months ago #

    Fixed in version 1.4

Reply

You must log in to post.

About this Plugin

About this Topic