Results 1 to 4 of 4
  1. #1
    Casual Pligger chat2fanna's Avatar
    Joined
    Jun 2008
    Posts
    52

    Exclamation Google ads between the Post

    Please help me to know about google ads between the post see this website http://indiha.com/Cricket/3rd_odi_match_Bangladesh_vs_India_live_match_and_f ull_video_Highlights/
    Here the google ad is between the post I want like that
    Help me
    Thank you

  2. #2
    Pligg Developer chuckroast's Avatar
    Joined
    Jun 2006
    Posts
    5,478
    The link you provided doesn't work.

    But from the looks of it they are just using the ads in the story view.

    In link_summary.tpl towards the bottom.

    Code:
    {if $pagename eq "story"}
    PUT AD CODE HERE
    
    {/if}

  3. #3
    Casual Pligger gen3ric's Avatar
    Joined
    Jul 2007
    Posts
    91
    At the very bottom of link_summary.tpl add the following code:

    PHP Code:
    {if $pagename neq "story"}

        {if 
    $link_shakebox_index eq 4}
        <
    div align="center">
            <!-- 
    Your Ad Code Here -->
        </
    div>
        {/if}

        {if 
    $link_shakebox_index eq 9}
        <
    div align="center">
            <!-- 
    Your Ad Code Here -->
        </
    div>
        {/if}
        
        {if 
    $link_shakebox_index eq 14}
        <
    div align="center">
            <!-- 
    Your Ad Code Here -->
        </
    div>
        {/if}
        
        {if 
    $link_shakebox_index eq 19}
        <
    div align="center" >
            <!-- 
    Your Ad Code Here -->
            
    </script>
        </div>
        {/if}

    {/if} 
    You can change the numbers to reflect the intervals of stories you want the ads to display after.

  4. #4
    New Pligger marcfalk's Avatar
    Joined
    Nov 2007
    Posts
    3
    Quote Originally Posted by gen3ric View Post
    At the very bottom of link_summary.tpl add the following code:

    PHP Code:
    {if $pagename neq "story"}

        {if 
    $link_shakebox_index eq 4}
        <
    div align="center">
            <!-- 
    Your Ad Code Here -->
        </
    div>
        {/if}

        {if 
    $link_shakebox_index eq 9}
        <
    div align="center">
            <!-- 
    Your Ad Code Here -->
        </
    div>
        {/if}
        
        {if 
    $link_shakebox_index eq 14}
        <
    div align="center">
            <!-- 
    Your Ad Code Here -->
        </
    div>
        {/if}
        
        {if 
    $link_shakebox_index eq 19}
        <
    div align="center" >
            <!-- 
    Your Ad Code Here -->
            
    </script>
        </div>
        {/if}

    {/if} 
    You can change the numbers to reflect the intervals of stories you want the ads to display after.
    Thanks man! Just what I needed.

Similar Threads

  1. i have no clue, post does not post
    By weebit in forum Questions & Comments
    Replies: 4
    Last Post: 05-05-2011, 07:56 PM
  2. Google ads in the Post
    By chat2fanna in forum Questions & Comments
    Replies: 0
    Last Post: 06-12-2008, 06:46 AM
  3. Pay per post
    By manila in forum Questions & Comments
    Replies: 0
    Last Post: 02-25-2008, 10:35 PM
  4. pligg post 1, website 0 -- google search said
    By lacasuela in forum Questions & Comments
    Replies: 2
    Last Post: 02-25-2008, 08:51 AM
  5. Google ads dont work in9.8.2.Google changes their code!
    By daabomb2002 in forum Questions & Comments
    Replies: 5
    Last Post: 12-18-2007, 03:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting