recent und vision style

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
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
ron72
Mitglied
Beiträge: 4
Registriert: 08.01.2005 17:07

recent und vision style

Beitrag von ron72 »

Hallo , ich habe da ein kleines Problem
habe das neue phpbb 2.0.11. drauf und das template vision .. wollte den recent hack einbauen , das problem ist aber leider das ,wenn es vollständig angezeigt wird reisst es den rahmen also die normale breite des forums , allles verschiebt sich , durch ändern der textlänge in der recent.php habe ich es kürzer bekommen nur leider sieh man den topic text nicht mehr :-(

was mache ich falsch ? kann mir einer sagen wo genau in der index_bodx.tpl ich das eingeben soll ? hier ein auszug davon

table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="templates/Vision/fh_01.jpg" alt="" /></td>
<td class="alt5" style="background: url('templates/Vision/fh_02.jpg');" width="100%" ><div style=" padding-left: 10px; padding-right: 10px; padding-top: 6px; padding-bottom: 6px;"><b>Info's</b></td>
<td><img src="templates/Vision/fh_03.jpg" alt="" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="templates/Vision/fh_04.jpg" alt="" /></td>
<td class="alt5" style="background: url('templates/Vision/fh_05.jpg');" width="100%"></td>
<td><img src="templates/Vision/fh_06.jpg" alt="" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td style="background: url('templates/Vision/fh_07.jpg');" width="3"></td>
<td>
ab hier habe ich es eingefügt

<table width="100%" cellspacing="1" cellpadding="6" border="0" align="center" class="forumline">
<tr>
<td align="left" valign="bottom" class="row1" ><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="row2">
<!-- 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 width="100%" cellpadding="1" cellspacing="1" border="0" align="center" class="forumline">
<tr>
<th colspan="5">{L_RECENT_TITLE}</th>
</tr>
<!-- BEGIN recent -->
<tr>
<td class="{recent.ROW_CLASS}" align="center" valign="middle"><img src="{recent.TOPIC_FOLDER_IMG}" alt="{recent.TOPIC_FOLDER_ALT}" title="{recent.TOPIC_FOLDER_ALT}" /></td>
<td class="{recent.ROW_CLASS}" nowrap="nowrap"><span class="topictitle">{recent.NEWEST_IMG}{recent.TOPIC_TYPE}<a href="{recent.U_VIEW_TOPIC}" class="topictitle">{recent.TOPIC_TITLE}</a></span>
<span class="gensmall">{recent.GOTO_PAGE}<br />{recent.FIRST_TIME}{recent.FIRST_AUTHOR}<br /></span></td>
<td class="{recent.ROW_CLASS}" width="8%" align="left"><span class="postdetails">&nbsp;{recent.L_REPLIES}: {recent.REPLIES}
<br />&nbsp;{recent.L_VIEWS}: {recent.VIEWS}</span></td>
<td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap">&nbsp;<span class="forumlink"><a href="{recent.U_VIEW_FORUM}" class="forumlink">{recent.FORUM_NAME}</span></td>
<td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"><span class="postbody">{recent.POST_TEXT}</span><br />
<span class="gensmall"> {recent.LAST_URL} {recent.LAST_TIME}&nbsp;&nbsp;{recent.LAST_AUTHOR}</span></td>
</tr>
<!-- END recent -->
</table></table></td>
<td style="background: url('templates/Vision/fh_08.jpg');" width="3"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="templates/Vision/fh_09.jpg" alt="" /></td>
<td style="background: url('templates/Vision/fh_10.jpg');" width="100%"></td>

<td><a href="#top" onclick="self.scrollTo(0, 0); return false;"><img src="templates/Vision/fh_10_1.jpg" alt="Nach oben" border="0" /></a></td>
<td><img src="templates/Vision/fh_11.jpg" alt="" /></td>
</tr>
</table><!-- BEGIN catrow -->
<div style="padding:5px 0px 5px 0px;"></div>


<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="templates/Vision/fh_01.jpg" alt="" /></td>
<td class="alt5" style="background: url('templates/Vision/fh_02.jpg');" width="100%" ><div style=" padding-left: 10px; padding-right: 10px; padding-top: 6px; padding-bottom: 6px;"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></div></td>

<td><img src="templates/Vision/fh_03.jpg" alt="" /></td>

</tr>
</table><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="templates/Vision/fh_04.jpg" alt="" /></td>
<td class="alt5" style="background: url('templates/Vision/fh_05.jpg');" width="100%"></td>

<td><img src="templates/Vision/fh_06.jpg" alt="" /></td>

</tr>
</table><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr>
<td style="background: url('templates/Vision/fh_07.jpg');" width="3"></td>

<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="22" 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}" width="25" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row2" 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></td>
<td class="row1" 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="row1" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->

</table></td>
<td style="background: url('templates/Vision/fh_08.jpg');" width="3"></td>
</tr>
</tbody>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="templates/Vision/fh_09.jpg" alt="" /></td>
<td style="background: url('templates/Vision/fh_10.jpg');" width="100%"></td>

<td><a href="#top" onclick="self.scrollTo(0, 0); return false;"><img src="templates/Vision/fh_10_1.jpg" alt="Nach oben" border="0" /></a></td>
<td><img src="templates/Vision/fh_11.jpg" alt="" /></td>
</tr>
</table>
<!-- 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>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="templates/Vision/fh_01.jpg" alt="" /></td>
<td class="alt5" style="background: url('templates/Vision/fh_02.jpg');" width="100%" ><div style=" padding-left: 10px; padding-right: 10px; padding-top: 6px; padding-bottom: 6px;"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></div></td>

<td><img src="templates/Vision/fh_03.jpg" alt="" /></td>

</tr>
</table><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="templates/Vision/fh_04.jpg" alt="" /></td>
<td class="alt5" style="background: url('templates/Vision/fh_05.jpg');" width="100%"></td>

<td><img src="templates/Vision/fh_06.jpg" alt="" /></td>

</tr>



danke schonmal


MfG
Ron[/b]
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“