Can you do this on Blogger

Discussion in 'Blogging' started by tommyownz, Feb 14, 2010.

  1. tommyownz

    tommyownz Regular Member

    Joined:
    Jan 5, 2009
    Messages:
    233
    Likes Received:
    15
    Can I add a premium content gateway only to certain pages of my blogger blog?

    Thanks, much appreciated.
     
  2. tommyownz

    tommyownz Regular Member

    Joined:
    Jan 5, 2009
    Messages:
    233
    Likes Received:
    15
    Anyone please? I have pages to monetize :)
     
  3. seoz87

    seoz87 Power Member

    Joined:
    Oct 31, 2008
    Messages:
    580
    Likes Received:
    315
    Gender:
    Male
    create a new blog and make it invite only. and then link that blog from that page

    thats the only solution i can think of as you cannot lock individual pages in blogger
     
  4. thesuvo

    thesuvo Registered Member

    Joined:
    Feb 3, 2010
    Messages:
    82
    Likes Received:
    18
    Location:
    India
    Home Page:
    you can use javascript code to lock that page.
     
  5. zoneweb

    zoneweb Newbie

    Joined:
    May 9, 2009
    Messages:
    39
    Likes Received:
    2
    The javascript is useless if the surfer disables it. A more secure way is to use iframes to a passworded site.
     
  6. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    pls remember to save your template before you try this

    go to layout->edit html-> Expand Widget Templates

    find this code
    Code:
    <div class='post-body entry-content'>
    <data:post.body/>
    <div style='clear: both;'/> <!? clear for photos floats ?>
    </div>
    replace with

    Code:
    <div class='post-body entry-content'>
    <b:if cond='data:blog.url == "[COLOR="Red"]http://yourblog.blogspot.com/2010/02/post.html[/COLOR]"'>
    <data:post.body/>
    [COLOR="Red"]<script src='http://www.**************.com/mygateway.php?pub=xxxxx&gateid=xxxxxx' type='text/javascript'/>[/COLOR]
    <b:else/>
    <data:post.body/>
    <div style='clear: both;'/>
    </b:if>
    </div>
    replace the first portion in red with your post permalink

    replace the second portion in red with your gateway script


    hope that helps
    nikhil88
     
    • Thanks Thanks x 2