Informs the user that the PM they are reading was in fact sent by forum staff.
Details:
Quote:
This template modification was developed by request [LINK] of RED SPIDER.
I opted not to phrase this as that would be more effort than this modification really deserves. I've included the image file used in the screenshot.
Installation:
Quote:
In either POSTBIT and/or POSTBIT_LEGACY, paste the following code at the top.
HTML Code:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)"><br /><table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="98%" align="center" style="border-bottom-width:0px"><tr><td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="27" height="32" alt="Verified!" /></td><td class="alt2"><strong><font size="2" color="#339900">V E R I F I E D</font></strong><br /><font size="1">This message was sent by an official <strong>$vboptions[bbtitle]</strong> staff member. It's contents can be trusted.</font></td></tr></table><br /></if>
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Credit to magnus of course, but I modified this to be a little cleaner and not leave open (and ugly) white space.
Nothing has really changed, simply add to postbit or postbit_legacy.
I like that alot more! here is the updated version, using your layout, to include separate messages from the admin, supermoderator, and moderator usergroups:
PHP Code:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5)"> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"class="tborder"> <tr> <td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="27" height="32" alt="Verified!" /></td> <td class="alt2"><strong><font size="2" color="#339900">V E R I F I E D</font></strong><br /><font size="1">This message was sent by an official <strong>$vboptions[bbtitle]</strong> Super Moderator. The contents of this private message can be trusted.</font></td> </tr> </table> <br /> </if> <if condition="THIS_SCRIPT=='private' && is_member_of($post, 7)"> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"class="tborder"> <tr> <td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="27" height="32" alt="Verified!" /></td> <td class="alt2"><strong><font size="2" color="#339900">V E R I F I E D</font></strong><br /><font size="1">This message was sent by an official <strong>$vboptions[bbtitle]</strong> Moderator. The contents of this private message can be trusted.</font></td> </tr> </table> <br /> </if> <if condition="THIS_SCRIPT=='private' && is_member_of($post, 6)"> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"class="tborder"> <tr> <td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="27" height="32" alt="Verified!" /></td> <td class="alt2"><strong><font size="2" color="#339900">V E R I F I E D</font></strong><br /><font size="1">This message was sent by an official <strong>$vboptions[bbtitle]</strong> Administrator. The contents of this private message can be trusted.</font></td> </tr> </table> <br /> </if>
If anyone wants to attach a warning image to the WARNING notices (permitting you added that onto the certificate) i have attached a 27x27 png file, just edit the code to make it warning.png
place the warning.png file in your style > misc folder.
Credit to magnus of course, but I modified this to be a little cleaner and not leave open (and ugly) white space.
Nothing has really changed, simply add to postbit or postbit_legacy.
PHP Code:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)">
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"class="tborder">
<tr>
<td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="27" height="32" alt="Verified!" /></td>
<td class="alt2"><strong><font size="2" color="#339900">V E R I F I E D</font></strong><br /><font size="1">This message was sent by an official <strong>$vboptions[bbtitle]</strong> staff member. The contents of this Private Message can be trusted.</font></td>
</tr>
</table>