en het lukt mij totaal niet
ik heb hierbij de mod + de files die moesten bewerkt worden toegevoegd.
Kan er iemand aub eens checken waar ik een mogelijke fout gemaakt zou kunnen hebben.
uitleg
Code: Selecteer alles
*.css to templates/Avalanche/*.css
no_thread_stretch.js to no_thread_stretch.js
#
#-----[ OPEN ]------------------------------------------
#
templates/Avalanche/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<script language="Javascript" type="text/javascript">
<!--
#
#-----[ AFTER, ADD ]------------------------------------------
#
# When installing on other templates, change the Avalanche here to match the
# template's name.
#
/* Next line added by No Thread Stretch */
var template_path = 'templates/Avalanche';
#
#-----[ FIND ]------------------------------------------
#
</head>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- Next Line Added by No Thread Stretch -->
<script language="JavaScript" type="text/javascript" src="no_thread_stretch.js"></script>
#
#-----[ OPEN ]------------------------------------------
#
templates/Avalanche/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
width="100%"
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
width="70%"
#
#-----[ IN-LINE FIND ]------------------------------------------
#
valign="top"
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
align="right"
#
#-----[ FIND ]------------------------------------------
#
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<span class="postbody">
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
<div class="postoverflow">
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{postrow.EDITED_MESSAGE}</span>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
</div>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# End
Code: Selecteer alles
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/Avalanche/Avalanche.css" type="text/css" />
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
/* Next line added by No Thread Stretch */
var template_path = 'templates/Avalanche';
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- Next Line Added by No Thread Stretch -->
<script language="JavaScript" type="text/javascript" src="no_thread_stretch.js"></script>
</head>
<body>
<a name="top"></a>
<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="back_1_1"> </td>
<td class="back_1_2"> </td>
<td colspan="3" class="back_1_3"> </td>
<td class="back_1_6"> </td>
<td class="back_1_7"> </td>
</tr>
</table>
<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="back_2_1"> </td>
<td class="back_2_2"><div class="maintitle"></div><div class="nav" style="font-size: 11px;"></div></td>
<td class="back_2_4"> </td>
<td class="back_2_5" align="right" valign="top">
<div>
<form action="search.php?mode=results" method="post">
<input class="post" type="text" name="search_keywords" size="20" onfocus="this.value=''" value="Quick Search" />
<input class="button" name="submit" type="submit" value="Go" />
</form>
</div>
<div><span class="gensmall"><a href="{U_SEARCH}">Advanced Search</a></span></div>
</td>
<td class="back_2_6"> </td>
<td class="back_2_7"> </td>
</tr>
</table>
<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="back_3_1"> </td>
<td class="back_3_2" colspan="5">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="tab_space_1"></td>
<td class="active_button"><a href="{U_INDEX}" style="color: #f3a625;" class="tab">Home</a></td>
<!-- BEGIN switch_user_logged_out -->
<td class="active_button"><a href="{U_REGISTER}" class="tab">{L_REGISTER}</a></td>
<td class="active_button"><a href="{U_FAQ}" class="tab">{L_FAQ}</a></td>
<td class="active_button"><a href="{U_MEMBERLIST}" class="tab">{L_MEMBERLIST}</a></td>
<td class="active_button"><a href="{U_GROUP_CP}" class="tab">{L_USERGROUPS}</a></td>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<td class="active_button"><a href="{U_MEMBERLIST}" class="tab">{L_MEMBERLIST}</a></td>
<td class="active_button"><a href="{U_GROUP_CP}" class="tab">{L_USERGROUPS}</a></td>
<td class="active_button"><a href="{U_PROFILE}" class="tab">{L_PROFILE}</a></td>
<td class="active_button"><a href="faq.php">Rules</a></td>
<!-- END switch_user_logged_in -->
<td class="tab_space_2"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="link_back_1"> </td>
<td class="link_back_2"><a href="{U_PRIVATEMSGS}" class="gensmall"><b>{PRIVATE_MESSAGE_INFO}</b></a></td>
<td class="link_back_2" align="right">
<a href="{U_LOGIN_LOGOUT}" class="gensmall"><b>{L_LOGIN_LOGOUT}</b></a>
</td>
<td class="link_back_3"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><span style="font-size: 4px;"> </span></td>
<td class="link_back_5"><span style="font-size: 4px;"> </span></td>
</tr>
</table>
</td>
<td class="back_3_7"> </td>
</tr>
</table>
<table class="bodyline" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="back_4_1"></td>
<td class="back_4_2" colspan="5">
<br />
mijn viewtopic_body.tpl
Code: Selecteer alles
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<th class="thLeft"><img src="templates/Avalanche/images/thLeft.gif" width="30"/></th>
<th width="100%"><a href="{U_INDEX}" class="thCenter">{L_INDEX}</a>
<img src="templates/Avalanche/images/icon_newest_reply.gif" alt="" />
<a href="{U_VIEW_FORUM}" class="thCenter">{FORUM_NAME}</a> <img src="templates/Avalanche/images/icon_newest_reply.gif" alt="" /> {TOPIC_TITLE}</th>
<th class="thRight"><img src="templates/Avalanche/images/thRight.gif" width="30"/></th>
</tr>
</table>
<table width="100%" class="forumline" cellspacing="0" cellpadding="5" border="0" align="center">
<tr>
<td class="cat"><div style="padding: 3px;">
<img src="templates/Avalanche/images/icon_latest_reply.gif" /> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a></div>
</td>
<form method="post" action="{S_POST_DAYS_ACTION}">
<td align="right" class="cat">
<span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER} <input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span>
</td>
</form>
</tr>
</table>
<table width="100%" cellspacing="0" border="0" cellpadding="0">
<tr>
<td class="left_bottom"><span class="gensmall"> </span></td>
<td class="middle_bottom3"><span class="gensmall"> </span></td>
<td class="middle_bottom2"><span class="gensmall"> </span></td>
<td class="middle_bottom" align="center">
<span class="gensmall">{S_TIMEZONE}</span>
</td>
<td class="right_bottom"><span class="gensmall"> </span></td>
</tr>
</table>
<table width="100%" cellspacing="0" border="0" cellpadding="0">
<tr>
<td align="left"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
<td align="right"><span class="nav">{PAGINATION}</span></td>
</tr>
</table>
{POLL_DISPLAY}
<!-- BEGIN postrow -->
<br clear="all" />
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<th class="thLeft"><img src="templates/Avalanche/images/thLeft_quote.gif" width="30"/></th>
<th>{postrow.POST_DATE}</th>
<th class="thRight"><img src="templates/Avalanche/images/thRight.gif" width="30"/></th>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="cat" width="150" nowrap="nowrap"><a href="{postrow.U_MINI_POST}"><img src="templates/Avalanche/images/arrow_down.gif" alt="" border="0" /></a> {L_AUTHOR}</td>
<td class="cat" nowrap="nowrap">{L_MESSAGE}</td>
</tr>
<tr>
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b><a href="javascript:emoticon('[b]{postrow.POSTER_NAME}[/b], ')">{postrow.POSTER_NAME}</a></b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br /><font size=1>Points: {postrow.POSTER_KARMA}<br /><a href="karma.php?x=applaud&u={postrow.POSTER_ID}&t={TOPIC_ID}"><img src="templates/Getaway/images/plus.gif" border="0" /></a> / <a href="karma.php?x=smite&u={postrow.POSTER_ID}&t={TOPIC_ID}"><img src="templates/Getaway/images/min.gif" border="0" /></a></font><br />{postrow.POSTER_FROM}</span><br /></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="70%">{postrow.LOCK_IMG}<span class="postdetails"><b>{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</b></span></td>
<td valign="top" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><div class="postoverflow"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"> </td>
<td class="{postrow.ROW_CLASS}" width="100%" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" width="18">
<tr>
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
document.write(' {postrow.ICQ_IMG}');
else
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" class="row2"></td>
</tr>
</table>
<table width="100%" cellspacing="0" border="0" cellpadding="0">
<tr>
<td class="left_bottom"><span class="gensmall"> </span></td>
<td class="middle_bottom3"><span class="gensmall"> </span></td>
<td class="middle_bottom2"><span class="gensmall"> </span></td>
<td class="middle_bottom" align="center">
<span class="gensmall"><a href="#top" class="gensmall">Back To Top</a></span>
</td>
<td class="right_bottom"><span class="gensmall"> </span></td>
</tr>
</table>
<!-- END postrow -->
<tr align="center">
<td class="row1" colspan="2" >
{QUICKREPLY_OUTPUT}
</td>
</tr>
<table width="100%" cellspacing="0" border="0" cellpadding="0">
<tr>
<td align="left"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
<td align="right"><span class="nav">{PAGINATION}</span></td>
</tr>
</table>
<br />
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<th class="thLeft"><img src="templates/Avalanche/images/thLeft.gif" width="30"/></th>
<th> </th>
<th class="thRight"><img src="templates/Avalanche/images/thRight.gif" width="30"/></th>
</tr>
</table>
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<td class="cat" valign="top" nowrap="nowrap"><span class="gensmall">{S_AUTH_LIST}</span></td>
<td class="cat" width="50%" valign="top" nowrap="nowrap" align="left">
<span class="gensmall">{S_WATCH_TOPIC}</span><br /><br />{S_TOPIC_ADMIN}
</td>
</tr>
</table>
<table width="100%" cellspacing="0" border="0" cellpadding="0">
<tr>
<td class="left_bottom"><span class="gensmall"> </span></td>
<td class="middle_bottom3"><span class="gensmall"> </span></td>
<td class="middle_bottom2"><span class="gensmall"> </span></td>
<td class="middle_bottom" align="center">
<span class="gensmall"><a href="#top" class="gensmall">Back To Top</a></span>
</td>
<td class="right_bottom"><span class="gensmall"> </span></td>
</tr>
</table>
<br clear="all" />
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="left" valign="top"><span class="nav">{PAGE_NUMBER}<br />{PAGINATION}</span></td>
<td align="right" valign="top">{JUMPBOX}</td>
</tr>
</table>