Preview:
http://9861.smfforfree.com/index.php/topic,9.0.htmlNote that on my test forum it will only work for that topic. It should work everywhere for you.
Put this in either your headers or footers.
<script type="text/javascript">
// Don't show links to guests
// Script by Celebrus of Aetus Designs[aetus.net] and Revolution X[revolutionx.smfforfree3.com].
function logged_in() {
return $('td.titlebg2 span b').not($("td.titlebg2 span b:contains(News)")).html() ? true : false;
}
$(document).ready(function() {
if(!logged_in()) {
$("div.post a").html("<span style='color:red'>[Only members can see links]</span>").removeAttr("href").wrap("<strong></strong>");
}
});
</script>
Also note that if your guests disable javascript they would be able to see the links and there's no way to get around that.