Hello,
sorry for the later answer... But now here are the modification to show the country-flag next to the users icon. I made this hack a long time ago and didn't noticed the changings. So I hope I don't forget here anythink.
1. The Profile-Flag-Plugin for CB must installed and working! You can get it
here.
2. Backup everything (database + Files)
3. open /components/com_fireboard/template/default/view.php and insert the following lines in the same area as the modifications from the user icons
[code:1] if ($cbinfo->$fbConfig['cb_country_field'] != '') {
$userinfo->country = $cbinfo->$fbConfig['cb_country_field'];
}[/code:1]
when find in the same file the following text:
// Begin: Additional Info //
insert after them the following code:
[code:1]if ($userinfo->country != 'None') {
if ($userinfo->country != '') {
$msg_country = 'country).'.gif" border="0" alt="'._FB_MYPROFILE_COUNTRY.': '.$gender.'" title="'._FB_MYPROFILE_COUNTRY.': '.$userinfo->country.'" />';
}
}[/code:1]
Replace here OUR_DOMAIN.??? with you domainname, of course.
Save and close this file.
Now open components/com_fireboard/template/default/message.php
and edit that in this attachment descripe (I can't post it here, because the forum don't show php-things :angry: [file name=foreboard.txt size=352]http://www.bestofjoomla.com/images/fbfiles/files/foreboard.txt[/file]
Save and close this file.
Now open /administrator/components/com_fireboard/language/YOURLanguage.php and insert the following code:
[code:1]DEFINE('_FB_MYPROFILE_COUNTRY', 'Country');[/code:1]
I hope that is all, if something don't work then send me a PM.
And this should be the result :lol: : [img size=161]http://www.bestofjoomla.com/images/fbfiles/images/flag.jpg[/img]
Best wishes,
Roland