Footers
<script type="text/javascript"><!--
var border_color = "BORDER COLOR"
var font_color = "FONT COLOR"
var background_color = "BACKGROUND COLOR"
$("div.signature").each(function() {
//Created by Agent Moose (smcodes.smfforfree3.com)
//With alot of help from beta from forum.ifcode.com
if(/\[message\](.*)\[\/message\]/i.test(this.innerHTML)) {
this.innerHTML = this.innerHTML.replace(/\[message\](.*)\[\/message\]/i, "",(function(a, b, c, d) {
d = a.parentNode.parentNode.parentNode.parentNode.rows[0].cells[0];
c.innerHTML = b;
d.insertBefore(c, d.getElementsByTagName("div")[0]);
return b;
})(this, "<div class='custommessage'><strong>Custom Message:</strong><br>"+RegExp.$1+"</div>", document.createElement("div")));
};});
document.write("<st"+"yle>.custommessage { border: 1px solid "+border_color+"; background-color: "+background_color+"; margin: 3px; margin-bottom: 6px; padding: 3px; font-size: 10px; color: "+font_color+"; }</st"+"yle>")
//--> </script>
This code allowes the members to edit there Custom Message. Just go to Profile -> Forum Profile Information and put this in your signature:
[message]YOUR TEXT HERE[/message]
And there ya go. The members of your board may change the YOUR TEXT HERE part to there text any time they want!
BORDER COLOR = The Color of the Border around the box that has the custom message in it
FONT COLOR = The Color that the font will be for the Custom Message.
BACKGROUND COLOR = The background color of the custom Message box.
Enjoy!