A Neater Google Adsense After First Post
Hello & Welcome to our community. Is this your first visit? Đăng Ký
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Kết quả 1 đến 1 của 1
  1. #1
    Thành Viên PandavB's Avatar
    Ngày tham gia
    Feb 2014
    Bài viết
    243
    Thanks
    1
    Thanked 13 Times in 11 Posts

    Icon14 A Neater Google Adsense After First Post

    Ok, so i haven't found any google adsence products for vb 4 yet that sit neatly under your first post only, on every page. Credits to Miko and my self for a few tiny edits.

    How To Install
    Step.1:
    GoTo Postbit Templates>>open postbit_legacy and add at the very bottom:

    Code:
    PHP Code:
    <vb:if condition="$post['isfirstshown']">
    <
    li class="firstpost_advert_container"><div class="firstpost_advert">
          
    REPLACE THIS WITH YOUR ADSENSE CODE HERE
    </div>
    </
    li>
    </
    vb:if> 
    Step.2:
    GoTo CSS Templates>>open additional.css and add this code:

    Code:
    PHP Code:
    .firstpost_advert_container {
        
    clearboth;
        
    displayblock;
        
    floatleft;
        
    margin-bottom12px;
        
    positionrelative;
        
    width100%;
        
    border1px solid #E5E6F4;
    }

    .
    firstpost_advert {
        
    with100%;
        
    background#F1F1FA;
        
    border1px solid #fff;
        
    min-height90px;
        
    margin0;
        
    padding7px;
        
    text-aligncenter;
        
    vertical-alignmiddle;

    Feel free to customize to your needs, i had to mess around to suit my custom style. I changed the min-height to 90px for a neater look for 728x90 ads and changed margin-bottom: to 18px. But how the code is above is perfect for Vbulletin 4 Default.
    DEMO: Teen Forums
    Please Note: im not a coder, i just wanted to share this with others, its VERY easy to add to your styles and looks neat. Good Luck.
    This coding is also different than Mod Version: 1.00, by Allan. You shouldn't have any problems with this and it will do you till a product version comes out.
    Hình Kèm Theo Hình Kèm Theo
    Khách viếng thăm hãy cùng PandavB xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 

Các Chủ đề tương tự

  1. Tìm Shell đơn giản trên Google
    Bởi kubi.l0v3 trong diễn đàn Thư Viện Bảo Mật
    Trả lời: 0
    Bài viết cuối: 10-02-14, 08:42 PM
  2. Google Adsense Postbit Integration
    Bởi KingSky trong diễn đàn vBulletin 3.8 Add-ons
    Trả lời: 0
    Bài viết cuối: 10-02-14, 12:18 PM
  3. [MU] Hỏi Cách Khắc Phục Lỗi Website Bị Google Chặn Web Có Mã độc
    Bởi Domino9990 trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 24
    Bài viết cuối: 25-05-13, 02:16 PM
  4. Buồn tình ngồi search google ra cái sv jx 8.0 share cho a e chơi
    Bởi quoctuan2712 trong diễn đàn Releases
    Trả lời: 33
    Bài viết cuối: 12-01-11, 09:04 AM
  5. Google gợi ý VL
    Bởi kakalot123456 trong diễn đàn CLB Gallery - Wallpapers
    Trả lời: 2
    Bài viết cuối: 19-07-10, 05:09 PM

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 07:47 PM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.