Footers:
<script type="text/javascript">
var memColor = new Array();
memColor[memColor.length] = ["MEMBERGROUP NAME","START HTML","END HTML"];
//Created by Agent Moose (revolutionx.smfforfree3.com)
if(location.href.match("topic,")){
for(f=0;f<memColor.length;f++){
$("div.smalltext").each(function(){
if(this.innerHTML.match(memColor[f][0] + "<br")){
$(this).prev().children().html(memColor[f][1] + $(this).prev().children().html() + memColor[f][2]);
};});};};
</script>
Original Request: http://revolutionx.smfforfree3.com/index.php/topic,578.0.htmlThis code changes the username of a person according to which membergroup they are in.
MEMBERGROUP = The membergroup name.
START HTML = The First tag for HTML
END HTML = The End tags for HTML.
Here are two example for editing the code:
memColor[memColor.length] = ["Newcomer","<font color='red'>","</font>"];
memColor[memColor.length] = ["Starter","<b><i>","</i></b>"];
Enjoy