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

CPAgrip Content Locker Problem

Discussion in 'CPA' started by martyyyy, Jun 30, 2015.

  1. martyyyy

    martyyyy Regular Member

    Joined:
    Aug 28, 2013
    Messages:
    255
    Likes Received:
    103
    anyone have a solution i have put the code into my wordpress "head" and have inserted the onclick="call_locker();" code to lock my download image for when its clicked but what happens is my content locker pops up but also my mediafire download link opens in another tab? where do i insert the onclick="call_locker();" without it opening the medifire page in another tab. I'm using wordpress and my image uses the "Enter the destination URL" with my mediafire link inserted, below is my link for my image useing the text tab. NEED HELP! <p style="text-align: center;"><a href="mediafir link" target="_blank"><img class="aligncenter size-full wp-image-40" src="http://mywebsite/wp-content/uploads/2014/01/download button" alt="name of image style="width: 380px" height="122" /></a></p>
     
  2. martyyyy

    martyyyy Regular Member

    Joined:
    Aug 28, 2013
    Messages:
    255
    Likes Received:
    103
    anyone I NEED HELP
     
  3. alternox

    alternox Junior Member

    Joined:
    Mar 7, 2015
    Messages:
    165
    Likes Received:
    21
    Gender:
    Male
    Try to insert in the <a> tag like this:

    <a href="mediafir link" target="_blank" onclick="call_locker();">
     
  4. martyyyy

    martyyyy Regular Member

    Joined:
    Aug 28, 2013
    Messages:
    255
    Likes Received:
    103
    nope same thing happened :/
     
  5. miedy

    miedy Senior Member

    Joined:
    May 17, 2012
    Messages:
    1,080
    Likes Received:
    488
    insert the cpagrip header code on header.php on your wordpress just within <head> and </head> tag

    on calling the locker do this...

    Code:
    <a href="#" onclick="call_locker(); return false;">
    let me know how that goes. Dont put the mediafire link.
     
  6. martyyyy

    martyyyy Regular Member

    Joined:
    Aug 28, 2013
    Messages:
    255
    Likes Received:
    103
    already did the HEAD, did what you said and it worked but how do get it to redirect to the mediafire link? its a multi-niche site so the redirect option in cpagrip's advanced tab isn't an option.
     
  7. miedy

    miedy Senior Member

    Joined:
    May 17, 2012
    Messages:
    1,080
    Likes Received:
    488
    you should create locker each niche... this would also help you for tracking niches.