Dear FireBoard users,
In order to further develope the need of Joomla for a robust forum, FireBoard component has been moved to its own new home and new name. You can find more information regarding the Kunena, the successor of FireBoard, at kunena.com. The current forum here will stay for some time more for referencing needs. You can find the FireBoard files under joomlacode.org and other files
Upgrading to Kunena is highly recommended!

Kunena! - To Speak!

A revolution is coming... Kunena - Swahili for: To Speak! THE Next generation of native Joomla based Forum ultra component. Forget what you know about Joomla based forums...
Amazingly Simple Lean and Clean Easier Customization
Kunena is about to redefine the world of Joomla! with the most simplistic ultra component out there. For ultimate performance based on state of the art development techniques, Kunena! is about to bring you... With an integrated plugin system that will allow you to extend Kunena beyond your wildest imaginations...
JoomFish + Fireboard in frontend language chooser
TOPIC: JoomFish + Fireboard in frontend language chooser
#53403
JoomFish + Fireboard in frontend language chooser 9 Years, 4 Months ago  
Hello,

I was wondering if fireboard is compatible for JoomFish when changing the language in the frontend? My multi-lingual web site allows the users the change the contents from English to Chinese in the frontend with the use of a drop-down box. Is this possible with fireboard?

Currently I have my Joomla integrated with SMF forums and JoomFish words perfectly well changing from one language to another in the frontend. However, it is difficult to maintain both integrations SMF and Joomla..

Could somebody please help me. I have downloaded the Chinese language files but I\'m not sure how to make it work with JoomFish.

Thanks in advance!
#53403
JoomFish + Fireboard in frontend language chooser 9 Years, 4 Months ago  
Hello,

I was wondering if fireboard is compatible for JoomFish when changing the language in the frontend? My multi-lingual web site allows the users the change the contents from English to Chinese in the frontend with the use of a drop-down box. Is this possible with fireboard?

Currently I have my Joomla integrated with SMF forums and JoomFish words perfectly well changing from one language to another in the frontend. However, it is difficult to maintain both integrations SMF and Joomla..

Could somebody please help me. I have downloaded the Chinese language files but I\'m not sure how to make it work with JoomFish.

Thanks in advance!
#54694
Re:JoomFish + Fireboard in frontend language chooser 9 Years, 3 Months ago  
Did You manage it ? Would need some help too.
#54704
Re:JoomFish + Fireboard in frontend language choos 9 Years, 3 Months ago  
[b]peetee wrote:[/b]
[quote]Did You manage it ? Would need some help too.[/quote]

Hi peetee,

