Iam not able to put adsense between threads

Discussion in 'HTML & Website Design' started by amitpatel_3001, Nov 2, 2005.

  1. #1
    I have designed a Forum for my customer.
    The banner at TOP is clearly visible but they are also demanding a Banner ie 468x60 Text ads between the 1st Topic of every thread,This banners we can see in DP also.
    Can anyone Suggest.
    www.doregama.com is the forum.
    Also Suggestions Wanted
     
    amitpatel_3001, Nov 2, 2005 IP
  2. erobs

    erobs Well-Known Member

    Messages:
    49
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    123
    #2
    What type of forum software are you using?
     
    erobs, Nov 2, 2005 IP
  3. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #3
    Phpbb Forum
     
    amitpatel_3001, Nov 2, 2005 IP
  4. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There is a great hack that does this automatically...You can even control if it disappears for members, members with x amount of posts, etc, etc

    I will post the link when I find it
     
    yfs1, Nov 2, 2005 IP
  5. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #5
    Thanks but i just wanted to know how we can show the ads which are seen in DP.
    ie just below the 1st post.
     
    amitpatel_3001, Nov 2, 2005 IP
  6. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #6
    This is a vB forum....I don't know the code changes...Personally I thought it was nice to be able to change your advertising on the fly through the Admin panel but whatever floats your boat
     
    yfs1, Nov 2, 2005 IP
  7. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #7
    When iam trying to put the banner b/w threads blank space appears between all the threads.
     
    amitpatel_3001, Nov 2, 2005 IP
  8. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #8
    I think this is due 2 maximum 3 ads per page.
     
    amitpatel_3001, Nov 2, 2005 IP
  9. 993ti

    993ti Well-Known Member

    Messages:
    314
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #9
    In viewtopic.php
    Find:
    }
    
    $template->pparse('body');
    Code (markup):
    Replace with (don't forget to add your adsense code there).
    
    if($i == 0)  
       {  
           $row_color = ( !($num_post % 2) ) ? $theme['td_color1'] : $theme['td_color2'];  
           $row_class = ( !($num_post % 2) ) ? $theme['td_class1'] : $theme['td_class2'];  
           $num_post ++;  
           $message = 'ADSENSE CODE HERE';  
           $template->assign_block_vars('postrow', array(  
               'ROW_COLOR' => '#' . $row_color,  
               'ROW_CLASS' => $row_class,  
               'POSTER_NAME' => 'Google',  
               'POST_DATE' => '',  
               'POST_SUBJECT' => 'Sponsored Link',  
               'MESSAGE' => $message,  
               'MINI_POST_IMG' => $mini_post_img,  
               'U_POST_ID' => '0'  
           ));  
       }
    }
    $template->pparse('body');
    Code (markup):
     
    993ti, Nov 4, 2005 IP
  10. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #10
    I tried a lot but seems that there are a lot of errors comming
     
    amitpatel_3001, Nov 16, 2005 IP
  11. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #11
    Parse error: parse error, unexpected $ in /home/doregama/public_html/phpbb/viewtopic.php on line 871

    This is the Error iam getting
     
    amitpatel_3001, Nov 16, 2005 IP
  12. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I think we killed your site.

    Bandwidth Limit Exceeded
    The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
     
    Dekker, Nov 19, 2005 IP
  13. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #13
    ya i made a mistake by taking a 1GB bandwidth and this was completed in 15days.
    Iam now taking unlimited bandwdth.
     
    amitpatel_3001, Nov 19, 2005 IP
  14. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #14
    But won't that cost money?
     
    Dekker, Nov 19, 2005 IP
  15. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #15
    its for 88$ a year.
    Which is Cheaper than This Bandwidth exceeded Message
     
    amitpatel_3001, Nov 19, 2005 IP
  16. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Who's the host?
     
    Dekker, Nov 19, 2005 IP
  17. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #17
    amitpatel_3001, Nov 19, 2005 IP
  18. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Dekker, Nov 19, 2005 IP
  19. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #19
    Can Anyone Tell Me How To Start A Forum?
    I Want To Seriously Start A Forum
     
    amitpatel_3001, Nov 19, 2005 IP
  20. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #20
    First get a REAL web site. Real as in a dedicated server. http://www.ev1servers.net/ will get you one for a measly $100.00 per month!!!! You can't have a serious web site unless you have serious cash!!! :D
     
    Nintendo, Nov 19, 2005 IP