pooffck1
07-10-2008, 10:00 PM
This is my first bbcode or first template edit or first anything actually.
So Please install :)
First of all
Admincp >> STYLE MANAGER >> YOUR STYLE >> MAIN CSS >> Place the following in Additional CSS Definitions
/* ***** 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: <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: http://www.yoursite.com
Description: Only for mods or admins to place there messages inside
Use {option}: NO
Button Image: (optional, and can be changed for your style)
https://vborg.vbsupport.ru/external/2008/07/21.gif
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. (https://vborg.vbsupport.ru/showthread.php?t=122942&highlight=BBCode+permissions)
Enjoy
So Please install :)
First of all
Admincp >> STYLE MANAGER >> YOUR STYLE >> MAIN CSS >> Place the following in Additional CSS Definitions
/* ***** 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: <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: http://www.yoursite.com
Description: Only for mods or admins to place there messages inside
Use {option}: NO
Button Image: (optional, and can be changed for your style)
https://vborg.vbsupport.ru/external/2008/07/21.gif
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. (https://vborg.vbsupport.ru/showthread.php?t=122942&highlight=BBCode+permissions)
Enjoy