Current time: 03-21-2010, 11:46 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] 'Board default' not shown in language dropdown
08-26-2008, 04:25 PM
Post: #1
[F] 'Board default' not shown in language dropdown
The 'Board default' option is not shown in the 'Board language' dropdown in the 'Edit user' page in the AdminCP. This means that, if a user registers and leaves the language option at 'Board default', and I then edit the user in the AdminCP, the first language in the language dropdown is selected and saved (which in my case is Farsi).

Adding a 'Board default' option as the first option (like in the registration form and the UserCP) would solve this.

forum.kde.org
Communicate.

[Image: kde-forum.png]
Find all posts by this user
08-26-2008, 11:29 PM
Post: #2
[F] 'Board default' not shown in language dropdown
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
09-03-2008, 02:43 PM
Post: #3
RE: [F] 'Board default' not shown in language dropdown
Hi Ryan,
can i have changes for fix this situation on board manuely ?

thanks.

It is not disgraceful to ask, it is disgraceful no to ask.
Find all posts by this user
09-08-2008, 09:32 PM
Post: #4
RE: [F] 'Board default' not shown in language dropdown
(09-03-2008 02:43 PM)roy Wrote:  Hi Ryan,
can i have changes for fix this situation on board manuely ?

thanks.

As a suggestion you can edit "admin\modules\user\users.php" in line 1117:

This line is:

PHP Code:
        "<label for=\"language\">{$lang->board_language}:</label><br />".$form->generate_select_box("language"$lang->get_languages(), $mybb->input['language'], array('id' => 'language')) 

You can change it to:

PHP Code:
        "<label for=\"language\">{$lang->board_language}:</label><br />".$form->generate_select_box("language"array_merge(array("" => $lang->use_default),$lang->get_languages()), $mybb->input['language'], array('id' => 'language')) 

Wink

Visit this user's website Find all posts by this user
09-09-2008, 10:02 AM
Post: #5
RE: [F] 'Board default' not shown in language dropdown
(09-08-2008 09:32 PM)SaeedGh Wrote:  
(09-03-2008 02:43 PM)roy Wrote:  Hi Ryan,
can i have changes for fix this situation on board manuely ?

thanks.

As a suggestion you can edit "admin\modules\user\users.php" in line 1117:

This line is:

PHP Code:
        "<label for=\"language\">{$lang->board_language}:</label><br />".$form->generate_select_box("language"$lang->get_languages(), $mybb->input['language'], array('id' => 'language')) 

You can change it to:

PHP Code:
        "<label for=\"language\">{$lang->board_language}:</label><br />".$form->generate_select_box("language"array_merge(array("" => $lang->use_default),$lang->get_languages()), $mybb->input['language'], array('id' => 'language')) 

Wink

wery thanks SaeedGh Smile

It is not disgraceful to ask, it is disgraceful no to ask.
Find all posts by this user
09-09-2008, 07:47 PM
Post: #6
RE: [F] 'Board default' not shown in language dropdown
very nice SaeedGh Thanks

پشتیبانی رسمی فارسی مای بی بی
http://www.mybboard.ir
Translator (فارسی)persianToungue
http://www.ithost.ir
Hosting And DomainsToungue
Visit this user's website Find all posts by this user


Forum Jump: