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
Re:Loads forum page then reloads once again? (1 viewing) (1) Guest
TOPIC: Re:Loads forum page then reloads once again?
#12450
Re:Loads forum page then reloads once again? 1 Year, 6 Months ago  
zammbi wrote:
Well it seems to load to my home page sometimes and then I have to click a 2nd time to get to the forum. My server is down atm, once its up again I'll try find some more info.
Same here...
Bojan1983 (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#12507
Re:Loads forum page then reloads once again? 1 Year, 6 Months ago  
Well:

This code is responsible for redirection:[code:1]mosRedirect($mosConfig_live_site.$_ENV["REQUEST_URI"]);[/code:1]
$_ENV["REQUEST_URI"] variable is supposed to be holding everything after domain from currect http request, i.e.

If request was:[code:1]http://www.blah.com/index.php?option=com_fireboard&catid=124[/code:1]
Then:
$_ENV["REQUEST_URI"] should be equal to[code:1]/index.php?option=com_fireboard&catid=124[/code:1]

$_ENV variable might be empty in your case, so redirection is going to your frontpage, change that to direct forum URL (i.e. make it http://www.blah.com/index.php?option=com_fireboard), OR manually find all GET/POST request variables and add them to the end of redirect request, OR find out another way how to redirect to same URL as original request was made.
Prutkar (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
 
#13788
Re:Loads forum page then reloads once again? 1 Year, 6 Months ago  
Anyone find a fix to this?
dexityimages (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#13854
Re:Loads forum page then reloads once again? 1 Year, 6 Months ago  
If you read few pages back you'll find fix.
Prutkar (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
 
#14934
Re:Loads forum page then reloads once again? 1 Year, 5 Months ago  
It fixed the reload problem but is there a fix available for the click a 2nd time to go to the forum?
PGLion (User)
FireBoards Rulez!
Junior Boarder
Posts: 66
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: The Netherlands Birthdate: 1970-08-04
Logged Logged
 
 
#23424
Re:Loads forum page then reloads once again? 1 Year, 3 Months ago  
Prutkar,

I just installed Fireboard 1.0.3 stable into Joomla 1.0.13 and CB 1.1, and I also have the reload problem.

Line 265 in my fireboard.php does not show:

[code:1]echo 'setTimeout("window.location.reload( true )",100);';[/code:1]

However, I found this at line 256-258:

[code:1] if ($func != "post"«») {
echo 'setTimeout("window.location.reload( true )",100);';
}
[/code:1]

Should I replace line 257 (echo...) with your code?

[code:1]global $mosConfig_live_site;
$database->setQuery("UPDATE #__fb_sessions SET lasttime=$systime where userid=$my->id"«»);
$database->query();
mosRedirect($mosConfig_live_site.$_ENV["REQUEST_URI"]);[/code:1]

Will this solve the problem?

Thanks for your help!
curt (User)
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/09/18 17:25 By curt.
 
 
#23516
Re:Loads forum page then reloads once again? 1 Year, 3 Months ago  
I think we should also look at "Sneaky Module Syndrome" and "What template are you using".
I have the latest stable Fireboard.

Sneaky Module: News Flash -- Random news. I noticed with this puppy turned on I get a double refresh.
Sneaky Module 2: Latest posts. Running this puppy I get double refresh.
Sneaky Module 3: Some hidden modules will double refresh, I forget the one that did it.
This is even when them NOT showing up in the side of forums.
Template coding. I like to change templates to confuse my members now and then. I discovered "Lazy Mans Syndrome" while using templates for Vbulletin. They create a template and it has extra rogue code in it. Try another template.
kgw (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#23551
Re:Loads forum page then reloads once again? 1 Year, 3 Months ago  
PGLion wrote:
It fixed the reload problem but is there a fix available for the click a 2nd time to go to the forum?well, I think you are referring to option when user clicks direct topic link which has topic id or category id values included ..../...topicid=xxx&catid=XXX, code would have to catch those and ad them to our new code.

But as far as I understand that should be already taken care of by ENV_ variable
Prutkar (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/09/19 12:14 By Prutkar.
 
 
 
#23554
Re:Loads forum page then reloads once again? 1 Year, 3 Months ago  
curt wrote:
Should I replace line 257 (echo...) with your code?
If line 265 is not there with timeout code, but it is at line 257, of course, replace it and that should do it.
Prutkar (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
 
#23582
Re:Loads forum page then reloads once again? 1 Year, 3 Months ago  
Can you check with this file, if it is working?

rename it to fireboard.php
File Attachment:
File Name: fireboard-9f1c2e81de9322ddd79650e449f9a46e.txt
File Size: 34598
danialt (Admin)
BoJ Team
Simplicity
Administrator
Posts: 957
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1978-05-25
Logged Logged
 
Last Edit: 2007/09/19 14:34 By danialt. Reason: attachment missing
 
Best Of Joomla Team
FireBoard Project Manager
 
 
Go to top