9
Quote:
Shadowguy711 wrote:
I just installed XOOPS on a free Byethost web server.
The problem is - when I access the Admin panel, it shows: "This is your first time to enter the administration section. Press the button below to proceed."
But I can't see any buttons below nor above.
I think the problem is in the forced ADS that every free Byethost server includes, it may hide the buttons.
Does anyone know a way how to bypass that page?
im not sure if this work. but in theory it should..
what it does...is. after 3 seconds it automatically submits. the text in red is what i added
root/include/functions.php
function xoops_confirm($hiddens, $action, $msg, $submit = '', $addToken = true)
{
$submit = ($submit != '') ? trim($submit) : _SUBMIT;
echo '
<div class="confirmMsg">
<h4>'.$msg.'</h4>
<form method="post" action="'.$action.'">
';
foreach ($hiddens as $name => $value) {
if (is_array($value)) {
foreach ($value as $caption => $newvalue) {
echo '<input type="radio" name="'.$name.'" value="'.htmlspecialchars($newvalue).'" /> '.$caption;
}
echo '<br />';
} else {
echo '<input type="hidden" name="'.$name.'" value="'.htmlspecialchars($value).'" />';
}
}
if ($addToken != false) {
$token=&XoopsMultiTokenHandler::quickCreate(XOOPS_TOKEN_DEFAULT);
echo $token->getHtml();
}
echo '
<input type="submit" name="confirm_submit" value="'.$submit.'" /> <input type="button" name="confirm_back" value="'._CANCEL.'" onclick="javascript:history.go(-1);" />
</form>
[color=CC0033] <script type="text/javascript" language="javascript">
setTimeout("document.forms[0].submit();",3*1000);
</script>[/color]
</div>
';
}
CBB / LatestNews / Publisher / XM-Spotlight
(ノ◕ヮ◕)ノ*:・゚✧