Table
Custom BBCode Title: Table
Custom BBCode Description: This BBCode will add the HTML tag <table> to your posts.
Custom BBCode Example: [table=Table title][tr][td=width]This is a table cell![/td][/tr][/table]
Custom BBCode Tag: table
Use Option in tag?: Yes
Custom BBCode Replacement:
CODE
<div class="borderwrap"><div class="maintitle">{option}</div><table cellpadding="4" cellspacing="1" width="100%">{content}</table></div>
Table header
Custom BBCode Title: Table header
Custom BBCode Description: This BBCode will add the HTML tag <th> to your posts.
Custom BBCode Example: [table=Table title][th]This is a table header![/th][/table]
Custom BBCode Tag: th
Use Option in tag?: No
Custom BBCode Replacement:
CODE
<th class="table-header" style="padding: 4px">{content}</th>
Table row
Custom BBCode Title: Table row
Custom BBCode Description: This BBCode will add the HTML tag <tr> to your posts.
Custom BBCode Example: [table=Table title][tr][td=width]This is a table cell![/td][/tr][/table]
Custom BBCode Tag: tr
Use Option in tag?: No
Custom BBCode Replacement:
CODE
<tr>{content}</tr>
Table cell
Custom BBCode Title: Table cell
Custom BBCode Description: This BBCode will add the HTML tag <td> to your posts.
Custom BBCode Example: [table=Table title][tr][td=width]This is a table cell![/td][/tr][/table]
Custom BBCode Tag: td
Use Option in tag?: Yes
Custom BBCode Replacement:
CODE
<td width="{option}" class="row2" valign="top">{content}</td>
Description: Use this to hide important information which might spoil a movie, program, etc for other users.
Use {option}: No
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
Admin/Mod bbcode
Preview: [Only registered and activated users can see links. ]
Quote:
Title:Mod
BB Code Tag Name:mod
Replacement:
Code:
<p class="mod_bb"><img src="path/to/image/modicon.png" alt=""/> {param}</p>
Example:
[mod ]Notice text[/mod ] (without spaces)
Description: Whatever you want
Next 6 options: No, N/A Yes, No, No, No
Save
Now open your styles style manager and add this css to the additional css box at the bottom:
Quote:
Code:
/* ADMIN / MOD NOTICE */
.mod_bb
{
background:#F5C7CD;
color:#8a1f11;
padding:.8em;
margin-bottom:1.6em;
border:2px solid #DC364E;
}
.mod_bb img
{
position:relative;
top:2px;
}
Dont forget to replace the path/to/image in the replacement field (highlighted in red) to where you uploaded the image below to.
REQUIRED IMAGE [Only registered and activated users can see links. ]
__________________
Last edited by -Jebus Fist-; 3 Weeks Ago at 08:15 AM.
And the mod bbcode would only be useful if it did a check in the post to see if you're part of x usergroup. Otherwise its even more work for us tracking down every idiot who decides to use it in their post.