Yes I managed to make it work. First I download the [url=http://www.bestofjoomla.com/component/option,com_extensions/page,show_category/catid,11/order,0/expand,0/text_search,/Itemid,67/]language packs[/url] and then extract the contents and rename some filenames to be the same as the language we\'ve installed in our backend Joomla.

So for example, if I go to my Site -> Language Manager -> clicked simplified chinese utf-8 and it\'ll show that I am editing the file public_html/joomla/simp_chinese_utf8.php, therefore I rename two things extracted from the fireboard language pack I downloaded:
administrator/components/com_fireboard/language/simp_chinese_utf8.php
components/com_fireboard/template/default/images/simp_chinese_utf8

Then upload these to your joomla directory.
#57364
Re:JoomFish + Fireboard in frontend language chooser 9 Years, 2 Months ago  
hi guys, I installed Joomla 1.5 with Joom!Fish 2.0 beta and Fireboard 1.0.4, I wanted to see the board controls in another language, so I tried to test with Japanese, and unsurprisingly it didn\'t work, but I was able to hack it. In the /components/com_fireboard/class.fireboard.php file I commented out line 116, and immediately after I added this:
[code]
// define(\'JB_LANG\', $mainframe->getCfg(\'lang\'));

if (isset($_GET[\'lang\'])) {

//select language from GET variable
switch ($_GET[\'lang\']) {

//\'ja\' to japanese
case \'ja\' :
define(\'JB_LANG\', \'japanese\');
break;

//\'ko\' to korean
case \'ko\' :
define(\'JB_LANG\', \'korean\');
break;

//with no recognized html get lang variable,
//get the language the original way
default:

define(\'JB_LANG\', $mainframe->getCfg(\'lang\'));
break;
}
} else {
//with no html get lang variable found,
//get the language the original way
define(\'JB_LANG\', $mainframe->getCfg(\'lang\'));
}
[/code]

To summarize:

- The existing function call, [code]$mainframe->getCfg(\'lang\')[/code], was returning the wrong value, \"english\".
- Joom!Fish was setting an HTML \"get\" variable as a two-letter language code.
- I changed Fireboard to \"get\" the selected language from the html-get variable, which was set properly.
- now Fireboard will look for the proper language files in the administrator and image folders

Hope this helps someone.
#60192
Re:JoomFish + Fireboard in frontend language chooser 9 Years, 1 Month ago  
Thanks danicheman, I think you just saved my azz, and I registered just to tell you so. I installed FireBoard 1.0.5 on Joomla 1.5 running JoomFish 2.0 and was getting no love. Your hack fixed it right up. Thanks.
#60347
Re:JoomFish + Fireboard in frontend language choos 9 Years, 1 Month ago  
Great work, works excellent on my site as well.

I hope Fireboard developers keep this functionality in mind for 1.0.5 final release or at least 2.0 release. We need Joom!Fish compatibility!
#60348
Re:JoomFish + Fireboard in frontend language choos 9 Years, 1 Month ago  
vladan, do your user profiles still work after making this hack? Not sure if the two issues are related, but I\'m now getting a strange new bug where users cannot view other users\' profiles: [url=http://www.bestofjoomla.com/component/option,com_fireboard/func,view/Itemid,38/catid,73/id,60302/]relevant topic[/url]. Just wondering if this hack had something to do with it...
#60376
Re:JoomFish + Fireboard in frontend language choos 9 Years, 1 Month ago  
Hi, user profiles are not working either before or after this hack, so it doesn\'t affect. Fireboard bug when using JoomFish it seems.
#60531
Re:JoomFish + Fireboard in frontend language chooser 9 Years, 1 Month ago  
[b]danicheman wrote:[/b]
[quote]hi guys, I installed Joomla 1.5 with Joom!Fish 2.0 beta and Fireboard 1.0.4, I wanted to see the board controls in another language, so I tried to test with Japanese, and unsurprisingly it didn\'t work, but I was able to hack it. In the /components/com_fireboard/class.fireboard.php file I commented out line 116, and immediately after I added this:
[code]
// define(\'JB_LANG\', $mainframe->getCfg(\'lang\'));

if (isset($_GET[\'lang\'])) {

//select language from GET variable
switch ($_GET[\'lang\']) {

//\'ja\' to japanese
case \'ja\' :
define(\'JB_LANG\', \'japanese\');
break;

//\'ko\' to korean
case \'ko\' :
define(\'JB_LANG\', \'korean\');
break;

//with no recognized html get lang variable,
//get the language the original way
default:

define(\'JB_LANG\', $mainframe->getCfg(\'lang\'));
break;
}
} else {
//with no html get lang variable found,
//get the language the original way
define(\'JB_LANG\', $mainframe->getCfg(\'lang\'));
}
[/code]

To summarize:

- The existing function call, [code]$mainframe->getCfg(\'lang\')[/code], was returning the wrong value, \"english\".
- Joom!Fish was setting an HTML \"get\" variable as a two-letter language code.
- I changed Fireboard to \"get\" the selected language from the html-get variable, which was set properly.
- now Fireboard will look for the proper language files in the administrator and image folders

Hope this helps someone.[/quote]

MAN I can´t believe ... you Saved my life, thanks ... i was looking for this solution for about 6 months ... Thank You Thank You Thank You :woohoo:
#62946
Re:JoomFish + Fireboard in frontend language chooser 8 Years, 11 Months ago  
Could someone please explain a bit the code that [b]danicheman[/b] sent.
I\'m not an advanced user of php, so can someone tell what exactly to put in line 116 of the class.fireboard.php file ?

I have english language as default, but romanian language is also installed.

Thank you !

P.S. I made the following changes, but it didn\'t work for me :(
[code]define(\'JB_LANG\', $mainframe->getCfg(\'lang\'));
if ( isset( $_GET[\'lang\'] ) ) {
switch ( $_GET[\'lang\'] ) {
case \'ro\':
define(\'JB_LANG\', \'romanian\');
break;
case \'en\':
define(\'JB_LANG\', \'english\');
break;
default:
define(\'JB_LANG\', $mainframe->getCfg(\'lang\'));
break;
}
}
else {
define(\'JB_LANG\', $mainframe->getCfg(\'lang\'));
}[/code]
are further modifications necessary ?

[b]Later Edit[/b]: PROBLEM SOLVED ! but is there any way the forum will show a different content when switching to another language ?
Page: 1