Das ist aber ein allegmeines Problem von phpBB, es gibt also noch mehr Sieten, bei drenen man Dinge sieht, die man nicht sehen sollte. Bei meinem Forum habe ich das auch ersteinmal gefixt (da fehlen

.
Orginal sieht der Code so hier aus:
Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17:
| switch ($userdata['user_level']) { case ADMIN : case MOD : $is_auth['auth_mod'] = 1; default: $is_auth['auth_read'] = 1; $is_auth['auth_view'] = 1; if ($userdata['user_id']==ANONYMOUS) { $is_auth['auth_delete'] = 0; $is_auth['auth_post'] = 0; } else { $is_auth['auth_delete'] = 1; $is_auth['auth_post'] = 1; } } |
Richtig müsste es so hier aussehen:
Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18:
| switch ($userdata['user_level']) { case ADMIN : case MOD : $is_auth['auth_mod'] = 1; default: $is_auth['auth_view'] = 1; //Wo genutzt??? if ($userdata['user_id']==ANONYMOUS) { $is_auth['auth_delete'] = 0; $is_auth['auth_post'] = 0; $is_auth['auth_read'] = 0; } else { $is_auth['auth_delete'] = 1; $is_auth['auth_post'] = 1; $is_auth['auth_read'] = 1; } } |