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

[Please Help] Bought from CodeCanyon. Hard time Installing.

Discussion in 'Black Hat SEO' started by francis1017, Nov 6, 2014.

  1. francis1017

    francis1017 Supreme Member

    Joined:
    Feb 26, 2013
    Messages:
    1,296
    Likes Received:
    304
    Hello,

    Bought this one from code canyon:
    http://codecanyon.net/item/like-2-u...ank=24&WT.z_author=OnePress&WT.ac=search_list

    And I don't know how to install it.

    1. What I did is I upload the files css,img and js files to my web root.
    2. put this 3 links of code inside <head> (followed the instruction - but not clear enough).

    Code:
    <script src="js/libs/jquery.min.js"></script>
    <script src="js/jquery.op.like2unlock.min.js"></script> 
    <link rel="stylesheet" href="css/jquery.op.like2unlock.min.css" />
    - Already check the path all is right.

    3. Put this sample code (pdf tutorial given) below the </head>

    Code:
    <script type="text/javascript">
    
     jQuery(document).ready(function ($) {
    
    $(".my-content").toLike({ 
    text: "Like this page or wait 120 seconds to view locked content.", 
    style: "ui-locker-clarity", // the clarity theme is obsolete 
    locker: { 
    timer: 120 
    }, 
    facebook: { 
    appId: "MY APP ID" } });
     });
    </script>
    I don't know what's next because it doesn't show anything in my site. Please help.
     
    Last edited: Nov 6, 2014
  2. francis1017

    francis1017 Supreme Member

    Joined:
    Feb 26, 2013
    Messages:
    1,296
    Likes Received:
    304
    Btw.. I just want it to pop up after someone visits my site and just put a box for them to like it.
    (Not force them to like) I will just put a close button.
     
  3. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Premium Member

    Joined:
    Nov 10, 2012
    Messages:
    10,119
    Likes Received:
    28,558
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:
  4. francis1017

    francis1017 Supreme Member

    Joined:
    Feb 26, 2013
    Messages:
    1,296
    Likes Received:
    304
  5. ziplack

    ziplack Senior Member

    Joined:
    Feb 18, 2010
    Messages:
    1,193
    Likes Received:
    603
    Location:
    BHW
    if u bought it legit
    ask for support from the seller.
     
    • Thanks Thanks x 1
  6. francis1017

    francis1017 Supreme Member

    Joined:
    Feb 26, 2013
    Messages:
    1,296
    Likes Received:
    304
  7. kyoka12

    kyoka12 Junior Member

    Joined:
    Jul 10, 2014
    Messages:
    129
    Likes Received:
    27
    Occupation:
    Nothing!
    Location:
    Macau
    wrap your locked content with class just like

    Code:
    <div class="my-content">
    <!-- this is your content -->
    </div>
    and

    appId: "MY APP ID" } });

    change with your facebook app id

    its should work i think
     
    • Thanks Thanks x 1
  8. francis1017

    francis1017 Supreme Member

    Joined:
    Feb 26, 2013
    Messages:
    1,296
    Likes Received:
    304

    It still didn't work..

    I just put this code below the </head>

    Code:
    <div class="my-content">
    <!-- this is your content -->
    </div>
    
    <script type="text/javascript">
     jQuery(document).ready(function ($) {
    
    $(".my-content").toLike({ 
    text: "Like this page or wait 120 seconds to view locked content.", 
    style: "ui-locker-clarity", // the clarity theme is obsolete 
    locker: { 
    timer: 120 
    }, 
    facebook: { 
    appId: "MY APP ID" } });
     });
    </script> 
     
  9. masterjani

    masterjani Jr. VIP Jr. VIP

    Joined:
    May 10, 2011
    Messages:
    3,184
    Likes Received:
    372
    Occupation:
    seo professional
    Home Page:
    Make sure to disable all adblock addons in the browser. Also, try to use the complete url to point the js file.

    Like
    Code:
    <script src="http://www.domain.com/js/libs/jquery.min.js"></script>
     
    • Thanks Thanks x 1
  10. francis1017

    francis1017 Supreme Member

    Joined:
    Feb 26, 2013
    Messages:
    1,296
    Likes Received:
    304
    I disabled everywhere the adblock.

    Change this:
    Code:
    <script src="http://www.domain.com/js/libs/jquery.min.js"></script>
    Still not showing anything.. thanks anyways!
     
  11. Shattered

    Shattered Newbie

    Joined:
    Nov 6, 2014
    Messages:
    32
    Likes Received:
    9

    You need to load the JavaScript items in the start of the page first. Put this code to this in your head tag; (and make sure the folders are correct to where you put the files.)
    <head>
    ...
    <script scr="/js/jquery.min.js"></script>
    <script src="/js/jquery.op.like2unlock.min.js"></script>
    <link rel="stylesheet" href="/css/jquery.op.like2unlock.min.css" />
    ...
    </head>






    I don't think you are wrapping/locking anything any content with that code.

    I would put
    <div class="my-content">
    ####I think you either need to put the button you are locking in here (or put the div class at the start of the page, and the /div at the bottom before the /head ####
    </div>

    and also setup your facebook Api ID to work with it then enter it in the AppID section
     
    • Thanks Thanks x 1
    Last edited: Nov 6, 2014
  12. francis1017

    francis1017 Supreme Member

    Joined:
    Feb 26, 2013
    Messages:
    1,296
    Likes Received:
    304
    What I did is put <div class="my-content"> below the </head> and put the </div> below the body of my page..

    After that my site turns blank and in the middle there is a little icon of loading.. after 5-8 seconds my full website page shows..

    I already have my facebook API ID..

    Can you explain more? So noob at this but I will do my very best. Please do step by step if possible.
    Thanks in advance!
     
  13. Shattered

    Shattered Newbie

    Joined:
    Nov 6, 2014
    Messages:
    32
    Likes Received:
    9
    Are you sure the javascript is loading? It needs to be near the top of the document
     
    • Thanks Thanks x 1
  14. francis1017

    francis1017 Supreme Member

    Joined:
    Feb 26, 2013
    Messages:
    1,296
    Likes Received:
    304
    I guess so.. Can you please explain more? I just can't make it work..
     
  15. kyoka12

    kyoka12 Junior Member

    Joined:
    Jul 10, 2014
    Messages:
    129
    Likes Received:
    27
    Occupation:
    Nothing!
    Location:
    Macau
    try the whole at once like this remember this is just a sample for lock some content on your url
    Code:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <title>Your Title here !</title>
    <script src="[B]your url[/B]/js/libs/jquery.min.js"></script> //dont forget to put your own url
    <script src="[B]your url[/B]/js/jquery.op.like2unlock.min.js"></script> //dont forget to put your own url
    <link rel="stylesheet" href="[B]your url[/B]/css/jquery.op.like2unlock.min.css" /> //dont forget to put your own url
    </head>
    <body>
    <div class="my-content">
    <p>I Dont want to show, until some one like my facebook/google plus page</p>
    </div>
    <script type="text/javascript">
    
    
     jQuery(document).ready(function ($) {
    
    
    $(".my-content").toLike({ 
    text: "Like this page or wait 120 seconds to view locked content.", 
    style: "ui-locker-clarity", // the clarity theme is obsolete 
    locker: { 
    timer: 120 
    }, 
    facebook: { 
    appId: "[B]240340238492348[/B]" } }); //put your facebook appid
     });
    </script>
    </body>
    </html>
    
    not try yet but i hope this might be help you
     
    • Thanks Thanks x 1
  16. francis1017

    francis1017 Supreme Member

    Joined:
    Feb 26, 2013
    Messages:
    1,296
    Likes Received:
    304
    thank you for this.. but still not working...

     
  17. kyoka12

    kyoka12 Junior Member

    Joined:
    Jul 10, 2014
    Messages:
    129
    Likes Received:
    27
    Occupation:
    Nothing!
    Location:
    Macau
    im forgot, try to put url in the javascript on

    Code:
    <script type="text/javascript">
    
    
    
     jQuery(document).ready(function ($) {
    
    
    
    
    $(".my-content").toLike({ 
    url: "[B]put your uri here[/B]",
    text: "Like this page or wait 120 seconds to view locked content.", 
    style: "ui-locker-clarity", // the clarity theme is obsolete 
    locker: { 
    timer: 120 
    }, 
    facebook: { 
    appId: "240340238492348" } }); //put your facebook appid
     });
    </script>
    if still not work, ithink you just need to contact the costumer service where you bought that pluggin