Message from Moderator

mod-bbcode-screen.png
Description
This BBCode displays a message to the user inside their existing post. This bbcode is NOT "moderator only", you'll need an extension of some kind to limit it in that way. This bbcode can be set to not visible when posting so you would just inform the mods on how to use it.

Features:
  • Displays a message from a Moderator.
  • Displays the Moderator's username.
  • Linkifies the Moderator's username to quickly get access to their profile. (in case a PM is needed to be sent)
  • Size of the message box is content-aware so it resizes itself based on the size of the message, only taking up as much space as necessary.

Installation:
  1. Copy the HTML Replacement code into your forum.
  2. Copy the BBCode Usage to your forum.
  3. Copy the Help Line to your forum.
  4. Change the Domain in the HTML, this is required for the Linkification to work.

    Code: Select all

    http://CHANGE-THIS-ON-INSTALL.com/forum
    should be changed to your actual domain and the actual subfolder name, if applicable.
  5. [OPTIONAL] Change the background-color and color (text) values for the box to match your forum theme.

Install & Demo Video:
Install: https://youtu.be/k85RW6aMcJo
Demo: https://youtu.be/k85RW6aMcJo?t=2m32s

Public performance attribution has been waived.

Demo

Moderator Message:
message to display
- username


Settings

BBCode Usage: Select all
[mod={SIMPLETEXT1}]{SIMPLETEXT2}[/mod]

HTML Replacement: Select all
<div style="background:#f8f8f8;color:#222;border:1px solid #999;padding:10px;float:right;"><strong><em>Moderator Message:</em></strong><br />{SIMPLETEXT2}<br /><a href="http://CHANGE-THIS-ON-INSTALL.com/forum/memberlist.php?mode=viewprofile&un={SIMPLETEXT1}" style="text-align:right;display:block;"><span style="color:#222;">-</span> {SIMPLETEXT1}</a></div><div style="clear:both;"></div>

Help Line: Select all
[mod=username]message to display[/mod]
mod-bbcode-screen.png
  • Revisions
    Version
    phpBB Version(s)
  • Message from Moderator 1.3.0
    1.3.0
    3.1.x
    Validation time: Apr 18, 2016 1:12 am

    BBCode Usage: Select all
    [mod={SIMPLETEXT1}]{SIMPLETEXT2}[/mod]

    HTML Replacement: Select all
    <div style="background:#f8f8f8;color:#222;border:1px solid #999;padding:10px;float:right;"><strong><em>Moderator Message:</em></strong><br />{SIMPLETEXT2}<br /><a href="http://CHANGE-THIS-ON-INSTALL.com/forum/memberlist.php?mode=viewprofile&un={SIMPLETEXT1}" style="text-align:right;display:block;"><span style="color:#222;">-</span> {SIMPLETEXT1}</a></div><div style="clear:both;"></div>

    Help Line: Select all
    [mod=username]message to display[/mod]
  • Message from Moderator
    1.2.0
    3.1.x
    Validation time: Apr 16, 2016 9:06 pm

    BBCode Usage: Select all
    [mod={SIMPLETEXT1}]{SIMPLETEXT2}[/mod]

    HTML Replacement: Select all
    <div style="background:#f8f8f8;color:#222;border:1px solid #999;padding:10px;float:right;"><strong><em>Moderator Message:</em></strong><br />{SIMPLETEXT2}<br /><a href="http://CHANGE-THIS-ON-INSTALL.com/forum/memberlist.php?start=0&username={SIMPLETEXT1}" style="text-align:right;display:block;"><span style="color:#222;">-</span> {SIMPLETEXT1}</a></div><div style="clear:both;"></div>

    Help Line: Select all
    [mod=username]message to display[/mod]
cron