[Bb-trac] [bbPress] #880: A little modification for 'User Languages' plugin

bbPress bb-trac at lists.bbpress.org
Tue May 13 16:42:11 GMT 2008


#880: A little modification for 'User Languages' plugin
-----------------------+----------------------------------------------------
 Reporter:  A1ex       |       Owner:                    
     Type:  task       |      Status:  new               
 Priority:  normal     |   Milestone:  1.0-beta & XML-RPC
Component:  Front-end  |     Version:  0.9.1             
 Severity:  trivial    |    Keywords:                    
-----------------------+----------------------------------------------------
 For normal work of the '[http://bbpress.org/plugins/topic/user-languages/
 User Languages]' plugin is required a little modification of the bb-
 settings.php file.

 Code

 {{{
 // Load the default text localization domain.
 load_default_textdomain();

 // Pull in locale data after loading text domain.
 require_once(BB_PATH . BB_INC . 'locale.php');
 $bb_locale = new BB_Locale();

 $bb_roles  = new BB_Roles();
 do_action('bb_got_roles', '');
 }}}

 should be replaced with


 {{{
 $bb_roles  = new BB_Roles();
 do_action('bb_got_roles', '');

 // Load the default text localization domain.
 load_default_textdomain();

 // Pull in locale data after loading text domain.
 require_once(BB_PATH . BB_INC . 'locale.php');
 $bb_locale = new BB_Locale();
 }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/880>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list