Description: Make a page Off Limits to a userThis code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/Footers:<script>
if (location.href == smf_scripturl + "?X") { if ($("li.greeting").text() == "Hello Y") { $("div#main_content_section").remove(); $( "div#footer_section div.frame" ).before( "<br><center><h1>This is Off Limits to you</h1></center><br>" );}}
</script>
Editing: Change the red X to the url you want off limits. You only need the segment of the url after the ?
Change the red Y to the user you would like to make this Off limits to, you can change the first =, on the same line as the red Y to an !, this will only give that user access to the page.