Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
(SOLVED!)Loads forum page then reloads once again? (1 viewing) (1) Guest
Go to bottom Favoured: 7
TOPIC: (SOLVED!)Loads forum page then reloads once again?
#12450
Re:Loads forum page then reloads once again? 1 Year, 2 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
 
The administrator has disabled public write access.  
#12507
Re:Loads forum page then reloads once again? 1 Year, 2 Months ago  
Well:

This code is responsible for redirection:
Code:

mosRedirect($mosConfig_live_site.$_ENV["REQUEST_URI"]);

$_ENV["REQUEST_URI"] variable is supposed to be holding everything after domain from currect http request, i.e.

If request was:
Code:

http://www.blah.com/index.php?option=com_fireboard&catid=124

Then:
$_ENV["REQUEST_URI"] should be equal to
Code:

/index.php?option=com_fireboard&catid=124


$_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 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
 
 
The administrator has disabled public write access.  
#13788
Re:Loads forum page then reloads once again? 1 Year, 1 Month 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
 
The administrator has disabled public write access.  
#13854
Re:Loads forum page then reloads once again? 1 Year, 1 Month 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
 
 
The administrator has disabled public write access.  
#14934
Re:Loads forum page then reloads once again? 1 Year, 1 Month 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!
Senior Boarder
Posts: 60
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: The Netherlands Birthdate: 1970-08-04
Logged Logged
 
The administrator has disabled public write access.  
#23424
Re:Loads forum page then reloads once again? 11 Months, 2 Weeks 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:

echo 'setTimeout("window.location.reload( true )",100);';


However, I found this at line 256-258:

Code:

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



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

Code:

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"]);



Will this solve the problem?

Thanks for your help!
curt (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/09/18 17:25 By curt.
 
The administrator has disabled public write access.  
#23516
Re:Loads forum page then reloads once again? 11 Months, 2 Weeks 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
 
The administrator has disabled public write access.  
#23551
Re:Loads forum page then reloads once again? 11 Months, 2 Weeks 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.
 
 
The administrator has disabled public write access.  
#23554
Re:Loads forum page then reloads once again? 11 Months, 2 Weeks 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
 
 
The administrator has disabled public write access.  
#23582
Re:Loads forum page then reloads once again? 11 Months, 2 Weeks 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
Moderator
Posts: 909
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
 
The administrator has disabled public write access.  
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop