Log in

View Full Version : BB Code Enhancements - Admin/Mod BB Codes


mac-warez
01-26-2009, 10:00 PM
https://vborg.vbsupport.ru/external/2009/01/18.jpg
Admin BB Code:

<center><table width="75%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="250" valign="top" style="padding-right: 15px;">
<table cellpadding="8" cellspacing="0" border="0" width="100%" align="center" style="border: 1px solid #000000;">
<thead>
<tr>
<td class="tcat" colspan="2">Admin Message</td>
</tr>
</thead>
</table>


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top: 0px;">
<tr>
<td class="alt1">
{param}
<br><br>
</td>
</tr>
</table>
</table>
</center>

These form to match your style:
Installation:
OK go to admin cp>Custom Bb Codes> Add New bb code

For the Admin code
Title:Admin Message
BB Code Tag Name:ADMIN
Replacement:Place the code i put on your thread there

Example:test
Description:Put your message between the tags to give a adminr message.

Moderator BB code:
<center><table width="75%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="250" valign="top" style="padding-right: 15px;">
<table cellpadding="8" cellspacing="0" border="0" width="100%" align="center" style="border: 1px solid #000000;">
<thead>
<tr>
<td class="tcat" colspan="2">Moderator Message</td>
</tr>
</thead>
</table>


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top: 0px;">
<tr>
<td class="alt1">
{param}
<br><br>
</td>
</tr>
</table>
</table>
</center>
Installation:
OK, go to Admin CP>Custom BB Codes> Add New BB code

For the mod code
Title:Moderator Message
BB Code Tag Name:MOD
Replacement:Place the code i put on your thread there

Example:test
Description:Put your message between the tags to give a moderator message..


If you use these BB codes combined with the Advanced BB code permissions hack it works great on sites.

Advanced BB code Permissions Hack
https://vborg.vbsupport.ru/showthread.php?t=122942

NGUYENDUCTRUONG
01-28-2009, 09:21 AM
thanks for share:D

mac-warez
01-28-2009, 12:09 PM
No problemo

pollutioN
01-28-2009, 12:23 PM
Interesting :P

Nice bbcode

mac-warez
01-28-2009, 04:34 PM
Thanks

Eplexx
11-13-2010, 02:18 AM
Very nice thanks!

shzad1
11-13-2010, 01:55 PM
intersting 1:)

merk_aus
11-14-2010, 12:00 AM
Wow thanks for this... something basic however something I hadn't even thought off thanks for taking the time to do it and with some customising think it can be useful to many websites.

matrex722
11-10-2012, 12:28 PM
Wow thanks for this

Tibiaspy
09-19-2014, 10:32 AM
Is there anything like this but for 4.x?

I only found this: https://vborg.vbsupport.ru/showthread.php?t=266744
And it's almost what I would like to have :p