Seite 1 von 1
Birthday Mod mit Rainy - Brauche Eure Hilfe
Verfasst: 13.03.2004 20:21
von Claudia
Hallo miteinander,
ich würde gerne die Birthday mod in meinem Forum installieren, nur habe ich ein kleines Problem. Ich benutze das phpBB 2.0.6 und das template "Rainy".
Ich finde bei der Installation folgenden Eintrag nicht:
#
#-----[ 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
Könnte mir einer von Euch sagen, wo ich bei Rainy diese Passage genau einfügen muß? Ich habe hier schon die Suche benutzt, aber nichts zu meinem template gefunden. Wäre nett, wenn Ihr mir helfen könntet, da ich noch ein Newbie in Sachen php bin
LG Claudia
Verfasst: 13.03.2004 20:38
von Markus67
hallo claudia ....
speichere die index_body.tpl datei doch mal als txt-datei ab und verlinke sie hierher ... dann schau ich mal ob ich die entsprechende stelle finde
markus
Verfasst: 13.03.2004 21:06
von Claudia
Hi Markus,
hier ist meine index_body:
Code: Alles auswählen
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<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 />
{S_TIMEZONE}<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><br />
<a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<!-- BEGIN catrow -->
<tr height="23">
<td class="thHead" colspan="5" height="23" align="center" valign="middle" onmouseover="this.style.backgroundColor='#ACB0CA'; this.style.backgroundImage='url(templates/Rainy/images/bg_th2.jpg)';" onmouseout="this.style.backgroundColor='#A7ACC8'; this.style.backgroundImage='url(templates/Rainy/images/bg_th.jpg)';" onclick="window.location.href='{catrow.U_VIEWCAT}';"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
</tr>
<tr height="21">
<td class="catHead" height="21" nowrap="nowrap"> </td>
<td width="70%" class="catHead" nowrap="nowrap" align="left" valign="middle"> {L_FORUM} </td>
<td width="15%" class="catHead" nowrap="nowrap" align="center"> {L_LASTPOST} </td>
<td width="50" class="catHead" nowrap="nowrap" align="center"> {L_TOPICS} </td>
<td width="50" class="catHead" nowrap="nowrap" align="center"> {L_POSTS} </td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row2" align="center" valign="middle" width="26" height="26"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="26" height="26" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" height="50" onmouseover="this.style.backgroundColor='#DEE0F0';" onmouseout="this.style.backgroundColor='#D8D9EB';" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}';"><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" nowrap="nowrap"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
<td class="row3" 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>
</tr>
<!-- END forumrow -->
<!-- END catrow -->
<tr>
<td class="thBottom" align="center" valign="middle" colspan="5">
<table cellspacing="0" border="0" align="center" cellpadding="0">
<tr>
<td width="20" align="center"><img src="templates/Rainy/images/folder_new2.gif" width="18" height="18" border="0" alt="{L_NEW_POSTS}"/></td>
<td><span class="thsmall"><b> {L_NEW_POSTS}</b></span></td>
<td><img src="templates/Rainy/images/spacer.gif" width="30" height="1" border="0" alt="" /></td>
<td width="20" align="center"><img src="templates/Rainy/images/folder2.gif" alt="{L_NO_NEW_POSTS}" width="18" height="18" border="0" /></td>
<td><span class="thsmall"><b> {L_NO_NEW_POSTS}</b></span></td>
<td><img src="templates/Rainy/images/spacer.gif" width="30" height="1" border="0" alt="" /></td>
<td width="20" align="center"><img src="templates/Rainy/images/folder_lock2.gif" alt="{L_FORUM_LOCKED}" width="18" height="18" border="0" /></td>
<td><span class="thsmall"><b> {L_FORUM_LOCKED}</b></span></td>
</tr>
</table>
</td>
</tr>
</table>
<br clear="all" />
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thHead" colspan="2" height="21" align="center" valign="middle" onmouseover="this.style.backgroundColor='#ACB0CA'; this.style.backgroundImage='url(templates/Rainy/images/bg_th2.jpg)';" onmouseout="this.style.backgroundColor='#A7ACC8'; this.style.backgroundImage='url(templates/Rainy/images/bg_th.jpg)';" onclick="window.location.href='{U_VIEWONLINE}';"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></th>
</tr>
<tr>
<td class="row2" width="26" align="center" valign="middle" rowspan="2"><img src="templates/Rainy/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" width="26" height="26" border="0" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</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>
<tr>
<td class="catBottom" align="center" valign="middle" colspan="2"><span class="thsmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr height="23">
<th class="thHead" height="23" align="center" valign="middle"><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" checked="checked" />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span> </td>
</tr>
</table>
</form>
<!-- END switch_user_logged_out -->
Sorry, ich weiß leider nicht, wie man den Text verlinkt, darum bitte nicht gleich schelten
Wäre toll, wenn Du mir helfen könntest
LG Claudia
Verfasst: 13.03.2004 21:15
von Markus67
hallo claudia ...
suche
Code: Alles auswählen
<td class="row2" width="26" align="center" valign="middle" rowspan="2">
ersetze mit
Code: Alles auswählen
<td class="row2" width="26" align="center" valign="middle" rowspan="3">
markus
Verfasst: 13.03.2004 21:48
von Claudia
Hallo Markus,
vielen Dank für Deine Hilfe. Ich werde es jetzt mal ausprobieren und melde mich morgen hier nochmal, um Bericht zu erstatten.
LG Claudia
Verfasst: 13.03.2004 21:51
von Markus67
hi claudia ...
müsste klappen kann fast gar nicht schiefgehen

ist nur ne spaltenerweiterung von 2 auf nun 3 zeilen
markus
Verfasst: 14.03.2004 16:00
von Claudia
Hallo Markus,
es hat soweit geklappt. Ich dank Dir nochmal für Deine Hilfe
LG Claudia