Footers:
<script type="text/javascript">
var Symbol = "SYMBOL";
var NoticeText = "NOTICE TEXT";
var Notice = new Array(); var z = 0;
Notice[z++] = ["NAME","REASON"];
//Created by Agent Moose (revolutionx.smfforfree3.com)
var name = document.getElementsByTagName("span");
for(v=0;v<name.length;v++){
if(name[v].innerHTML.match(/Hello <b>(.*)<\/b>/i)){
var username = RegExp.$1;
};};
for(x=0;x<Notice.length;x++){
if(username == Notice[x][0]){
document.getElementById("bodyarea").innerHTML = '<div style="border: 2px dashed rgb(204, 51, 68); margin: 2ex; padding: 2ex; color: black; background-color: rgb(255, 228, 233);"><div style="float: left; width: 2ex; font-size: 2em; color: red;">' + Symbol + '</div><b style="text-decoration: underline;">' + Notice[x][0] + '</b><br/><div style="padding-left: 6ex;">' + NoticeText + Notice[x][1] + '</div></div>' + document.getElementById("bodyarea").innerHTML;
};};
</script>
Original Request: http://revolutionx.smfforfree3.com/index.php/topic,856.0.htmlThis will add a notice box to a certain user, which the admin can specify
SYMBOL = The Symbol that will be left of the text (example: "!!")
NOTICE = the Text before the Username (example: "Notice: Username")
NAME = The User you want the notice box to show up for
REASON = The reason why that user is getting the notice.
Enjoy