User online / offline Anzeige als Bild in viewtopic
Forumsregeln
Bei Style spezifischen Fragen ist der Stylename und die Downloadquelle des Styles erforderlich, besser noch die URL vom betroffenen Forum.
Bei Style spezifischen Fragen ist der Stylename und die Downloadquelle des Styles erforderlich, besser noch die URL vom betroffenen Forum.
User online / offline Anzeige als Bild in viewtopic
Gibt es eine Mod die neben dem Usernamen oder unter dem Avatar ein Bild anzeigt, wenn der User online bzw offline ist?
Grüße
Theo
Grüße
Theo
Style: Lucid Lime
Phpbb 3.0.8
Phpbb 3.0.8
- Würzi
- Ehemaliges Teammitglied
- Beiträge: 3187
- Registriert: 30.10.2005 02:51
- Wohnort: Niedernberg
- Kontaktdaten:
Re: User online / offline Anzeige als Bild in viewtopic
Moin,
ich verstehe die Frage nicht so recht.
Bei prosilver wird doch in der viewtopic angezeigt, ob ein User online ist.
Mfg dat Wuerzi
ich verstehe die Frage nicht so recht.

Bei prosilver wird doch in der viewtopic angezeigt, ob ein User online ist.

Mfg dat Wuerzi
Kein Support per PN, dafür ist das Forum da! Eine PN hilft einen, ein öffentlicher Beitrag allen. - Styles für phpbb3
-
- Valued Contributor
- Beiträge: 3557
- Registriert: 21.04.2004 12:22
- Wohnort: Berlin
- Kontaktdaten:
Re: User online / offline Anzeige als Bild in viewtopic
Naja ist wie gesagt, standard vorhanden das Bild.
@DerTheo
Wenn du einen anderen Style verwendest, solltest du das auch angeben.

Re: User online / offline Anzeige als Bild in viewtopic
Sorry ganz vergessen: Style: Lucid Lime
Phpbb3.0.8
Ich dachte einfach an ein Bild direkt neben dem Usernamen oder unter dem Avatar, wenn man ein Thema betrachtet. Evtl. eine rote Lampe wenn der User offline ist, grün wenn er online ist. Grafik ist eig egal, da kann ich dann selber was basteln
Phpbb3.0.8
Ich dachte einfach an ein Bild direkt neben dem Usernamen oder unter dem Avatar, wenn man ein Thema betrachtet. Evtl. eine rote Lampe wenn der User offline ist, grün wenn er online ist. Grafik ist eig egal, da kann ich dann selber was basteln

Style: Lucid Lime
Phpbb 3.0.8
Phpbb 3.0.8
Re: User online / offline Anzeige als Bild in viewtopic
viewtopic_body.html, dort packst du dann sowas hin:
Code: Alles auswählen
<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> <img src="online.gif" .... /> <!-- ELSE --><img src="offline.gif" .... /> <!-- ENDIF -->
Re: User online / offline Anzeige als Bild in viewtopic
Danke, hab mal folgendes in die viewtopic_body.html mit Notepad++ verbaut:BlackHawk87 hat geschrieben:viewtopic_body.html, dort packst du dann sowas hin:Code: Alles auswählen
<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> <img src="online.gif" .... /> <!-- ELSE --><img src="offline.gif" .... /> <!-- ENDIF -->
Code: Alles auswählen
<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> <img src="./images/icons/misc/online.png" title="User ist online"/> <!-- ELSE --><img src="./images/icons/misc/offline.png" title="User ist offline"/> <!-- ENDIF -->
FireFox cache habe ich auch noch geleert (Extras / Einstellungen / Erweitert / Netzwerk / Cache: Jetzt leeren)
Der teil meiner viewopic sieht so aus:
Code: Alles auswählen
</div>
<!-- IF not postrow.S_IGNORE_POST -->
<dl class="postprofile" id="profile{postrow.POST_ID}">
<dt>
<!-- IF postrow.POSTER_AVATAR and S_USER_LOGGED_IN and not S_GROUP_10 and not S_IS_BOT -->
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
<!-- ENDIF -->
Code: Alles auswählen
<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> <img src="./images/icons/misc/online.png" title="User ist online"/> <!-- ELSE --><img src="./images/icons/misc/offline.png" title="User ist offline"/> <!-- ENDIF -->
Code: Alles auswählen
<!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
</dt>
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
<dd> </dd>
<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> <!-- IF S_DISPLAY_SEARCH --><a href="{postrow.U_SEARCH}">{postrow.POSTER_POSTS}</a><!-- ELSE -->{postrow.POSTER_POSTS}<!-- ENDIF --></dd><!-- ENDIF -->
<!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
Style: Lucid Lime
Phpbb 3.0.8
Phpbb 3.0.8
Re: User online / offline Anzeige als Bild in viewtopic
Lad mal deine viewtopic_body.html hier rein: https://www.phpbb.de/support/pastebin.php und verlink es mal. 

Re: User online / offline Anzeige als Bild in viewtopic
Hoffe ich verlinke darauf richtig^^
https://www.phpbb.de/support/pastebin.p ... view&s=918
Vielen Dank für die Hilfe
https://www.phpbb.de/support/pastebin.p ... view&s=918
Vielen Dank für die Hilfe

Style: Lucid Lime
Phpbb 3.0.8
Phpbb 3.0.8
Re: User online / offline Anzeige als Bild in viewtopic
Hi,
da kann ich deine Code-Stelle:
Aber nirgends finden. Wo hast du die denn eingebaut?
da kann ich deine Code-Stelle:
Code: Alles auswählen
<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> <img src="./images/icons/misc/online.png" title="User ist online"/> <!-- ELSE --><img src="./images/icons/misc/offline.png" title="User ist offline"/> <!-- ENDIF -->
Verschoben von phpBB 3.0: Mod Suche/Anfragen nach phpBB 3.0: Styles, Templates und Grafiken am 06.01.2012 17:58 durch Würzi