Welcome Guest [Log In] [Register]

Default Signature

The original content in this documentation is copyrighted to Agent Moose.

Compatibility: · · · ·

Preview: http://codepreview.smfforfree3.com/index.php/topic,4.0.html

Description: This code will add a Default Signature. Meaning, if any user on your forum doesn't have a signature, this will automatically give those users one.

Footers:

Code:
 
<script type="text/javascript">
var defaultSig = "SIGNATURE";

var ta = document.getElementsByTagName("td");
//Created by Agent Moose (revolutionx.smfforfree3.com)
for(x=0;x<ta.length;x++){
if(ta[x].width == "85%" && ta[x].className == "smalltext" && !ta[x].getElementsByTagName("div")[0]){
ta[x].innerHTML += "<hr class='hrcolor' width='100%' size='1'><div class='signature'>" + defaultSig + "</div>"
};
};
</script>
SIGNATURE = The Default Signature. You may use HTML if you would like.

If you require support for this code, please start a topic in our Global Support Forum. Once your topic is posted, please PM the URL to the topic starter so that they know a support request is pending for their topic. Please DO NOT PM the topic starter with your actual support request.