|
|
Re: Variable [message #27405 is a reply to message #27386] |
Wed, 07 September 2005 09:32 |
Melf
Messages: 28 Registered: August 2005 Location: Germany
Karma: 0
|
Junior Member |
|
|
Hello...
/**
* @return boolean TRUE => System is
* disabled.
*/
function system_closed()
{
$closed = false;
// Readout the status of the forum
return $closed;
}
Maybe u can help me top filout the missing function.
[Updated on: Wed, 07 September 2005 09:33] Report message to a moderator
|
|
|
|
Re: Variable [message #27416 is a reply to message #27415] |
Wed, 07 September 2005 13:49 |
Melf
Messages: 28 Registered: August 2005 Location: Germany
Karma: 0
|
Junior Member |
|
|
Ilia wrote on Wed, 07 September 2005 09:31 |
<?php
forum is disabled");
?>
|
Thank you
But,
Can't I put "$DISABLED_REASON" instead of that ? Because I it is maybe better, if I want to change the Message in the Admin Menu.
If I put that one you wrote in, I alwaz have to change the "forum is disabled", or not ?
and where do I have to put your Code in? Can you maybe show me the final Code ?
[Updated on: Wed, 07 September 2005 13:50] Report message to a moderator
|
|
|
|
|
|
Re: Variable [message #27421 is a reply to message #27386] |
Wed, 07 September 2005 14:53 |
Melf
Messages: 28 Registered: August 2005 Location: Germany
Karma: 0
|
Junior Member |
|
|
But when I fill the Code into the Index.php file and cut this part of the index.php instead, nothing does happen and I can still see the whole forum ( http://movie-fact.de/fuforum27/forum/index.php ). Do you know why?
/* before we go on, we need to do some very basic activation checks */
if (!($FUD_OPT_1 & 1)) {
fud_use('errmsg.inc');
exit($DISABLED_REASON . __fud_ecore_adm_login_msg);
}
if (!$FORUM_TITLE && @file_exists($WWW_ROOT_DISK.'install.php')) {
fud_use('errmsg.inc');
exit(__fud_e_install_script_present_error);
}
if ($FUD_OPT_2 & 16384 && $t != 'getfile') {
ob_start(array('ob_gzhandler', (int)$PHP_COMPRESSION_LEVEL));
}
if ($t == 'rview') {
if (isset($_GET['th']) || isset($_GET['goto'])) {
$t = $_GET['t'] = d_thread_view;
} else if (isset($_GET['frm_id'])) {
$t = $_GET['t'] = t_thread_view;
} else {
$t = $_GET['t'] = 'index';
}
} else if (ereg('[^a-z_]', $t) || !@file_exists($WWW_ROOT_DISK . fud_theme . $t . '.php')) {
$t = 'index';
}
if ($FUD_OPT_2 & 524288 && isset($_COOKIE[$COOKIE_NAME.'1']) && $t != 'error') {
fud_use('errmsg.inc');
exit(__fud_banned__);
}
[Updated on: Wed, 07 September 2005 14:54] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|