Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
How to change the forwarding URL after posting (1 viewing) (1) Guest
TOPIC: How to change the forwarding URL after posting
#54726
How to change the forwarding URL after posting 5 Months, 1 Week ago  
After posting a new thread the system board sends a feedback saying that the post was submitted successfully then it is forwarded to the post. The problem is that it opens the new post using the default template for joomla, when I have a template defined for the fireBoard since the text color in the main template does not contrast very well with fireboard themes.

How or where does fireBoard pick the template or the link to open the new post?

do you know the script used or is there any option in the setup I have not found to change this url?
al_bondi_2000 (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#54729
Re:How to change the forwarding URL after posting 5 Months, 1 Week ago  
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&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.
al_bondi_2000 (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/07/29 07:03 By al_bondi_2000.
 
 
#54730
Re:How to change the forwarding URL after posting 5 Months, 1 Week ago  
Here is the solution;

- Go to /includes and edit sef.php
- in function sefRelToAbs( $string ) look for :

// Handling for when SEF is not activated
// Relative link handling

- add this line
$string = str_replace( '&', '&', $string );
before this line
if ( (strpos( $string, $mosConfig_live_site ) !== 0) ) {



This is for Joomla 1.0.13
al_bondi_2000 (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top