1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Content Locking Entire Website ?

Discussion in 'CPA' started by LincolnXII, Oct 5, 2013.

  1. LincolnXII

    LincolnXII Newbie

    Joined:
    Jun 4, 2013
    Messages:
    35
    Likes Received:
    8
    Hello beautiful people.

    I have a small Wordpress blog not really belonging to a specific niche. Instead it's a lot of different topics.
    I have a few downloadable files, but I would rather have them being freely available without surveys - or maybe add those at a later stage.

    Is there any way to let my main-page being open - but in order to read any of my articles/entries - people will have to complete a survey.
    I have done a lot of searches, but haven't found a solution to this issue. :)
     
  2. ChapoGuzman

    ChapoGuzman BANNED BANNED

    Joined:
    Jun 7, 2013
    Messages:
    294
    Likes Received:
    187

    this is a easy fix. you main page can still be accesible and lock you post pages etc.

    get your content lock script, copy it. now go to appearcence>editor>single.php or post.php its one of those names, and paste it their right after the header info.

    now this will only lock your pages and your main homepage will be untouched.
     
  3. cookiemonste

    cookiemonste Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 9, 2009
    Messages:
    209
    Likes Received:
    91
    You could also add this to your header.php file
    Code:
    <?php if(is_single()) : ?>
    Locker code
    <?php endif; ?>
     
  4. LincolnXII

    LincolnXII Newbie

    Joined:
    Jun 4, 2013
    Messages:
    35
    Likes Received:
    8
    Thanks. :)
    I'll try it out and let you know if I run into any problems. :)
     
  5. LincolnXII

    LincolnXII Newbie

    Joined:
    Jun 4, 2013
    Messages:
    35
    Likes Received:
    8
    God damnit. I left out the important part. I wasn't in a hurry, so no idea why I fucked up :/
    Well. The idea of the above mention lock is - that whenevery they click on an article - CPA lock should pop up - whenever they've finished it - it should stay unlocked until they close and open the browser. Maybe using sessions. I know WP doesn't use sessions or states by default, but it's a pretty straight-forward process.

    Is there any known method to implement the content locker using sessions? :)
     
  6. cookiemonste

    cookiemonste Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 9, 2009
    Messages:
    209
    Likes Received:
    91
    You could change the unlock time on your locker to 5 minutes so they will basically have to complete a survey every time they visit your page
     
  7. LincolnXII

    LincolnXII Newbie

    Joined:
    Jun 4, 2013
    Messages:
    35
    Likes Received:
    8
    Is this working client-side, so that every new visitor needs to complete the survey, or is it server-side - making the site open for Every visitor for 5 minutes.
    I'm sorry for the stupid question, I'm fairly new to content locking and CPA in general.
     
  8. ChapoGuzman

    ChapoGuzman BANNED BANNED

    Joined:
    Jun 7, 2013
    Messages:
    294
    Likes Received:
    187

    it will lock every new visitor, so no one will be getting your content for free till they unlock your locker.
     
  9. Roshaen

    Roshaen Elite Member

    Joined:
    Sep 24, 2012
    Messages:
    2,238
    Likes Received:
    1,351
    Location:
    Please Pray For My DAD
    You can try social locker to lock your files or website.
    But locking your entire website won't be a good option as most people hate to see such things as soon as they visit.
     
  10. TehEpidemick

    TehEpidemick BANNED BANNED

    Joined:
    Oct 31, 2011
    Messages:
    778
    Likes Received:
    181
    do you have content locker pro?
     
  11. ChEcKeD

    ChEcKeD Senior Member

    Joined:
    Aug 27, 2012
    Messages:
    984
    Likes Received:
    467
    Occupation:
    ☺☺☺☺
    Location:
    ☺☺☺☺
    CPA lead have a plugin to go with Wordpress and you can choose how long the content stays unlocked.
     
  12. LincolnXII

    LincolnXII Newbie

    Joined:
    Jun 4, 2013
    Messages:
    35
    Likes Received:
    8
    #Chap:
    Thanks.

    #Roshaen:
    I am playing with the idea of having people either complete a CPA survey Or Sharing to unlock.
    I know it isn't optimal, but I would like to have the option, so I'll see how it goes. I can always change it back.
    I just thought it would be better if people only had to complete 1 survey instead of 1 for every article.

    #Teh:
    Nope. And I honestly had not heard of it before you mentioned it. It looks cheap, and might come in handy.

    #ChE:
    I'm on another network, but as I might have to test out a couple of more, it might be a good idea to apply.
     
  13. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    8,839
    Likes Received:
    7,450
    Occupation:
    ZLinky2Buy SEO Services
    Location:
    ⇩⇩⇩⇩⇩⇩⇩⇩⇩⇩⇩⇩
    Home Page:
    Wordpress allows your home page to be a custom page, where the others are post pages.

    Add the locker to a text widget that is not on the home page. Only add the locker text widget to post pages....