Conforums Support
Board Enhancements >> Hacks >> Hide guests from viewing member profiles
http://support.conforums.com/index.cgi?board=code&action=display&num=1174023425

Hide guests from viewing member profiles
Post by Garet on Mar 16th, 2007, 12:37am

Code by: Dave

Goes in global headers

<script type="text/javascript">
<!--
if(location.href.match(/=viewprofile/i) && cfusername == "Guest") {
alert("Guests cannot view member's profiles");
location.href="index.cgi";
}
// -->
</script>