I think I found the issue, the post.php script create the links to forward to the board but it adds this string: &
So at the end that changes the menu and the link to some section that does not exist therefore it takes the default template defined in joomla. that is wrong, how does this fireBoard create a link using this notation:
index.php?option=com_fireboard&
amp;Itemid=181&func=view&catid=3&id=6#6
when the right url is :
index.php?option=com_fireboard&Itemid=181&func=view&id=6&catid=3
This
& is all over the scripts. This is not right. why did they us this kind of URL notation. That is totally wrong and joomla takes those characters as a different menu and section.
update: You assume that SEF is activated in Joomla and the section when SEF is not activated (// Handling for when SEF is not activated) does not convert those & and that is why the URL's are all screwed up. I am not activating SEF in my Joomla, that means that the board is going to be pointing to the wrong section and menu because these "amp;" definitions.