logo

$8
Must "Like" & "Follow" To See Content?

Does anyone know how they do those 1 page marketing sites where you have to BOTH like the Facebook page and follow a Twitter account to unlock the content on the page?

It would also be nice if you did "unlike" the page or "unfollow" the Twitter account, you would loose access to the content, again.

Is there a php script or jquery script that does that?

Anyone have any insight on these type of social pages?

Zach Reed | 07/22/11 at 8:56pm | Edit


(1) Possible Answers Submitted...

This question had 5 challenges to its refund request.

  • avatar
    Last edited:
    07/22/11
    9:06pm
    Pippin Williamson says:

    Tyler Quin over at Code Canyon.net has a variety of these plugins available. I'd recommend picking up one of them then looking at the code.

    Tyler's Portfolio on Code Canyon

    In terms of the theory of how it's done, there are a lot of ways you could do it, but here are some steps to get you started:

    1. Get the user's IP using either PHP or jQuery cookies, or other identifying variable
    2. Store the IP or other identifying value in an array of accepted IDs
    3. Check the user's ID (IP, cookie, or whatever) against those that have been saved
    4. Only display content to user's who have been saved in the "accepted list"

    If you're only doing it for registered users, then you could use the WordPress user meta table.


    Previous versions of this answer: 07/22/11 at 9:06pm

    • 07/22/11 9:26pm

      Zach Reed says:

      Thanks for the link, that has just what I need. I don't think that link is worth $45, though. I don't mind sending you some money on the side via PayPal for that but lets be honest, you didn't do $45 worth of research to get that answer.

    • 07/23/11 11:56am

      Zach Reed says:

      Please see my refund comments and the comments in "This question had 3 challenges to its refund request." I'm not trying to scam you or anything but please see my argument and please< understand, I'm willing to throw you some money/strong> but I expected, for the $45, code not really just a link to buy the code somewhere else and then work backwards.

This question has expired.



Christianto voted on this question.



Current status of this question: Completed