by The Godfather August 3rd 2020, 3:43 pm
In order for the new features of the mobile version to be present and to work optimally on your forum, if you have customized the
viewtopic_body template or the
topics_list_box template of the mobile version before this update, please make the replacements following for the modern mobile version:
Administration Panel > Display > Templates > Mobile version
- viewtopic_body:
Add the following code:
- Code:
<!-- BEGIN switch_user_authreply -->
<a href="{U_POST_REPLY_TOPIC}" rel="nofollow" class="btn btn-rep-topic" title="{L_POST_REPLY_TOPIC}">
<i class="material-icons">reply</i> {L_POST_REPLY_TOPIC}
</a>
<!-- END switch_user_authreply -->
<!-- BEGIN viewtopic_bottom -->
<form class="quickmod" method="get" action="{S_FORM_MOD_ACTION}">
<input type="hidden" name="t" value="{TOPIC_ID}" />
<!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
<input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />
<label>
<div class="quickmod-wrap">
{S_SELECT_MOD}
</div>
</label>
</form>
<!-- END viewtopic_bottom -->
Then, the following code:
- Code:
<div class="breadcrumbs">
<a class="nav nav-solid" href="{U_INDEX}">
<span>{L_INDEX}</span>
</a>
{NAV_CAT_DESC_DESKTOP}
</div>
Replace this code:
- Code:
<li>{postrow.displayed.DELETE_IMG}</li>
<li>{postrow.displayed.EDIT_IMG}</li>
By this one:
- Code:
<!-- BEGIN switch_edit_quote_buttons -->
<div class="navmenu_block">
<div class="navmenu_show"><i class="material-icons">more_horiz</i></div>
<div class="navmenu_list">
<li>{postrow.displayed.DELETE_IMG}</li>
<li>{postrow.displayed.EDIT_IMG}</li>
<li>{postrow.displayed.QUOTE_IMG}</li>
</div>
</div>
<!-- END switch_edit_quote_buttons -->
- topics_list_box:
Replace all the following codes:
- Code:
<h3>{topics_list_box.row.TOPIC_TYPE}{topics_list_box.row.TOPIC_TITLE}</h3><div class="forum-statistics">{topics_list_box.row.REPLIES} {L_REPLIES}</div>
By this one:
- Code:
<h3>
<!-- BEGIN single_selection -->
<span class="radio">
<input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
<span class="radio-check"></span>
</span>
<!-- END single_selection -->
{topics_list_box.row.TOPIC_TYPE}{topics_list_box.row.TOPIC_TITLE}</h3><div class="forum-statistics">{topics_list_box.row.REPLIES} {L_REPLIES}</div>
- posting_body:
Add the following codes:
- Code:
<!-- BEGIN switch_section -->
<label>
<div class="select-subtle">
{switch_section.S_FORUM_SELECT}
</div>
</label>
<!-- END switch_section -->
Above this one:
- Code:
<textarea class="input-subtle" name="message" placeholder="{L_MESSAGE_BODY}" id="text_editor_textarea" tabindex="2" rows="10">{MESSAGE}</textarea>
<input type="submit" name="post" class="btn" value="{L_SUBMIT}" tabindex="3" accesskey="s" />
<input type="hidden" name="lt" value="{LAST_TOPIC_ID}" />