Bạn ghé thăm diễn đàn lần đầu? hãy đăng ký ngay bây giờ để tham gia.
  • Đăng nhập:

Chào mừng bạn đến với ITVNN FORUM - Diễn đàn công nghệ thông tin.

Nếu đây là lần đầu tiên bạn tham gia diễn đàn, xin mời bạn xem phần Hỏi/Ðáp để biết cách dùng diễn đàn. Để có thể tham gia thảo luận bạn phải đăng ký làm thành viên, click vào đây để đăng ký.


  • Partner Area
    • ITVNN HOSTING - Thiết kế website, Cung cấp Domain, Hosting, VPS Việt Nam Anh Hùng - Thông tin truyền thông
kết quả từ 1 tới 1 trên 1
Tăng kích thước phông chữ Giảm kích thước phông chữ
  1. #1
    s0ct0j0c's Avatar
    Banned

    Trạng thái
    Offline
    Họ tên
    Kiều Sơn Lâm
    Tham gia ngày
    Jan 2011
    Thành viên thứ
    36613
    Đến từ
    TP.HCM
    Tuổi
    31
    Giới tính
    Bài gởi
    454
    Level: 41 [?]
    Experience: 2,194,544
    Next Level: 2,530,022
    Cảm ơn 91
    Cảm ơn 89 lần / 68 Bài viết

    Default Sidebar Advertisements  

    Im sure there is a easier way to do this, but im no coder and just made this on the fly.. therefore support will be limited to my basic understanding..
    This hack is simply html and tables. You will have to edit the image name for your advertisers.



    • upload contents of the upload folder to your xenforo root
    • Appearance / Templates / Create New Template..
    • Template Name: advertisements

    -------------------------------------------------------------------
    add:

    <div class="section">
    <div class="secondaryContent">
    <h3>Advertisements</h3>
    <table border="1" cellpadding="1" cellspacing="1" style="height: 230px; width: 230px;">
    <tbody>
    <tr>
    <td style="text-align: center;">
    <a href="http://your_advertisers_url.com" target="_blank"><img alt="" src="http://your-site.com/styles/default/xenforo/advertisements/advertise.jpg" /></a></td>
    <td style="text-align: center;">
    <a href="http://your_advertisers_url.com" target="_blank"><img alt="" src="http://your-site.com/styles/default/xenforo/advertisements/advertise.jpg" /></a></td>
    </tr>
    <tr>
    <td style="text-align: center;">
    <a href="http://your_advertisers_url.com" target="_blank"><img alt="" src="http://your-site.com/styles/default/xenforo/advertisements/advertise.jpg" /></a></td>
    <td style="text-align: center;">
    <a href="http://your_advertisers_url.com" target="_blank"><img alt="" src="http://your-site.com/styles/default/xenforo/advertisements/advertise.jpg" /></a></td>
    </tr>
    </tbody>
    </table>
    <br /> </div>
    </div>

    ------------------------------------------------------------------

    • Open forum_list template and add..

    PHP Code: 
            <xen:include template="advertisements" /> 






    The images are 115 x 115px and will need to be added as you ad actual advertisements, as well as the names of the new images in the file path.

    Hopefully i haven't forgot anything.

    Change Log:
    V1.00 released 2-15-2011


    orginal thread

    http://xenforo.com/community/threads...7/#post-185778
    File Kèm Theo File Kèm Theo


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trả lời: 5
    Bài mới gởi: 19-12-2011, 08:35 PM
  2. Thống kê ở sidebar giống trang này
    By VNSAF in forum Hỏi đáp & Thảo luận
    Trả lời: 2
    Bài mới gởi: 22-09-2011, 11:58 PM
  3. Hỏi về mod EveryWhere Sidebar
    By se7en01 in forum Hỏi đáp & Thảo luận
    Trả lời: 1
    Bài mới gởi: 19-03-2010, 01:09 PM
  4. Everywhere Sidebar 4 vB4
    By admin in forum v4.x Modifications
    Trả lời: 0
    Bài mới gởi: 06-02-2010, 10:50 AM
  5. Everywhere Sidebar 4 vB4
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 06-02-2010, 10:50 AM

Tags for this Thread

Bookmarks

Quuyền Hạn Của Bạn

  • Bạn không thể tạo chủ đề mới
  • Bạn không thể trả lời bài viết
  • Bạn không thể gửi file đính kèm
  • Bạn không thể chỉnh sửa bài viết
  •