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,206,419
    Next Level: 2,530,022
    Cảm ơn 91
    Cảm ơn 89 lần / 68 Bài viết

    Default Animated Avatars in threads  

    This is a simple template edit that allows animated avatars to show in posts. You have two options here:

    1. Forces the size of all avatars to be 96x96
    2. Allow avatars to use their aspect ration.

    Forced 96x96 edit: Open template message_user_info

    Find
    PHP Code: 
          <xen:avatar user="$usersize="m" /> 
    Replace with

    PHP Code: 
          <class="username avatar Av{$user.user_id}l" href="{xen:link members, $user}">
    <
    img src="{xen:helper avatar, $user, l, 'true'}" alt="{$user.username}height="96px" width="96px" itemprop="photo" />
    </
    a
    Aspect ration edit: Open template message_user_info

    Find

    PHP Code: 
          <xen:avatar user="$usersize="m" /> 
    Replace with

    PHP Code: 
          <class="username avatar Av{$user.user_id}l" href="{xen:link members, $user}">
    <
    img src="{xen:helper avatar, $user, l, 'true'}" alt="{$user.username}style="max-height:96px;max-width:96px;" itemprop="photo" />
    </
    a
    Edit: Working on the URL for the avatar to profile. Anyone know the code for this?
    Edit: Complete.
    Edit: Updated added username to the class in the url. Remove this if you do not want the profile card popping up and you just want a direct link to the profile page.

    source thread : http://xenforo.com/community/threads...threads.14807/


 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dramatar Avatars! The More Dramatic, Dynamic Avatar
    By admin in forum v4.x Modifications
    Trả lời: 0
    Bài mới gởi: 09-09-2011, 09:02 AM
  2. User Avatars In Thread Listing
    By Dunglx in forum v4.x Modifications
    Trả lời: 0
    Bài mới gởi: 16-08-2011, 11:16 PM
  3. Không hiện avatars
    By cidata in forum Hỏi đáp & Thảo luận
    Trả lời: 2
    Bài mới gởi: 29-09-2009, 06:40 PM
  4. Threads Limiter - Limit threads posted by user in X hours
    By admin in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 27-09-2009, 08:50 PM
  5. Living Avatars
    By thanhdia in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 23-09-2009, 08:19 PM

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
  •