URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       Create A Forum - Support Forums
  HTML https://support.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Create a Forum Codes and Support
       *****************************************************
       #Post#: 15040--------------------------------------------------
       [Code] Page Off Limits
       By: CyanProductions Date: January 4, 2015, 9:59 am
       ---------------------------------------------------------
       [font=verdana]Description: Make a page Off Limits to a
       user[/font]
       [font=verdana]This code utilizes jQuery, please use the latest
       version found in this thread:
  HTML http://support.createaforum.com/5/jquery-v1-8-update/
  HTML http://support.createaforum.com/5/jquery-v1-8-update/[/font]
       [font=verdana]Footers:[/font]
       [quote]
       <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>[/quote]
       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.
       *****************************************************