how can I make a pop up ads like sendspace?

Discussion in 'General Chat' started by kk890, Mar 11, 2009.

  1. #1
    such as this link,
    http://www.sendspace.com/file/l1fcny

    when I go to sendspace dwonload page link, there is no any pop up ads at all,
    but when I click to download the file, it will pop up an ads in another page,

    how to do such popup ads?
    thx
     
    kk890, Mar 11, 2009 IP
  2. kk890

    kk890 Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    anyone knows?thx
     
    kk890, Mar 12, 2009 IP
  3. ilovehuhu

    ilovehuhu Banned

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I can not open the link.
     
    ilovehuhu, Mar 12, 2009 IP
  4. kk890

    kk890 Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    kk890, Mar 12, 2009 IP
  5. matik

    matik Peon

    Messages:
    3,470
    Likes Received:
    169
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Robably look at the source code? I dont think its that hard and some coder can do it for you
     
    matik, Mar 12, 2009 IP
  6. aloksharma

    aloksharma Well-Known Member

    Messages:
    1,058
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    160
    #6
    Well, when I visited the link, popup blocker blocked a popup window from opening before I could click on any link.

    Personally speaking, I just hate popup's. They are annoying and irritating. I seriously recommend that you do not use them.
     
    aloksharma, Mar 12, 2009 IP
  7. kk890

    kk890 Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i want to learn this method, anyone knows?
    when I go to sendspace dwonload page link, there is no any pop up ads at all,
    but when I click to download the file, it will pop up an ads in another page,

    thx
     
    kk890, Mar 13, 2009 IP
  8. aloksharma

    aloksharma Well-Known Member

    Messages:
    1,058
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    160
    #8
    Well, you were actually provided the link (sendspace.com/file/l1fcny) in some email or after your uploaded the file.

    In fact the popup window does not opens after clicking on the download link. The popup ad code is pasted right on the same page itself. In fact its a small delay after which the popup ad opens. I visited that page so many times and clicked download link but nothing happened as you mentioned.

    You seems to be under wrong impression that it opens after clicking on the download link.

    But if you want to make it happen, you can use the javascript onclick event.
     
    aloksharma, Mar 13, 2009 IP
  9. kk890

    kk890 Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    sendspace should be set one ip popup once per 24 hours.
    then, anyone know how to make a code that when I click to download the file, it will pop up an ads in another page?thx
     
    kk890, Mar 13, 2009 IP
  10. aloksharma

    aloksharma Well-Known Member

    Messages:
    1,058
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    160
    #10
    As I said, you can use the javascript onclick event. Do a search for javascript onclick and you will find lot of information on it.

    The code would look something like this <a href="<url>" onClick'<code to trigger popup ad>;'>download</a>
     
    aloksharma, Mar 13, 2009 IP
  11. kk890

    kk890 Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    i just a newbie , can help me make a code like sendspace popup ads?

    thx so much
     
    kk890, Mar 13, 2009 IP
  12. aloksharma

    aloksharma Well-Known Member

    Messages:
    1,058
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    160
    #12
    Friend, the best way is to put the popup ad code on the download page. As soon as people reach this page, the popup ad will automatically trigger.

    But I still suggest you use regular banner ads instead of popup. You may like popup but people surely do not like it. Just think why the browsers like FF and IE are coming with popup blockers. No one's interested in popup ads these days and even if you use it, most of the times, they will be blocked.

    Its up to you how you want to go ahead.
     
    aloksharma, Mar 13, 2009 IP
  13. kk890

    kk890 Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    no , i just want to learn this method, and not pop up ads.
    can help me?
    thx
     
    kk890, Mar 13, 2009 IP
  14. jb=]

    jb=] Peon

    Messages:
    476
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I use Java script, Type in google 'javascript popup windows' and the coding will be right there, modify it and your set.
     
    jb=], Mar 13, 2009 IP
  15. aloksharma

    aloksharma Well-Known Member

    Messages:
    1,058
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    160
  16. musichangout.com

    musichangout.com Well-Known Member

    Messages:
    4,195
    Likes Received:
    182
    Best Answers:
    0
    Trophy Points:
    103
    #16
    I too use java script for pop- up ads, i think you must google . to find a right solution :)
     
    musichangout.com, Mar 13, 2009 IP
  17. reply211

    reply211 Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #17
    use search features friend :) many solution out there if you not satisfied yet
     
    reply211, Mar 13, 2009 IP
  18. kk890

    kk890 Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    i am now trying adding too download page:

    before,
    echo "<input type=submit value=\"".$lang[dl_file_now]."\" onClick=window.location=\"".$scripturl. "download2.php?a=" . $filecrc . "&b=" . md5($foundfile[2].$_SERVER['REMOTE_ADDR'])."\">";

    after,

    echo "<a href="javascript:poptastic('http://google.com');"><input type=submit value=\"".$lang[dl_file_now]."\" onClick=window.location=\"".$scripturl. "download2.php?a=" . $filecrc . "&b=" . md5($foundfile[2].$_SERVER['REMOTE_ADDR'])."\"></a>";


    but it shows : Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'

    how to fix it? thx
     
    kk890, Mar 13, 2009 IP
  19. jb=]

    jb=] Peon

    Messages:
    476
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #19
    What are you trying to do exactly. Your trying to have a download page, and on the download page it has a popup? A popup to display what?
     
    jb=], Mar 13, 2009 IP
  20. aloksharma

    aloksharma Well-Known Member

    Messages:
    1,058
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    160
    #20
    It looks like kk890 is not able to understand and he is making all this even more complicated.

    Friend, don't make things complicated. I have played around on the internet for more than 5 years so I know that its not worth making something just because we like it.

    Try to view it from the visitors point of view. As I said people do not like popup ads. They are annoying and they frustrate the visitors.

    Instead, put a 360x280 size banner ad code adjacent to the download link. That will give you more click thru rate and you will surely earn revenues. Just because you like popup ads will not help you generate money. Do a search on "block popup ads" and see what people have to say about it.

    I hope you understand. But if you still want go ahead with it, then 1st of all, your codes are wrong and its not going to work. Please provide me with the actual source code where you want to put the ads. The page where visitors can download the file. And I will give you the modified code.
     
    aloksharma, Mar 13, 2009 IP