Seite 1 von 1

global_topic_mod fehlermeldung ACP statt navigation

Verfasst: 11.05.2008 12:04
von chris_bbg888
Hallo,
ich habe versucht den global_topic_1_1_2 modeinzubauen.

nun habe ich folgende fehlermeldung:

Parse error: syntax error, unexpected T_STRING, expecting ')' in
admin/admin_ug_auth.php on line 68

der code in zeile 68 ist aber nicht wirklich verändert:

$forum_auth_fields = array('auth_view', 'auth_read', 'auth_post', 'auth_reply', 'auth_edit', 'auth_delete', 'auth_sticky', 'auth_announce', 'auth_vote', 'auth_pollcreate', 'auth_globaltopic);

$auth_field_match = array(
'auth_view' => AUTH_VIEW, ******zeile 68*****
'auth_read' => AUTH_READ,
'auth_post' => AUTH_POST,
'auth_reply' => AUTH_REPLY,
'auth_edit' => AUTH_EDIT,
'auth_delete' => AUTH_DELETE,
'auth_sticky' => AUTH_STICKY,
'auth_announce' => AUTH_ANNOUNCE,
'auth_vote' => AUTH_VOTE,
'auth_pollcreate' => AUTH_POLLCREATE, ****das habe ich geändert
'auth_globaltopic' => AUTH_GLOBALTOPIC); ***das habe ich geändert

kann mir da jemand helfen. die fehlermeldung erscheint im ACP in der navigation links
vielen dank

Verfasst: 11.05.2008 13:49
von oxpus

Code: Alles auswählen

$forum_auth_fields = array('auth_view', 'auth_read', 'auth_post', 'auth_reply', 'auth_edit', 'auth_delete', 'auth_sticky', 'auth_announce', 'auth_vote', 'auth_pollcreate', 'auth_globaltopic); 
Was fehlt denn hier zwischen "auth_globaltopic" und ");" ???

Richtig, ein Hochkomma!

Also die Zeile muss so ausschauen:

Code: Alles auswählen

$forum_auth_fields = array('auth_view', 'auth_read', 'auth_post', 'auth_reply', 'auth_edit', 'auth_delete', 'auth_sticky', 'auth_announce', 'auth_vote', 'auth_pollcreate', 'auth_globaltopic'); 
;)

Verfasst: 11.05.2008 14:54
von chris_bbg888
danke das ist es.
:roll: