hmm weird...I tested it before and it worked fine, now its not working for me either.
Nothing in it was edited, I used this code:
<script>
var ShowGuest = "<font color='red'>[Only registered users can see links. Please <a href='/?action=login'>Login</a> or <a href='/?action=join'>Register</a>]</font>";
if(location.href.match(/topic,/i)){
//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)){
if(!RegExp.$1) $("div.post a").replaceWith(ShowGuest);
};};};
</script>