SMF Support > Install and Upgrade Help
page not found if you sit on the board problem?
BrandonMiller:
I just did an upgrade from SE and I got a few issues but the most annoying is when you have the board open for a minute or so it forwards or refreshes from
http://www.rivercityrockcrawlers.com/forum/index.php
to
http://www.rivercityrockcrawlers.com/forum/<?=$scripturl?>?action=<?=$action?>
how do I fix this?
Thanks..
[Unknown]:
This is some code you had in your YaBB SE template.
IMHO, you should just find and remove this:
--- Code: ---<?
global $action;
if( $action == 'who' ) {
?>
<meta http-equiv="refresh" content="60; url=<?=$scripturl?>?action=<?=$action?>">
<?
}
?>
--- End code ---
Or change it to this if you really must have it:
--- Code: ---';
if (isset($_REQUEST['action']) && isset($_REQUEST['action']) == 'who') {
?>
<meta http-equiv="refresh" content="60; url=<?php echo $scripturl;?>?action=<?php echo $_REQUEST['action'];?>" />
<?
}
echo '
--- End code ---
-[Unknown]
BrandonMiller:
it was the who's on-line hack that is pretty much built in. I'll hunt n delete - thanks!
BrandonMiller:
is it not needed for the built in who's on-line deal on SMF? Is there a built in template editor still?
[Unknown]:
Yes, but it's not done yet.
And, that code refreshes the page automatically.... personally, I don't like webpages doing that to me :P.
-[Unknown]
Navigation
[0] Message Index
[#] Next page
Go to full version