kossut
Member
Posted 5 months 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/
needle
Member
Posted 3 months 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.
needle
Member
Posted 3 months 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