BRAUCHE DRINGEND HILFE!!! Ausgabe von reg. User und Gästen
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
BRAUCHE DRINGEND HILFE!!! Ausgabe von reg. User und Gästen
//edit
siehe bitte unten letztes post! danke.
siehe bitte unten letztes post! danke.
Zuletzt geändert von niffi am 22.08.2003 17:49, insgesamt 2-mal geändert.
Mögt ihr diese Signaturen? Ich nicht.
- Henne
- Ehemaliges Teammitglied
- Beiträge: 4520
- Registriert: 04.01.2002 01:00
- Wohnort: Lage (Lippe)
- Kontaktdaten:
Schau dir mal die Quellen vom eZPortal von Smartor an http://smartor.is-root.com
Der hat doch so eine Box auch eingebaut.
Der hat doch so eine Box auch eingebaut.
glaube hab doch was gefunden:
#################################################################
## Title: Who's Online MOD for phpBB 2.0.x (and optionally for Smartor's ezPortal http://smartor.is-root.com)
## Version: 1.0.0
## Author: ChrisA <admin@alanstudios.com> - http://www.alanstudios.com
## Description: This MOD just changes the way it looks mostly.
## and allows the ezPortal page to be not so cluttered
##
## Installation Level: Easy
## Installation Time: 5 Minutes
##
## Files To Edit: 2
## index.php
## templates/{your template}/index_body.tpl
##
## optional Files to Edit: 1
## templates/{your template}/portal_body.tpl
##
## Included Files: 0
## -
##
#################################################################
##
## Author Note:
##
## Copyright © ChrisA, 2003
##
## For any concerns please contact me at http://www.alanstudios.com
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up
## All Files Related To This MOD
#################################################################
##
## Revision History:
##
## v1.0.0
## - initial release
##
#################################################################
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]-----------------------------------
#
'U_MARK_READ' => append_sid("index.$phpEx?mark=forums"))
#
#-----[ BEFORE, ADD ]---------------------------
#
// Who's Online and Where MOD by ChrisA
'L_VIEW_COMPLETE_LIST' => $lang['View_complete_list'],
#
#-----[ OPEN ]------------------------------------------
#
templates/{your template}/index_body.tpl
#
#-----[ FIND ]-----------------------------------
#
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
#
#-----[ REPLACE WITH ]---------------------------
#
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}<br />[ <a href="{U_VIEWONLINE}">{L_VIEW_COMPLETE_LIST}</a> ]</span>
#
#-----[ NEXT STEP IS OPTIONAL and is for Smartor's ezPortal ]------------------------------
#
#note that this mod for ezPortal combines the "Statistics" and "Who's Online" block
#as well as phpBB's "Who's Online" block into one and add's it to the portal
#you may delete those two block on ezPortal as it is no longer needed (less clutter for your main page)
#
#-----[ OPEN ]------------------------------------------
#
templates/{your template}/portal_body.tpl
#
#-----[ FIND ]-----------------------------------
#
<!-- END fetch_post_row -->
#
#-----[ AFTER, ADD ]---------------------------
#
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" colspan="2" height="28"><span class="genmed"><b>{L_WHO_IS_ONLINE}</b></span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS} {TOTAL_TOPICS}<br />{TOTAL_USERS}<br />{NEWEST_USER}<br />[ <a href="{U_VIEWONLINE}">{L_VIEW_COMPLETE_LIST}</a> ]</span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} & [ {L_WHOSONLINE_ADMIN} ] & [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>
#
#--------------------------------------------------------------------
#
# EoM
Mögt ihr diese Signaturen? Ich nicht.
und was ist das
Code: Alles auswählen
{L_WHO_IS_ONLINE}
leider hatte es doch nicht ganz den erwünschten erfolg, ich möchte nämlich gern das nur die namen der eingeloggten user und die anzahl der gäste erscheinen und nicht immer folgender gesamt text:
hier nochmal mein quellcode
Zum besseren verständnis die homepage
danke für eure hilfe
ist das möglich?Insgesamt sind 2 Benutzer online: Ein registrierter, kein versteckter und ein Gast.
hier nochmal mein quellcode
so und statt TOTAL_USERS_ONLINE sollen nur die Gäste mit Zahl erscheinen, aber ich bekomm das einfach nicht hin.<table width="95%" border="0" class="klein" valign="top">
<tr>
<td class="row1" align="left"><b>Zur Zeit online:</b><br><span class="klein">{LOGGED_IN_USER_LIST}, {TOTAL_USERS_ONLINE}</span></td>
</tr>
</table>
Zum besseren verständnis die homepage
danke für eure hilfe