New improvements for the mobile version: quote, moderation tools...

Go down

New improvements for the mobile version: quote, moderation tools... Empty New improvements for the mobile version: quote, moderation tools...

Post by The Godfather on August 3rd 2020, 3:39 pm

New improvements for the mobile version of the forums: quote, moderation tools...


Dear Forumotion users,

To facilitate the use of the Forumotion forums on mobile devices, and in accordance with mobile-friendly practices, we have made some improvements to the functionality available on the modern mobile version. These are only "small" improvements but should prove very useful to some members.

Here is what consists of these new features which concern both members and forum administrators.

  • Members with the required rights now have access to the moderation tools allowing for example to delete a topic, lock it, divide it, move it... The moderation tools appear at the top of the topics (once logged into your account).

See example:
New improvements for the mobile version: quote, moderation tools... Quotee10

  • Quoting a message / a member is a feature that is widely used but was missing on the mobile version. It is now available in its simple version (no multiple quote for the moment).

See example:
New improvements for the mobile version: quote, moderation tools... Quote10

  • A "Reply to topic" button is now available at the top of a topic for logged members with the right to reply.

See example:
New improvements for the mobile version: quote, moderation tools... Btn10

  • Some users of the mobile version were embarrassed by the difficulty of posting a topic in the correct section. It is true that it is more difficult to navigate between the sections in order to publish a new topic on the mobile version compared to the desktop version. To solve this problem, you now have the possibility to choose the section in which to publish the topic directly on the topic creation page.

    By default, the section where the user is located is included in the form. However, the latter can display the forums and sub-forums and choose the section that suits him best to publish his topic. Of course, the sections displayed depend on the permissions allocated to each.

See example:
New improvements for the mobile version: quote, moderation tools... Sectio10
See example:
New improvements for the mobile version: quote, moderation tools... Sectio11

In order for this update to work optimally on the forum, administrators who have customized the mobile templates viewtopic_body, topics_list_box and posting_body must absolutely take the modifications below into account.

We hope you will share our opinion on the usefulness of this improvement,

See you soon, your Forumotion team.


Last edited by The Godfather on August 3rd 2020, 3:53 pm; edited 3 times in total
The Godfather
The Godfather
Administrator
Administrator

Posts : 3686
Reputation : 671

View user profile

SLGray, TonnyKamper, MattiaDes and JaneDoe like this post

Back to top Go down

New improvements for the mobile version: quote, moderation tools... Empty Re: New improvements for the mobile version: quote, moderation tools...

Post by The Godfather on 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>&nbsp;{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>&nbsp;
                    <!-- 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}" />
The Godfather
The Godfather
Administrator
Administrator

Posts : 3686
Reputation : 671

View user profile

SLGray, TonnyKamper, jucarese and JaneDoe like this post

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum