[REQ] Moderator / Administrator BBCode

First of all
Admincp >> STYLE MANAGER >> YOUR STYLE >> MAIN CSS >> Place the following in Additional CSS Definitions

Code:
/* ***** Mods Message ***** */
.bbcmods{
 background: #FFF;
 border: 1px dotted #000000;
 border-top: 4px solid #000000;
 border-bottom: 4px solid #000000;
 color: #000000;
 font-weight: bold;
 padding: 5px;
 font-size: 11px;
}
.bbcmodstitle{
 font-weight: bold;
 font-size: 10px;
 border: 0px;
 border-bottom: 1px dashed #003366;
 color: #003366;
 padding-bottom: 3px;
 margin-bottom: 5px;
}

And THEN

Admincp >> Custom BB Codes >> Add New BB Code
Title: Mods/Admins Message

BB Code Tag Name: mods

Replacement:

Code:
<div class="bbcmods">
 <div class="bbcmodstitle">Mod/Admins Message</div>
 <pre style="margin:0px; padding:$stylevar[cellpadding]px; width:$stylevar[codeblockwidth]; overflow:auto">{param}</div>

Example: [mods]http://www.yoursite.com[/mods]

Description: Only for mods or admins to place there messages inside

Use {option}: NO

Button Image: (optional, and can be changed for your style)


Remove Tag If Empty: YES

Disable BB Code Within This BB Code: NO

Disable Smilies Within This BB Code: NO

Disable Word Wrapping Within This BB Code: NO

If you want to make this for Mods and admins only then i advise you to install this mod as it gives you advance bbcode hidding options for members who are not admins or mods.

Enjoy
 
Back
Top