Footers:
<script type="text/javascript">
function EZchange(Topic,Comm){
var a = document.links;
//Created by Agent Moose (revolutionx.smfforfree3.com)
for(x=0;x<a.length;x++){
if(a[x].href.match("topic," + Topic + ".0") && a[x].innerHTML.match(/([\d,]+) comment/i)){
var Cmnts = Math.floor(parseInt(RegExp.$1) + parseInt(Comm));
a[x].innerHTML = Cmnts + " comments";
};};};
EZchange("TOPIC NUMBER","COMMENTS");
</script>
Original Request: http://revolutionx.smfforfree3.com/index.php/topic,736.0.htmlThis code changes how much comments it says a topic has if it is on the ezportal.
TOPIC NUMBER = The ID/Number of the topic:
COMMENTS = The number the comments will change to. If you have one comment, and you change it to say 20, the number will be 21
To change more comment numbers, add more of these lines:
EZchange("TOPIC NUMBER","COMMENTS");
Enjoy