|
| For a better experience of this new feature on your forum, the administrators with a punBB version forum wiho have modified these templates : viewforum_body, index_box, profile_send_email before the 09/28/2016 must take note of these modifications.. |
viewforum_body
- Replace this code :
- Code:
<tr>
<td align="left" valign="middle" width="50">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" border="0" /></a>
<!-- END switch_user_authpost -->
</td>
<td class="nav" valign="middle" width="100%">
<div class="nav">
<a class="nav" href="{U_INDEX}"><span>{L_INDEX}</span></a>{NAV_CAT_DESC}
</div>
</td>
<td class="gensmall" align="right" valign="bottom" nowrap="nowrap">
<span class="nav">
<script type="text/javascript">//<![CDATA[
var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
insert_plus_menu('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
</span>
</td>
</tr>
- By this new code :
- Code:
<tr>
<td align="left" valign="middle" width="50">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" border="0" /></a>
<!-- END switch_user_authpost -->
</td>
<td class="nav" valign="middle" width="100%">
<div class="nav">
<a class="nav" href="{U_INDEX}"><span>{L_INDEX}</span></a>{NAV_CAT_DESC}
</div>
</td>
<!-- BEGIN show_plus_menu -->
<td class="gensmall" align="right" valign="bottom" nowrap="nowrap">
<span class="nav">
<script type="text/javascript">//<![CDATA[
var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
insert_plus_menu('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
</span>
</td>
<!-- END show_plus_menu -->
</tr>
profile_send_email
- Replace this code :
- Code:
<tr>
<th class="thHead" colspan="2" height="25"><h1 class="pagetitle">{L_SEND_EMAIL_MSG}</h1></th>
</tr>
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_RECIPIENT}</b></span></td>
<td class="row2" width="78%"><span class="gen"><b><input type="text" name="friendname" value="{USER&#8288;NAME}" class="post" /></b></span></td>
</tr>
<!-- BEGIN switch_tell_friend -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_TELL_FRIEND_RECIEVER_EMAIL}</b></span></td>
<td class="row2" width="78%"><input type="text" size="30" name="friendemail" value="" class="post" /></td>
</tr>
<!-- END switch_tell_friend -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2" width="78%">
<span class="gen"><input class="post" style="width:450px" type="text" name="subject" value="{SUBJECT}" size="45" maxlength="100" tabindex="2" /></span>
</td>
</tr>
- By this new code :
- Code:
<tr>
<th class="thHead" colspan="2" height="25"><h1 class="pagetitle">{L_SEND_EMAIL_MSG}</h1></th>
</tr>
<!-- BEGIN switch_profile_email -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_RECIPIENT}</b></span></td>
<td class="row2" width="78%"><span class="gen"><b><input type="text" name="friendname" value="{USER&#8288;NAME}" class="post" /></b></span></td>
</tr>
<!-- END switch_profile_email -->
<!-- BEGIN switch_ad_email -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{switch_ad_email.L_YOUR_EMAIL}</b></span></td>
<td class="row2" width="78%"><span class="gen"><b><input type="text" name="email" value="{switch_ad_email.V_YOUR_EMAIL}" {switch_ad_email.DISABLE_YOUR_EMAIL} class="inputbox narrow" /></b></span></td>
</tr>
<tr>
<td class="row1" width="22%"><span class="gen"><b>{switch_ad_email.L_YOUR_NAME}</b></span></td>
<td class="row2" width="78%"><span class="gen"><b><input type="text" name="username" value="{switch_ad_email.V_YOUR_NAME}" {switch_ad_email.DISABLE_YOUR_NAME} class="inputbox narrow" /></b></span></td>
</tr>
<!-- END switch_ad_email -->
<!-- BEGIN switch_tell_friend -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_TELL_FRIEND_RECIEVER_EMAIL}</b></span></td>
<td class="row2" width="78%"><input type="text" size="30" name="friendemail" value="" class="post" /></td>
</tr>
<!-- END switch_tell_friend -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2" width="78%">
<span class="gen"><input class="post" style="width:450px" type="text" name="subject" value="{SUBJECT}" {SUBJECT_READ_ONLY} size="45" maxlength="100" tabindex="2" /></span>
</td>
</tr>
index_box
- Replace this code :
- Code:
<td class="row3 over" align="center" valign="middle" height="50">
<!-- BEGIN avatar -->
<div style="width: 200px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
- By this new code :
- Code:
<td class="row3 over" align="center" valign="middle" height="50">
<!-- BEGIN ads -->
<span class="AD_LastPA">
<span class="lastpost-avatar"><img src="{catrow.forumrow.ads.IMG}" alt="{catrow.forumrow.ads.TITLE}" /></span>
<span class="AD_LastInfos">
<b><a href="{catrow.forumrow.ads.LINK}">{catrow.forumrow.ads.TITLE}</a></b><br />
{catrow.forumrow.ads.DATE}<br />
{catrow.forumrow.ads.LOCATION}
</span>
</span>
<!-- END ads -->
<!-- BEGIN avatar -->
<div style="width: 200px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
Last update 29/09/2016
Last edited by Leviosa on October 6th 2016, 11:15 am; edited 1 time in total