Profile Online/Offline

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    Profile Online/Offline

    Ich hab folgendes Problem, wenn:

    der Benutzer ??? Offline ist steht im Profil: Er ist momentan Offline und war zuletzt am ??:??:?? Online. Also dies funktioniert.

    Bin ich aber Online kommt genau das selbe :rolleyes:

    Mein Code aus der Profile.html:

    Quellcode

    1. {IF|$user.online}<tr><td>
    2. <center> {IMAGE|online}{IF|$user_information.gender==1}Er{ELSE}{IF|$user_information.gender==2}Sie{ELSE} Er{ENDIF} {ENDIF} ist im Raum <a href="#room" onclick="send('/room {GET_JS|$user.room}');return false;" title="{GET|$user.room}">{GET|$user.room}</a> <font color="green"><b>Online</b></font>!</tr>{ENDIF}
    3. {IF|$user.offline}{ELSE}<tr><td>
    4. {IMAGE|offline}{IF|$user_information.gender==1}Er{ELSE}{IF|$user_information.gender==2}Sie{ELSE} Er{ENDIF} {ENDIF} ist momentan <font color="red"><b>Offline</b></font> und war zu letzt am {GETDATETIME|$user_information.lastlogin} hier.</tr>{ENDIF}


    Hoffe irgentwer weiß, was ich falsch gemacht hab :D

    MFG illu

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „illu3001“ ()

    Quellcode

    1. {IF|$user.online}<tr><td> <center> {IMAGE|online}{IF|$user_information.gender==1}Er{ELSE}{IF|$user_information.gender==2}Sie{ELSE} Er{ENDIF} {ENDIF} ist im Raum <a href="#room" onclick="send('/room {GET_JS|$user.room}');return false;" title="{GET|$user.room}">{GET|$user.room}</a> <font color="green"><b>Online</b></font>!</tr> {ELSE} {IF|$user.offline}<tr><td> {IMAGE|offline}{IF|$user_information.gender==1}Er{ELSE}{IF|$user_information.gender==2}Sie{ELSE} Er{ENDIF} {ENDIF} ist momentan <font color="red"><b>Offline</b></font> und war zu letzt am {GETDATETIME|$user_information.lastlogin} hier.</tr>{ENDIF}


    denke so...
    :rolleyes:

    Quellcode

    1. {IF|$user.online} {IMAGE|online}{IF|$user_information.gender==1}Er{ELSE}{IF|$user_information.gender==2}Sie{ELSE} Er{ENDIF} {ENDIF} ist im Raum <a href="#room" onclick="send('/room {GET_JS|$user.room}');return false;" title="{GET|$user.room}">{GET|$user.room}</a> <font color="green"><b>Online</b></font>!{ELSE} {IMAGE|offline}{IF|$user_information.gender==1}Er{ELSE}{IF|$user_information.gender==2}Sie{ELSE} Er{ENDIF} {ENDIF} ist momentan <font color="red"><b>Offline</b></font> und war zu letzt am {GETDATETIME|$user_information.lastlogin} hier.{ENDIF}


    Warum bin ich Offline wenn ich Online bin oO Das verwirrt mich jetzt etwas. Dies ist jetzt das, von TrioxX, weil das von bullet irgendwie nicht wirklich funktioniert hat.
    Hi ich habe es so in meiner profile.html


    {IF|$user_information.online}
    <img src=bildadresse> <b>{GET|$user_information.nick}</b> ist gerade im Channel <b>{GET_JS|$user_information.room} <font color="#006633">ONLINE!</b></font>
    {ELSE}
    <img src=bildadresse>
    <b>{GET|$user_information.nick}</b> war zuletzt am <b>{GETDATE|$user_information.lastlogin}</b> um <b>{GETTIME|$user_information.lastlogin}</b> im Chat online.
    {ENDIF}


    LG

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „Philipp“ ()