Birthday 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
Chegga15
Mitglied
Beiträge: 48
Registriert: 03.08.2005 22:46
Wohnort: Kirchheim unter Teck
Kontaktdaten:

Birthday MOD

Beitrag von Chegga15 »

Hi,

ich habe gerade den Birthday MOD in mein Forum eingebaut.
Es ging bis jetzt alles gut,
nur dass es nicht richtig angezeigt wird!
--> http://kl10e.kl.funpic.de/phpBB2/index.php
(Ganz unten)

Ich schätze mal, dass es an der index_body.tpl liegen muss.
Dort habe ich nämlich folgendes nicht gemacht,
weil ich es nicht machen konnte:

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
Das habe ich nicht ganz begriffen...
Die index_body.tpl sieht so aus:

Code: Alles auswählen

<table width="100%" cellspacing="1" cellpadding="1" border="0">
  <tr valign="top">
	<td nowrap="nowrap"><img src="templates/DAJ_Glass/images/nav.gif" border="0"></td>
	<td width="100%"><a href="{U_INDEX}" class="mainmenu">{L_INDEX}</a></td>
	<!-- BEGIN switch_user_logged_out -->
	<td align="right" nowrap="nowrap">
	  <table cellspacing="0" cellpadding="0" border="0">
  		<tr><form method="post" action="{S_LOGIN_ACTION}">
		  <td align="center" nowrap="nowrap">
		  <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" /> 
		  <!-- BEGIN switch_allow_autologin --> 
		  <input type="hidden" checked="checked" name="autologin" />
		  <!-- END switch_allow_autologin -->
		  <input type="submit" class="newsbutton" name="login" value="{L_LOGIN}" /></span></td>
		</form></tr>
	  </table>
	</td>
	<!-- END switch_user_logged_out -->
  </tr>
</table>

<!-- BEGIN switch_user_logged_out -->
<br />
<!-- END switch_user_logged_out -->

<table width="100%" cellspacing="1" cellpadding="1" border="0">
  <tr valign="bottom">
	<td><span class="gensmall">
	<!-- BEGIN switch_user_logged_in -->
	{LAST_VISIT_DATE}<br />
	<!-- END switch_user_logged_in -->
	{CURRENT_TIME}</span></td>
	<td align="right">
	<!-- 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>

<table width="100%" cellspacing="0" cellpadding="0" class="forumline">
  <tr>
	<td height="25" nowrap="nowrap" class="row4"><span class="cattitle"> {SITE_DESCRIPTION}</span></td>
  </tr>
  <tr>
  	<td colspan="3">
	  <table width="100%" cellspacing="1" cellpadding="4" border="0">
	  	<tr align="center">
		  <td height="20" nowrap="nowrap" class="row6"></td>
		  <td width="100%" nowrap="nowrap" align="left" class="row6"><span class="mainmenu">{L_FORUM}</span></td>
		  <td nowrap="nowrap" class="row6"><span class="mainmenu">  {L_TOPICS}  </span></td>
		  <td nowrap="nowrap" class="row6"><span class="mainmenu">  {L_POSTS}  </span></td>
		  <td nowrap="nowrap" align="right" class="row6"><span class="mainmenu">{L_LASTPOST}</span></td>
		</tr>
		<!-- BEGIN catrow -->
		<tr>
		  <td height="20" colspan="2" nowrap="nowrap" class="row1"><a href="{catrow.U_VIEWCAT}" class="mainmenu">{catrow.CAT_DESC}</a></td>
		  <td class="row1"></td>
		  <td class="row1"></td>
		  <td class="row1"></td>
		</tr>
		<!-- BEGIN forumrow -->
		<tr align="center" valign="middle">
		  <td height="30" class="row7" nowrap="nowrap"><span class="mainmenu"> <img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /> </span></td>
		  <td align="left" class="row2"><span class="forumlink"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a></span><br />
		  <span class="genmed">{catrow.forumrow.FORUM_DESC}</span><br />
		  <span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
		  </td>
		  <td nowrap="nowrap" class="row7"><span class="gensmall"> {catrow.forumrow.TOPICS} </span></td>
		  <td nowrap="nowrap" class="row7"><span class="gensmall"> {catrow.forumrow.POSTS} </span></td>
		  <td nowrap="nowrap" align="right" class="row2"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
		</tr>
		<!-- END forumrow -->
  		<!-- END catrow -->
	  </table>
	</td>
  </tr>
</table>

<table width="100%" cellspacing="1" border="0" cellpadding="1">
  <tr> 
	<td>
	<!-- BEGIN switch_user_logged_in -->
	<a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a>
	<!-- END switch_user_logged_in -->
	</td>
	<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>

<table width="100%" cellspacing="0" cellpadding="0" class="forumline">
  <tr>
	<td height="25" width="100%" nowrap="nowrap" class="row4"><span class="cattitle"> <a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  </tr>
  <tr>
  	<td>
	  <table width="100%" cellspacing="1" cellpadding="3" border="0">
	  	<tr valign="middle">
		  <td rowspan="2" align="center" nowrap="nowrap" class="row2"><span class="mainmenu"> <img src="templates/DAJ_Glass/images/whosonline.gif" border="0" alt="{L_WHO_IS_ONLINE}" /> </span></td>
		  <td width="100%" class="row2"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span></td>
		</tr>
		<tr>
		  <td class="row2"><span class="gensmall">{TOTAL_USERS_ONLINE}   [ {L_WHOSONLINE_ADMIN} ]   [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{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 -->
	  </table>
	</td>
  </tr>
</table>

<table width="100%" cellpadding="1" cellspacing="1" border="0">
  <tr>
	<td valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
  </tr>
</table>

<br clear="all" />

<table cellspacing="1" border="0" align="center" cellpadding="3">
  <tr> 
	<td width="20" align="center"><img src="templates/DAJ_Glass/images/folder_new_big.gif" border="0" alt="{L_NEW_POSTS}" /></td>
	<td><span class="gensmall">{L_NEW_POSTS}</span></td>
	<td>  </td>
	<td width="20" align="center"><img src="templates/DAJ_Glass/images/folder_big.gif" border="0" alt="{L_NO_NEW_POSTS}" /></td>
	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
	<td>  </td>
	<td width="20" align="center"><img src="templates/DAJ_Glass/images/folder_locked_big.gif" border="0" alt="{L_FORUM_LOCKED}" /></td>
	<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>
Ich wäre wirklich sehr glücklich,
wenn mir jemand helfen könnte! :)

MfG Marc
Die Nummer, die Sie gewählt haben, ist imaginär. Bitte drehen Sie Ihr Telefon um 90° und versuchen Sie es erneut.
Antworten

Zurück zu „phpBB 2.0: Mod Support“