last visit mod admin
Verfasst: 12.08.2003 13:42
hallo wo kann ich einstellen das die Last visit anzeigen nur vom admin gesehen werden, einmal die in der Mitgliederliste und die unten im Fuß angezeigt werden...ich finds einfach nicht 

phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
<!-- BEGIN switch_user_admin -->
dein Code, den nur der Admin sehen soll....
<!-- END switch_user_admin -->
Code: Alles auswählen
Parse error: parse error in /raid/domains/de/k/kost-kein-geld/htdocs/www/phpbb/language/lang_german/lang_main.php on line 1020
Warning: Cannot add header information - headers already sent by (output started at /raid/domains/de/k/kost-kein-geld/htdocs/www/phpbb/language/lang_german/lang_main.php:1020) in /raid/domains/de/k/kost-kein-geld/htdocs/www/phpbb/includes/page_header.php on line 497
Warning: Cannot add header information - headers already sent by (output started at /raid/domains/de/k/kost-kein-geld/htdocs/www/phpbb/language/lang_german/lang_main.php:1020) in /raid/domains/de/k/kost-kein-geld/htdocs/www/phpbb/includes/page_header.php on line 499
Warning: Cannot add header information - headers already sent by (output started at /raid/domains/de/k/kost-kein-geld/htdocs/www/phpbb/language/lang_german/lang_main.php:1020) in /raid/domains/de/k/kost-kein-geld/htdocs/www/phpbb/includes/page_header.php on line 500
Code: Alles auswählen
//add to last visit mod
<!-- BEGIN switch_user_admin -->
$lang['Last_logon'] = 'Letzter Besuch';
$lang['Hidde_last_logon'] = 'Admin';
$lang['Never_last_logon'] = 'Niemals';
$lang['Users_today_zero_total'] = 'Insgesamt <b>0</b> User haben heute das Forum besucht :: ';
$lang['Users_today_total'] = 'Insgesamt <b>%d</b> User haben heute das Forum besucht :: ';
$lang['User_today_total'] = 'Insgesamt <b>%d</b> User haben heute das Forum besucht :: ';
$lang['Users_lasthour_explain'] = ', %d davon in der letzten Stunde.';
$lang['Users_lasthour_none_explain'] = ''; //showen of none have visited the last hour, fill if you like
<!-- END switch_user_admin -->
Code: Alles auswählen
## Admin will always be able to see other users last visit, regardless of the settings
## if board config is "off", then only admin can see the information
## if board is "on", then all users kan se other users last visit
## except hidden users, who will still be "hidden"
Code: Alles auswählen
INSERT INTO config (config_name, config_value) VALUES ('hidde_last_logon', '0')
## Description: This mod is part 3, of a Last visit mod.
## It will make it posible for a administrator to control if
## last visit are displayed to ordenary users or only admin