New Post Indicators
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

Chủ đề: New Post Indicators

  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 New Post Indicators

    This has been tested to work in 5.0.0 and 5.0.1.

    How to install Unread Icons for vBulletin 5.0.1

    If you wish to use the full icon overlay:
    Step 1: Adding CSS
    Add the following to css_additional.css
    Code:
    PHP Code:
    .z-unread-icon {
    floatright;
    margin-top: -45px;
    positionrelative;
    right75px;
    top52px;
    z-index1;

    Step 2: Adding Code
    Find the following code in display_contenttype_conversationreply_threadview_T ext template
    Code:
    PHP Code:
    {vb:set postStatus''
    Right after this line, add on its own line

    Code:
    PHP Code:
    <vb:if condition="$user['lastvisit'] <= $conversation['created']"><div class="z-unread-icon"><img src="{vb:raw vboptions.bburl}/.././images/custom/unread-whatchamajigger4.png" alt="New since your last visit" title="New since your last visit" /></div></vb:if> 
    If you wish to use the icon in the background of the post instead of the overlay

    Step 1: Adding CSS
    Add the following to css_additional.css
    Code:
    PHP Code:
    .z-unread-bg-icon {
    background-imageurl({vb:raw vboptions.bburl}/.././images/custom/unread-background-majigger.png);
    background-positiontop right;
    background-repeatno-repeat;

    Step 2: Adding Code
    Find the following in display_contenttype_conversationreply_threadview_T ext
    Code:
    PHP Code:
    <div class="list-item-body conversation-body"
    Change it too
    Code:
    PHP Code:
    <div class="list-item-body conversation-body <vb:if condition="$user['lastvisit'] <= $conversation['created']">z-unread-bg-icon</vb:if>"
    If you wish to use the “Spartan” style

    Step 1: Adding CSS
    Add the following to css_additional.css
    Code:
    PHP Code:
    .z-unread-bg-spartan {
    background-imageurl({vb:raw vboptions.bburl}/.././images/custom/unread-spartan-majigger.png);
    background-positiontop right;
    background-repeatno-repeat;

    Step 2: Adding the code
    Find the following in display_contenttype_conversationreply_threadview_T ext
    Code:
    PHP Code:
    <div class="list-item-body conversation-body"
    Change it too
    Code:
    PHP Code:
    <div class="list-item-body conversation-body <vb:if condition="$user['lastvisit'] <= $conversation['created']">z-unread-bg-spartan</vb:if>"
    You need to also upload the icon you want to the images/custom folder
    Hình Kèm Theo Hình Kèm Theo
    File Kèm Theo File 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. Remove Report Post Icon if Post Reported Already by BOP5
    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, 10:30 AM

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à 03:09 AM.
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ệ.