Re: BuddyPress 1.2 and multilanguage
Any updates, John?
The third party BuddyPress Multilingual plugin is set to work with WPMU and generates the following error when installed in a single user WP:
“Fatal error: Call to undefined function get_blog_list()”
Since I am not looking for any blog list (single user WP) I have commented out the following in sitepress-bp.php:
// $blogs = get_blog_list( 0, ‘all’ );
// foreach ($blogs as $k => $v) {
// //if TODO: domains?
// if ($v[‘blog_id’] == BP_ROOT_BLOG ) $this->home_blog = rtrim(‘http’.$this->https.’/’.$v[‘domain’].$v[‘path’],’/’);
// else if ( $this->siteurl.’/’ != ‘http’.$this->https.’/’.$v[‘domain’].$v[‘path’] )
// $this->blogs_search[] = rtrim(‘http’.$this->https.’/’.$v[‘domain’].$v[‘path’],’/’);
// $this->blogs[$v[‘blog_id’]][‘domain’] = $v[‘domain’];
// $this->blogs[$v[‘blog_id’]][‘path’] = $v[‘path’];
// $this->blogs[$v[‘blog_id’]][‘fullpath’] = rtrim(‘http’.$this->https.’/’.$v[‘domain’].$v[‘path’],’/’);
// }
No more errors, naturally. I then tried to tweak the code to get the urls right. After many attempts, I am still not being able to get it right. Any solutions?