CPA Lead Gateway Delay?

Discussion in 'Affiliate Programs' started by zinc-uk, Oct 19, 2008.

  1. #1
    Is there any way i can delay the cpa gateway from coming up on page load,

    so i can load up a page then after 5mins the cpaleag gateway pops up
     
    zinc-uk, Oct 19, 2008 IP
  2. lollerskates

    lollerskates Well-Known Member

    Messages:
    78
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    125
    #2
    Currently i don't think you can do this. I emailed them over a week ago asking about this and never got a response back. Hopefully Troy will comment here about it.
     
    lollerskates, Oct 19, 2008 IP
  3. zinc-uk

    zinc-uk Peon

    Messages:
    365
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    cool il email them too i think blocking the premium content is harmfull just turns your visitors away let them watch the first 5mins of there favourite show and bam lock the page there a 100% more likley to fill out a survey so they dont have to go find a new site
     
    zinc-uk, Oct 20, 2008 IP
  4. Seqqa

    Seqqa Well-Known Member

    Messages:
    3,695
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    115
    #4
    I think this will work...

    <?php
    sleep(10); // 10 seconds to wait
    require 'http://www.cpalead.com/gateway.php?pub=YOUR_PUB_ID';
    ?>
     
    Seqqa, Oct 20, 2008 IP
  5. CPALeadTroy

    CPALeadTroy Active Member Affiliate Manager

    Messages:
    1,140
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    55
    #5
    I like the idea. I'll see what the possibility is of having this on the final release. Thank you for your suggestion.
     
    CPALeadTroy, Oct 20, 2008 IP
  6. PeoplesArcade

    PeoplesArcade Banned

    Messages:
    376
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I think that will make the whole page not load for 10 seconds. If it was a popup not inside the header then you could do a metarefresh inside a small iframe down in the corner. But i think the gateway would popup inside the iframe not on the main page.
     
    PeoplesArcade, Oct 20, 2008 IP
  7. Seqqa

    Seqqa Well-Known Member

    Messages:
    3,695
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    115
    #7
    put that code into a file called load_cpalead.php and just require that too like

    
    <?php
    require 'http://www.domain.com/load_cpalead.php';
    ?>
    
    PHP:
    :)
     
    Seqqa, Oct 21, 2008 IP
  8. PeoplesArcade

    PeoplesArcade Banned

    Messages:
    376
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8

    Thats smarts :) I will try that later. Although it seems a bit dirty to pop the gateway 5 minutes into them watching the episode. But my god it will make money :p
     
    PeoplesArcade, Oct 21, 2008 IP
  9. sensitiveheart_4

    sensitiveheart_4 Well-Known Member

    Messages:
    1,550
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    150
    #9
    Has anyone tried it ?
     
    sensitiveheart_4, Oct 21, 2008 IP
  10. fizfaz

    fizfaz Well-Known Member

    Messages:
    334
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #10
    I can't understand this.. anyone successfully tried it before?
     
    fizfaz, Oct 21, 2008 IP
  11. Seqqa

    Seqqa Well-Known Member

    Messages:
    3,695
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    115
    #11
    It works for me :cool:
     
    Seqqa, Oct 22, 2008 IP
  12. PeoplesArcade

    PeoplesArcade Banned

    Messages:
    376
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hey Seqqa. When i do it i get a bunch of php errors? Something to do about the require function? Is there anything more i need to do with it or should it just work?
     
    PeoplesArcade, Oct 22, 2008 IP
  13. Seqqa

    Seqqa Well-Known Member

    Messages:
    3,695
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    115
    #13
    If you are using the two lots of requires that maybe why. You could try the iframe method or put load_cpalead.php into the following code bellow.

    <script src="http://www.domain.com/load_cpalead.php" type="text/javascript"></script>
     
    Seqqa, Oct 22, 2008 IP
  14. fizfaz

    fizfaz Well-Known Member

    Messages:
    334
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #14
    Oh I lost here.. can you help to show it step by step.. my php programming knowledge is very little.. :D
     
    fizfaz, Oct 22, 2008 IP
  15. Seqqa

    Seqqa Well-Known Member

    Messages:
    3,695
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    115
    #15
    Put this into a file called whatever load_cpalead.php make use you add the time you want and your cpalead PUB ID.

    <?php
    sleep(10); // 10 seconds to wait
    require 'http://www.cpalead.com/gateway.php?pub=YOUR_PUB_ID';
    ?>
    PHP:
    Once you do that write the location of where you write the file into the Javascript below.

    <script src="http://www.domain.com/load_cpalead.php" type="text/javascript"></script>
    HTML:
    Once you have done this add that code to your website.

    Hope that helps.
     
    Seqqa, Oct 22, 2008 IP
    fizfaz likes this.
  16. fizfaz

    fizfaz Well-Known Member

    Messages:
    334
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #16
    I can't make it work.. the gateway not pop up after the timer.. don't know what's wrong..
     
    fizfaz, Oct 22, 2008 IP
  17. Seqqa

    Seqqa Well-Known Member

    Messages:
    3,695
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    115
    #17
    Show me the script URL where you hosted it, see what's wrong.
     
    Seqqa, Oct 22, 2008 IP
  18. lollerskates

    lollerskates Well-Known Member

    Messages:
    78
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    125
    #18
    Try opening "http://www.yourdomain.com/load_cpalead.php" and see if you get an error. Most hosts won't allow you to require or include a file from another server for security reasons.
     
    lollerskates, Oct 22, 2008 IP
  19. fizfaz

    fizfaz Well-Known Member

    Messages:
    334
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #19
    I just got blank page when I open it..
     
    fizfaz, Oct 22, 2008 IP
  20. sensitiveheart_4

    sensitiveheart_4 Well-Known Member

    Messages:
    1,550
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    150
    #20
    no its not working

    after the allotted time its shows the code not the gateway

    i trying it using include function as well not working
     
    sensitiveheart_4, Oct 22, 2008 IP