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

Leadbolt download gateway on blogger..?

Discussion in 'CPA' started by Popmania, Dec 23, 2010.

  1. Popmania

    Popmania Registered Member

    Joined:
    Oct 3, 2009
    Messages:
    85
    Likes Received:
    11
    OK, so I got my site approved on Leadbolt and I now want to setup some sort of download gateway (password protection and shit) on my blogspot blog. I've been trying to figure out ways to do that but haven't made any breakthrough.

    Here's what I thought of already:
    method 1:
    1. I put up a post with info about what the user is about to download and include the link to the password protected .rar file.
    2. Then I post another post with the password on it and put the gateway code on that.
    3. I edit the initial post and add a link to the post containing the password.

    I haven't tried this but I think this isn't going to work because on the homepage of the blog, all posts are shown, i.e. the download and the password posts. This way the gateway code will execute on the homepage as well, which shouldn't happen.

    Method 2:
    1. Same as above.
    2. Make a page on blogger with the gateway code on it and the password.
    3. Add a link to the password page on the download page.

    Now this should work, but the problem with this, is that I can only post at max 10 pages = 10 passwords = 10 downloads which would destroy my purpose.

    If anyone has any idea regarding this, please help. Thanks.
     
  2. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    i don't think you need to make extra pages.
    1.just write your post, use css to set the display property of the password text to 'none'.
    2.use this onclick leadbolt code
    HTML:
    http://forums.digitalpoint.com/showthread.php?t=2010682
    3. make an onclick function that changes the display of the text to 'block' and also displays the content blocker simultaneously.
    and voila!!
     
  3. MrMouse

    MrMouse Newbie

    Joined:
    Nov 3, 2009
    Messages:
    19
    Likes Received:
    47
    2 options:

    Easiest way is just to copypaste the code for your gateway on each page you want it to appear, so that would be the page with the password.

    Other way would be to add the code as a widget and edit the HTML to only let it load on your password page. To do that, go to your HTML page and look for the widget you added. Rewrite it like this;

    Code:
    <b:widget id='HTML1' locked='false' title='' type='HTML'> 
    <b:includable id='main'> 
    <b:if cond='data:blog.url == "BLOG_PAGE_URL"'> 
    
    WIDGET CODE 
    
    </b:if> 
    </b:includable> 
    </b:widget> 
     
  4. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    ^
    it is not possible to copy the leadbolt code into the post directly and the widget solution would work for only a single page or single password in this case
     
  5. MrMouse

    MrMouse Newbie

    Joined:
    Nov 3, 2009
    Messages:
    19
    Likes Received:
    47
    I thought of those workarounds for the problem you stated with editing the HTML right now, but I guess one of the following two codes could work pretty well. They are not the fanciest workarounds, but at least it doesn't take much effort to add multiple pages.

    To be honest this is an indication for me that you need to need more creativity as IM'er. If you can't come up with (easy) solutions like this yourself, and if you aren't willing to do a horseload of trial and error to figure it out, you do not deserve to become succesful in this business IMHO.

    Note that the last is a general remark, not directed towards anyone personally.

    Code:
    <b:widget id=?HTML1? locked=?false? title=?? type=?HTML?> 
    <b:includable id=?main?> 
    <b:if cond=?data:blog.url == "BLOG_PAGE_URL1"?> 
    <b:if cond=?data:blog.url == "BLOG_PAGE_URL2"?> 
    
    WIDGET CODE 
    
    </b:if> 
    </b:includable>
    </b:widget>
    Code:
    <b:widget id=?HTML1? locked=?false? title=?? type=?HTML?> 
    <b:includable id=?main?> 
    <b:if cond=?data:blog.url == "BLOG_PAGE_URL1"?> 
    
    WIDGET CODE 
    
    </b:if> 
    <b:if cond=?data:blog.url == "BLOG_PAGE_URL2"?> 
    
    WIDGET CODE 
    
    </b:if> 
    </b:includable>
    </b:widget>