Autor Beitrag
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mo 27.11.06 19:13 
Hi,
ich weiß nicht ob das gewollt ist, aber wenn ich www.delphi-forum.de/shoutbox_view.php(ShoutBox) als Gast(nicht eingeloggt) in die Adresszeile eingebe dann kann ich die ShoutBox trotzdem sehen. Und ich glaube das, dass nicht gewollt ist, denn sonst könnte das Frame für Gäste auch sichtbar gemacht werden. :wink:
Leuchtturm

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Mo 27.11.06 20:08 
Naja das wird ja nur ausgeblendet, damit die Gäste von unserem blöden Geschwätz nicht verschreckt werden. :wink:
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 27.11.06 20:23 
Es geht ja vorallem darum, dass die Gäste nichts schreiben können - und das können sie auch auf der Seite nicht.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Di 28.11.06 16:30 
Mir fiels bloß gerade auf und da dacht ich das ich es mal melde. Zna jrvß wn avr :mrgreen:

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: So 10.12.06 11:30 
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:

ausblenden 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:
ausblenden 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;
      }
}