Wordpress Help! Anyway to put a Splash screen for my Adult blog? 10$ Reward

Discussion in 'WordPress' started by Remotay, Nov 6, 2007.

  1. #1
    Im using wordpress as a CMS For my adult site .Videos / Pictures / The works. I currently have no warning when users come in that the site is an adult site. Is there anyway I Can put a splash screen up when users first enter the site asking whether they're 18 or not? I don't want to change the homepage url as that may hurt SERPS, I think. I WILL PAY 10$ For anyone to help me set this up.
     
    Remotay, Nov 6, 2007 IP
  2. shadowpwner

    shadowpwner Peon

    Messages:
    469
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Make a file called index.html. It wont interfere with /index.php
     
    shadowpwner, Nov 6, 2007 IP
  3. Remotay

    Remotay Well-Known Member

    Messages:
    2,426
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #3
    And if people go directly to my URL, It'll access Index.html before it does Index.php?
     
    Remotay, Nov 6, 2007 IP
  4. Panjabi

    Panjabi Peon

    Messages:
    362
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    <script language="javascript">
    var agePrompt=prompt("You must be over 18 to enter.\n Please enter your age.")
    
    if (agePrompt>=18)
    document.location="http://yourpage.com";
    else {
    alert('Sorry, minors are not allowed in this section! \n You must be 18 years old to enter.')
    document.location="http://www.cartoonnetwork.com/";
    
    }
    </script>
    Code (markup):
    Try the above code.
     
    Panjabi, Nov 6, 2007 IP
  5. shadowpwner

    shadowpwner Peon

    Messages:
    469
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That works, but its a bit annoying. I would try something with cookies so it can remember what options it chose.
     
    shadowpwner, Nov 6, 2007 IP
  6. Remotay

    Remotay Well-Known Member

    Messages:
    2,426
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #6
    It doesn't work, as it people click the header, It links right back to my site , and they'll have to enter the 18 age thing again. Anyway to use a similar script with cookies so it only asks once, even if you hit the main page multiple times? Remember, 10$ For whoever helps me implement it.
     
    Remotay, Nov 7, 2007 IP