The Arcive of vBulletin Modifications Site. |
|
Distinguish Moderator/Administrator Notes in a thread Details »»
|
||||||||||||||||||||||||||||
|
Distinguish Moderator/Administrator Notes in a thread
Developer Last Online: Mar 2013
On my forum, it is my belief that users need to be notified when moderator actions have been applied in a thread.
I.e. certain posts were edited, deleted, moved, or if the thread was moved, etc. Usually I just type in blue font to distinguish such notes. However, anybody can use blue text so it was nothing special. Well I created a fairly simple BB Code with CSS Table formatting. It allows you to use a BB Code tag to distinguish the notes. For example, I could enter Quote:
The horizontal rule ( <hr> ) is included. You can customize the CSS to have the dashed border display in a different color, as well as change text size, font, color, etc. To create this BB Code: AdminCP -> BB Code Manager -> Add New BB Code Title: Code:
Moderator Notes Code:
moderation Code:
<hr><br>
<style type="text/css">
table.sample {
border-width: 3px 3px 3px 3px;
border-spacing: 2px;
border-style: dashed dashed dashed dashed;
border-color: green green green green;
border-collapse: separate;
background-color: white;
}
table.sample th {
border-width: 1px 1px 1px 1px;
padding: 1px 1px 1px 1px;
border-style: inset inset inset inset;
border-color: gray gray gray gray;
background-color: white;
-moz-border-radius: 0px 0px 0px 0px;
}
table.sample td {
border-width: 1px 1px 1px 1px;
padding: 1px 1px 1px 1px;
border-style: inset inset inset inset;
border-color: gray gray gray gray;
background-color: white;
-moz-border-radius: 0px 0px 0px 0px;
}
</style>
<table class="sample">
<tr>
<td><fieldset><legend>Important Moderator or Administrator Note</legend><font size=3><font color=blue>{param}</font></fieldset></td>
</tr>
</table>
Code:
[moderation]important note here[/moderation] Code:
No Code:
Yes All other settings are optional. I have also uploaded an basic letter "M" for "Moderation" to use as a button for this code. It is already resized to 21x20. -- Finally, to prevent regular users from using this BB Code, install Abe1's Advanced BBCode Permissions Modification. Hopefully I've covered everything ![]() Show Your Support
|
||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
So just remove this :
Code:
table.sample {
border-width: 3px 3px 3px 3px;
border-spacing: 2px;
border-style: dashed dashed dashed dashed;
border-color: green green green green;
border-collapse: separate;
background-color: white;
}
|
|
#3
|
||||
|
||||
|
Quote:
Code:
<style type="text/css">
table.sample {
border-width: 3px 3px 3px 3px;
border-spacing: 2px;
border-style: dashed dashed dashed dashed;
border-color: green green green green;
border-collapse: separate;
background-color: white;
}
table.sample th {
border-width: 1px 1px 1px 1px;
padding: 1px 1px 1px 1px;
border-style: inset inset inset inset;
border-color: gray gray gray gray;
background-color: white;
-moz-border-radius: 0px 0px 0px 0px;
}
table.sample td {
border-width: 1px 1px 1px 1px;
padding: 1px 1px 1px 1px;
border-style: inset inset inset inset;
border-color: gray gray gray gray;
background-color: white;
-moz-border-radius: 0px 0px 0px 0px;
}
</style>
|
|
#4
|
|||
|
|||
|
Sorry I was just referring to the green border not the line border inside the green border.
|
|
#5
|
||||
|
||||
|
I have attached a screenshot of the outcome if you remove the code I said to remove.
Also when you remove the code, replace it with this: Code:
<table> |
|
#6
|
|||
|
|||
|
Thank you!
|
|
#7
|
|||
|
|||
|
Nice idea, How to bring the total thing in the middle?
|
|
#8
|
||||
|
||||
|
Just add <center> to the very beginning of the code and </center> to the very end.
|
|
#9
|
|||
|
|||
|
How can i alow only one usergroup to use this. The Advanced BBCode Permissions dont work with my chatbox.
|
|
#10
|
||||
|
||||
|
Quote:
Sorry
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|