Seite 1 von 1

staff mod

Verfasst: 25.12.2005 11:56
von hagily
Hallo Leute.

Ich habe heute den staff-Mod installiert. Auf staff.php kommt aber jetzt folgender fehler:
Warning: Invalid argument supplied for foreach() in /usr/export/www/vhosts/funnetwork/hosting/fortfun/staff.php on line 200

hier mal die staff.php ab zeile 200:

Code: Alles auswählen

foreach ( $th_cat_order as $wert)
{		$kc = $kc + 1;
        if ($kc > 2) {$kc = 1;}
		else {$kc = 2;}

		$row_class = ( !($kc % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
		$empty[$wert] = 0;
		$temp_cat_title = $th_cat_title[$wert];
		$template->assign_block_vars('category', array(
		'title' => $temp_cat_title,
		'ROW_CLASS' => $row_class,
		));
An dem fehlendem ";" in zeile 200 liegt es nicht. Der Fehler bleibt aber es wird so angezeigt wie es eigendlich sollte.

Felix

Verfasst: 25.12.2005 17:38
von hagily
keiner ne idee?

Verfasst: 17.01.2006 19:08
von hagily
keiner ne idee?

Verfasst: 17.01.2006 20:21
von snakepilsken
Ich habe auch den Staff mod verbaut, aber die Codepassage hab ich garnicht gefunden in er staff.php.


Oder meinste nciht den hier:
## Hack Titel: Mitarbeiter Seite
## Hack Version: 2.2.3 (phpBB 2.0.x)
## Autor: Acid


Gruß
Dietmar

Verfasst: 17.01.2006 20:24
von hagily
nicht ganz:

ich habe diesen hier:
###############################################################################################
##
## Hack Title: Staff Site
## Hack Version: 1.0.0 (phpBB 2.0.8)
## Author: Torben mailto:torben@huelbuesch.de
## Support: http://www.phpbbhacks.com/forums/
## Preview: http://phpbb2.sv-kampen.de/staff_th.php
##
## Description: An external site to display who is Mod or Admin on your board.
## Based on Acid's original Staff Site, but with different output files.
## The Original Output Files by Acid are included.
##
## Files To Edit: 7 (6 + 1 Optional)
## language/lang_english/lang_main.php
## includes/constants.php
## viewonline.php
## admin/index.php
## includes/page_header.php
## templates/xxx/overall_header.tpl
##
## Included Files: staff.php
## staff_body.tpl
## staff.gif

Verfasst: 17.01.2006 21:19
von snakepilsken
Die Version welche ich habe funzt ohen Probleme.

Gruß
Dietmar