WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Groupblog
Problem creating blog while creating group (3 posts)

  1. kossut
    Member
    Posted 2 years ago #

    I have a problem when creating new group. When I follow the new group wizard, and I'm trying to create new blog - the blog will have empty URL, title, and it is unable to reach the blog when group wizard is finished. I dont have this problem, when I'm adding a blog to an existing group. But from the users point of view, it could be frustrated experience.

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

  2. Christian Wach
    Member
    Posted 2 years ago #

    I see this too. Creating a group and skipping the blog creation screen, then going back and adding (or creating) a blog once the group is created works.

  3. Christian Wach
    Member
    Posted 2 years ago #

    The solution is to change the function at line 23 of bp-groupblog-cssjs.php to

    function bp_groupblog_add_js() {
    	if ( bp_is_groups_component() && bp_is_action_variable( 'group-blog' ) ) {
    		if ( file_exists( STYLESHEETPATH . '/groupblog/js/general.js' ) )
    			wp_enqueue_script( 'bp-groupblog-js', get_stylesheet_directory_uri() . '/groupblog/js/general.js', array('jquery') );
    		else
    			wp_enqueue_script( 'bp-groupblog-js', WP_PLUGIN_URL . '/bp-groupblog/groupblog/js/general.js', array('jquery') );
    	}
    }

    The plugin author did not declare jQuery as a dependency of general.js

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic