Haftnotiz Mod nur für Gäste sichtbar machen
Verfasst: 23.04.2004 16:02
Danke
jetzt noch ne frage, ich hab ne Haftnotiz Mod Installiert
zum sichtbar machen für eingeloggte
Haftnotiz nur für eingeloggte User anzeigen:
Zitat:
++ index.php:
//
// BEGIN - Board Note MOD
//
if ($board_config['board_note_enable'] == '1' && $userdata['session_logged_in'])
{
$template->assign_block_vars('switch_enable_board_note_index', array());
}
//
// END - Board Note MOD
//
//
// Generate the page
//
++ pageheader.php:
//
// BEGIN - Board Note MOD
//
if ($board_config['board_note_enable'] == '2' && $userdata['session_logged_in'])
{
$template->assign_block_vars('switch_enable_board_note', array());
}
//
// END - Board Note MOD
//
das rote wird Hinzugefügt
und ich will in für Nicht Registrierte Sichtbar machen
PS: hab schon alles mögliche ausbrobiert bekomm es aber net hin

jetzt noch ne frage, ich hab ne Haftnotiz Mod Installiert
zum sichtbar machen für eingeloggte
Haftnotiz nur für eingeloggte User anzeigen:
Zitat:
++ index.php:
//
// BEGIN - Board Note MOD
//
if ($board_config['board_note_enable'] == '1' && $userdata['session_logged_in'])
{
$template->assign_block_vars('switch_enable_board_note_index', array());
}
//
// END - Board Note MOD
//
//
// Generate the page
//
++ pageheader.php:
//
// BEGIN - Board Note MOD
//
if ($board_config['board_note_enable'] == '2' && $userdata['session_logged_in'])
{
$template->assign_block_vars('switch_enable_board_note', array());
}
//
// END - Board Note MOD
//
das rote wird Hinzugefügt
und ich will in für Nicht Registrierte Sichtbar machen
PS: hab schon alles mögliche ausbrobiert bekomm es aber net hin