Last Visit Hack 1.2.8
Verfasst: 06.01.2005 20:09
Moin Moin
Wer kann mir da mal helfen ??
Die memberlist.php
Was muß ich denn nun machen ???
Auch dieses hier:
Aber so ein Eintrag gibt es nicht in der index_body.tpl
Wer kann mir da mal helfen ??
Code: Alles auswählen
#-----[ OPEN ]------------------------------------------------
#
memberlist.php
#-----[ FIND ]------------------------------------------------
#
for($i = 0
#
#-----[ IN-LINE FIND ]----------------------------------------
#
0
#
#-----[ IN-LINE REPLACE WITH ]--------------------------------
#
($userdata['user_level'] == ADMIN ) ? 0:1
Code: Alles auswählen
$select_sort_mode = '<select name="mode">';
for($i = 0; $i < count($mode_types_text); $i++)
{
Auch dieses hier:
Code: Alles auswählen
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
rowspan
#
#-----[ IN-LINE FIND ]----------------------------------------
#
rowspan="2"
#
#-----[ IN-LINE REPLACE WITH ]--------------------------------
#
rowspan="3"
Code: Alles auswählen
<!-- BEGIN switch_user_logged_out -->
<br />
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="forum-top-left"><img name="topleft" src="templates/Ripple/images/forum/top-left.jpg" width="15" height="19" border="0" id="topleft" alt="" /></td>
<td class="forum-top"></td>
<td class="forum-top-right"><img name="topright" src="templates/Ripple/images/forum/top-right.jpg" width="18" height="19" border="0" id="topright" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="forum-left"></td>
<td class="forum-main">
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th class="catHead"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></th>
</tr>
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" maxlength="32" />
{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
<br><br><a href="{U_SEND_PASSWORD}">{L_SEND_PASSWORD}</a>
</span> </td>
</tr>
</table>
</form>
</td>
<td class="forum-right"></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="forum-bottom-left"><a href="#top"><img name="bottomleft" src="templates/Ripple/images/forum/bottom-left.jpg" width="41" height="19" border="0" id="bottomleft" alt="" /></a></td>
<td class="forum-bottom"></td>
<td class="forum-bottom-right"><img name="bottomright" src="templates/Ripple/images/forum/bottom-right.jpg" width="32" height="19" border="0" id="bottomright" alt="" /></td>
</tr>
</table></td>
</tr>
</table>
<br />
<!-- END switch_user_logged_out -->
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center" style="padding-bottom:5px;">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
<td align="right" valign="bottom" class="gensmall">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
<!-- BEGIN catrow -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="forum-top-left"><img name="topleft" src="templates/Ripple/images/forum/top-left.jpg" width="15" height="19" border="0" id="topleft" alt="" /></td>
<td class="forum-top"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="forum-top-right"><img name="topright" src="templates/Ripple/images/forum/top-right.jpg" width="18" height="19" border="0" id="topright" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="forum-left"></td>
<td class="forum-main">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" hspace="2" vspace="2" /></td>
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span><br />
<span class="gensmall">{catrow.forumrow.ACTIVE_TOTAL} {catrow.forumrow.ACTIVE} {catrow.forumrow.ACTIVE_INFO}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</table>
</td>
<td class="forum-right"></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="forum-bottom-left"><a href="#top"><img name="bottomleft" src="templates/Ripple/images/forum/bottom-left.jpg" width="41" height="19" border="0" id="bottomleft" alt="" /></a></td>
<td class="forum-bottom"></td>
<td class="forum-bottom-right"><img name="bottomright" src="templates/Ripple/images/forum/bottom-right.jpg" width="32" height="19" border="0" id="bottomright" alt="" /></td>
</tr>
</table></td>
</tr>
</table>
<br />
<!-- END catrow -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
<tr>
<td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<br />
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="forum-top-left"><img name="topleft" src="templates/Ripple/images/forum/top-left.jpg" width="15" height="19" border="0" id="topleft" alt="" /></td>
<td class="forum-top"></td>
<td class="forum-top-right"><img name="topright" src="templates/Ripple/images/forum/top-right.jpg" width="18" height="19" border="0" id="topright" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="forum-left"></td>
<td class="forum-main">
<p><font color="#FFFFFF">Statistik</font></p>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" height="28"><span class="cattitle">Wieviel Beiträge wurden geschrieben</span></th>
</tr>
<tr>
<td align="center" class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}</span>
</td>
<tr>
<th colspan="2" height="28"><span class="cattitle">Wieviel User gibt es</span></th>
</tr>
<tr>
<td align="center" class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_USERS}</span>
</td>
</tr>
<tr>
<th colspan="2" height="28"><span class="cattitle">Unser neuestes Mitglied</span></th>
</tr>
<tr>
<td align="center" class="row1" align="left" width="100%"><span class="gensmall">{NEWEST_USER}</span>
</tr>
<tr>
<!-- Start add - Last visit MOD -->
<tr>
<td class="row1" align="left"><span class="gensmall">{L_USERS_TODAY} {L_USERS_LASTHOUR}<br />{USERS_TODAY_LIST}</br></span></td>
</tr>
<!-- Start add - Last visit MOD -->
<th colspan="2" height="28"><span class="cattitle">Wer ist gerade online</span></th>
</tr>
<tr>
<td align="center" class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />Online ist:{LOGGED_IN_USER_LIST}</span></td>
</tr>
<tr>
<td align="center" valign="top" class="row2"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
</td>
<td class="forum-right"></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="forum-bottom-left"><a href="#top"><img name="bottomleft" src="templates/Ripple/images/forum/bottom-left.jpg" width="41" height="19" border="0" id="bottomleft" alt="" /></a></td>
<td class="forum-bottom"></td>
<td class="forum-bottom-right"><img name="bottomright" src="templates/Ripple/images/forum/bottom-right.jpg" width="32" height="19" border="0" id="bottomright" alt="" /></td>
</tr>
</table></td>
</tr>
</table>
<br clear="all" />
<table cellspacing="1" border="0" align="center" cellpadding="4" class="forumline">
<tr>
<td class="row1" width="20" align="center"><img src="templates/Ripple/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
<td class="row1"><span class="gensmall">{L_NEW_POSTS}</span></td>
<td class="row1" width="20" align="center"><img src="templates/Ripple/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td class="row1"><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td class="row1" width="20" align="center"><img src="templates/Ripple/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
<td class="row1"><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>