ok, its working! Thank you! But one quick question
How would I go about changing it from giving a no permission login screen when not logged in, to having my popup, and directing them to the main page like this
PHP Code:
$url = "http://www.thewindows7site.com/forum/";
<NON CODED> If user isnt logged in
then do this</NON CODED>
<script type="text/javascript" language="JavaScript">
<!--
alert("You Must Register/Login To The Forum\n\To Use This Feature. -Administration Team");
window.location="<?php echo $url; ?>";
// -->
</script>