Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  May 23rd, 2017, 12:01pm


Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Google
Dynamic Drive

The Staff
Roger
Dave
GIzzy



« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Hide guests from viewing member profiles  (Read 9662 times)
Garet
Conforums Elite
Senior Member


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 2073
xx Hide guests from viewing member profiles
« Thread started 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>
« Last Edit: Mar 16th, 2007, 12:37am by Garet » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls