Birthday 1.5.7 MOD

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
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.
Antworten
Benutzeravatar
DreamPromise
Mitglied
Beiträge: 3793
Registriert: 27.01.2004 17:56

Birthday 1.5.7 MOD

Beitrag von DreamPromise »

Moin moin

ich hab ein Problem mit der Einfügung eines Codes.

In der Anleitung steht:

Code: Alles auswählen

#-----[ OPEN ]------------------------------------------------
#
# Make sure to edit this file for every theme you use!
#
templates/subSilver/index_body.tpl

#
#-----[ FIND ]------------------------------------------------
#
<td class="row1" align="center" valign="middle" rowspan

#
#-----[ IN-LINE FIND ]----------------------------------------
#
# This value can be different, if other mods, add +1 to the value
#
2

#
#-----[ IN-LINE REPLACE WITH ]--------------------------------
#
# The find value can be different, if other mods, add +1 to the value
#
3
Die index_body.tpl :

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" />
&nbsp;&nbsp;&nbsp;{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" maxlength="32" />
&nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
&nbsp;&nbsp;&nbsp;
<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">&nbsp;{L_FORUM}&nbsp;</th>
<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</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}&nbsp;{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} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />Online ist:{LOGGED_IN_USER_LIST}</span></td>
</tr>

<!-- Start add - Birthday MOD -->
  <tr>
	<td class="row1" align="left"><span class="gensmall">{L_WHOSBIRTHDAY_TODAY}<br />{L_WHOSBIRTHDAY_WEEK}</span></td>
  </tr>
<!-- End add - Birthday MOD -->

<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_CHATTERS_ONLINE}&nbsp;&nbsp;&nbsp;
<!-- BEGIN switch_user_logged_out -->
[ {L_LOGIN_TO_JOIN_CHAT} ]
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
[ <a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,width=540,height=450')">{L_CLICK_TO_JOIN_CHAT}</a> ]
<!-- END switch_user_logged_in -->
<br />{CHATTERS_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>
Wo muß ich denn den oberen Code einfügen ??
Hab leider keine Ahnung...
Mein Templ ist Ripple
Danke für eure Hilfe.

DP
Mario Siebert
Mitglied
Beiträge: 2295
Registriert: 09.12.2003 15:02
Wohnort: Irgendwo im Nirgendwo

Beitrag von Mario Siebert »

Du brauchst diesen Teil garnicht durchzuführen, das Ripple Template ist so aufgebaut das es nicht nötig ist.

Grüße Mario
Wer gegen eine geringe Gebühr (höhe der Gebühr bestimmst du selbst!!) ein phpBB installiert oder Mods eingebaut haben möchte sollte sich melden unter: netcom_service@gmx.net - Bisherige Aufträge 68.071
Auf Anfrage führe ich auch Reparaturen/Updates und Serverumzüge durch oder baue Mods!
Benutzeravatar
DreamPromise
Mitglied
Beiträge: 3793
Registriert: 27.01.2004 17:56

Beitrag von DreamPromise »

Moin moin

wenn ich die Daten so hochlade kommt folgende Meldung:

Code: Alles auswählen

Fatal error: Cannot redeclare mkrealdate() (previously declared in /www/htdocs/leisten/includes/functions.php:774) in /www/htdocs/leisten/includes/functions.php on line 944
Zuletzt geändert von DreamPromise am 09.02.2005 22:19, insgesamt 1-mal geändert.
Mario Siebert
Mitglied
Beiträge: 2295
Registriert: 09.12.2003 15:02
Wohnort: Irgendwo im Nirgendwo

Beitrag von Mario Siebert »

Das hat aber nichts mit der von dir geposteten Codestelle zu tun, ich tippe eher darauf das du den Teil für die functions.php doppelt eingefügt hast.

Grüße Mario
Wer gegen eine geringe Gebühr (höhe der Gebühr bestimmst du selbst!!) ein phpBB installiert oder Mods eingebaut haben möchte sollte sich melden unter: netcom_service@gmx.net - Bisherige Aufträge 68.071
Auf Anfrage führe ich auch Reparaturen/Updates und Serverumzüge durch oder baue Mods!
Benutzeravatar
DreamPromise
Mitglied
Beiträge: 3793
Registriert: 27.01.2004 17:56

Beitrag von DreamPromise »

Hast Recht gehabt.

Aber nun hab ich das Problem das das Popup bei jeden Wechsel der Seite kommt.
Wenn man das wegklickt kommt es nach einem klick auf einen anderen Beitrag wieder.....

Weißte wo da der Fehler ist ?????
Antworten

Zurück zu „phpBB 2.0: Mod Support“