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.
If you want a UNVERFIED warning when non moderators send a PM here is the code. Place it in postbit and/or postbit legacy above or below the code for this mod....
<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="#fa2424">U N V E R I F I E D</font></strong><br /><font size="1">If this message contains spam please report it to the admin</font></td> </tr> </table>
<br /> </if>
Make sure your moderators primary usergroups are all set to moderator and not the additional.
Could someone explain where POSTBIT and/or POSTBIT_LEGACY are please and where i'm supposed to upload the image so it will work properly.
I'm sorry i'm pretty new in this area.
Thank you
I hope you figured it out by now, since the post you made was around 8 months ago, but in case you haven't (or for others who are new):
Go to your Admin Control Panel, and go to the "Styles & Templates" section in the left hand panel. Click on "Style Manager" and in the pull-down menu select "Edit Templates." At the next screen click on the "<<>>" button to expand all of the settings, and then scroll down until you see Postibit and Postbit Legacy. Highlight whichever style postbit you are using and click on the "Customize" or "Edit" button, and then paste the code in the beginning of the template that appears, and then hit the "save" button.
If you are unsure if you are using Postbit or Postbit Legacy, then edit both templates. Postbit is the default setting when you install VB, so unless you changed it in the options, then you are using postbit.
Upload the image to the "misc" folder of your images directory.
Test the function by sending yourself a PM, and then look at the screen that appears when you read the message.
--------------------------------------------
If people want to make it so they get a different "Verified" message from each staff usergroup (moderators, supermoderators and admins) you can use this code:
<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> Super Moderator. Its contents can be trusted.</font></td> </tr> </table>
<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> Moderator. Its contents can be trusted.</font></td> </tr> </table>
<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 the <strong>$vboptions[bbtitle]</strong> Administrator. Its contents can be trusted.</font></td> </tr> </table>
Any ideas why even after the image is uploaded and poitned to the correct area it wont show up for me?
are you sure it is in the misc directory in images? are you using a different style? you can always hardcode the actual URL of the image instead of cuing VB code and see if that works.
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>