New : Mark PM as read / unread

Go down

New :  Mark PM as read / unread Empty New : Mark PM as read / unread

Post by Luzz on July 28th 2020, 3:06 am

New feature in PM box : Mark PM as read / unread


Dear Forumotion users,

In reply to the suggestion made in our community, and in accordance with good web practices, we have added some new features to Private message box, namely the ability to mark your private messages as read or unread and the information on the number of unread messages which is displayed directly in the navigation menu.

Here is what this improvement of the PM box is in detail.


  • As it was already the case, when you log into the forum and there are new PMs, the alert in the navigation menu will report it. No changes here.


See example:
New :  Mark PM as read / unread New_me10

New :  Mark PM as read / unread New_me11


  • However once the page is visited, if you have unread PMs, it is no longer the title "You have no new messages" which is displayed, but "You have X unread messages".



New :  Mark PM as read / unread Unread11


New :  Mark PM as read / unread Unread12


  • To improve the management of your PMs, we have also added a new feature : “Mark as read” / “Mark as unread”.

Thus, two new buttons are available in addition to already existing buttons, integrating in an intuitive way the PM management panel.

New :  Mark PM as read / unread Mark_a10

New :  Mark PM as read / unread Mark_a11

In order for this update to work optimally on the forum, administrators who have customized the template privmsgs_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.
Luzz
Luzz
Administrator
Administrator

Posts : 557
Reputation : 74
Language : French, English, Russian

View user profile http://forum.forumactif.com/

skouliki, SLGray, TonnyKamper, MattiaDes, trajce, TheCrow, zzlasperpen and like this post

Back to top Go down

New :  Mark PM as read / unread Empty Re: New : Mark PM as read / unread

Post by Luzz on July 28th 2020, 3:07 am

If you made any changements in the template privmsgs_body before this update, please modify it by following the modifications below :

Administration Panel > Display > Template > Post & Private Messages : template privmsgs_body

awesomeBB:

ADD THIS :
Code:
                <!-- BEGIN switch_mark_as_read -->
                <input class="btn btn-default" type="submit" name="mark_as_read" value="{switch_mark_as_read.L_MARK_AS_READ}" />
                <input class="btn btn-default" type="submit" name="mark_as_unread" value="{switch_mark_as_read.L_MARK_AS_UNREAD}" />
                <!-- END switch_mark_as_read -->
AFTER :
Code:
                <!-- BEGIN switch_save -->
                <input class="btn btn-default" type="submit" name="save" value="{L_SAVE_MARKED}" />
                <!-- END switch_save -->
invision:

ADD THIS :
Code:
            <!-- BEGIN switch_mark_as_read -->
            <input class="button" type="submit" name="mark_as_read" value="{switch_mark_as_read.L_MARK_AS_READ}" />&nbsp;&nbsp;
            <input class="button" type="submit" name="mark_as_unread" value="{switch_mark_as_read.L_MARK_AS_UNREAD}" />&nbsp;&nbsp;
            <!-- END switch_mark_as_read -->
AFTER :
Code:
            <!-- BEGIN switch_move_profile -->
            <input type="submit" name="moveprofile" value="{L_MOVE_PROFILE_MARKED}" class="button" />&nbsp;&nbsp;
            <!-- END switch_move_profile -->
mobi_modern:

ADD THIS :
Code:
      <!-- BEGIN switch_mark_as_read -->
      <input class="btn" type="submit" name="mark_as_read" value="{switch_mark_as_read.L_MARK_AS_READ}" />
      <input class="btn" type="submit" name="mark_as_unread" value="{switch_mark_as_read.L_MARK_AS_UNREAD}" />
      <!-- END switch_mark_as_read -->
AFTER :
Code:
      <!-- BEGIN switch_move_profile -->
      <input class="btn" type="submit" name="moveprofile" value="{L_MOVE_PROFILE_MARKED}" />
      <!-- END switch_move_profile -->
modernBB:

ADD THIS :
Code:
      <!-- BEGIN switch_mark_as_read -->
      <input class="button1" type="submit" name="mark_as_read" value="{switch_mark_as_read.L_MARK_AS_READ}" />
      <input class="button1" type="submit" name="mark_as_unread" value="{switch_mark_as_read.L_MARK_AS_UNREAD}" />
      <!-- END switch_mark_as_read -->
AFTER :
Code:
      <!-- BEGIN switch_move_profile -->
      <input class="button1" type="submit" name="moveprofile" value="{L_MOVE_PROFILE_MARKED}" />
      <!-- END switch_move_profile -->
phpBB3:

ADD THIS :
Code:
      <!-- BEGIN switch_mark_as_read -->
      <input class="button2" type="submit" name="mark_as_read" value="{switch_mark_as_read.L_MARK_AS_READ}" />&nbsp;&nbsp;
      <input class="button2" type="submit" name="mark_as_unread" value="{switch_mark_as_read.L_MARK_AS_UNREAD}" />&nbsp;&nbsp;
      <!-- END switch_mark_as_read -->
AFTER :
Code:
      <!-- BEGIN switch_move_profile -->
      <input class="button1" type="submit" name="moveprofile" value="{L_MOVE_PROFILE_MARKED}" />&nbsp;&nbsp;
      <!-- END switch_move_profile -->
punBB:

ADD THIS :
Code:
            <!-- BEGIN switch_mark_as_read -->
            <input type="submit" name="mark_as_read" value="{switch_mark_as_read.L_MARK_AS_READ}" />&nbsp;&nbsp;
            <input type="submit" name="mark_as_unread" value="{switch_mark_as_read.L_MARK_AS_UNREAD}" />&nbsp;&nbsp;
            <!-- END switch_mark_as_read -->
AFTER :
Code:
            <!-- BEGIN switch_move_profile -->
            <input type="submit" name="moveprofile" value="{L_MOVE_PROFILE_MARKED}" />&nbsp;&nbsp;
            <!-- END switch_move_profile -->
phpBB2:

ADD THIS :
Code:
                <!-- BEGIN switch_mark_as_read -->
                <input class="liteoption" type="submit" name="mark_as_read" value="{switch_mark_as_read.L_MARK_AS_READ}" />&nbsp;&nbsp;
                <input class="liteoption" type="submit" name="mark_as_unread" value="{switch_mark_as_read.L_MARK_AS_UNREAD}" />&nbsp;&nbsp;
                <!-- END switch_mark_as_read -->
AFTER :
Code:
                <!-- BEGIN switch_move_profile -->
                <input class="mainoption" type="submit" name="moveprofile" value="{L_MOVE_PROFILE_MARKED}" />&nbsp;&nbsp;
                <!-- END switch_move_profile -->
Luzz
Luzz
Administrator
Administrator

Posts : 557
Reputation : 74
Language : French, English, Russian

View user profile http://forum.forumactif.com/

APE, SLGray, SarkZKalie, TonnyKamper, MattiaDes, trajce, TheCrow and zzlasperpen like this post

Back to top Go down

Back to top


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