FontAwesome Icons trong Visitor Tab và Account Wrapper (Add-on bên thứ 3)

PVS

Super Moderator
Thành viên BQT
Tham gia
28/02/2015
Bài viết
16,829
Được Like
12,687
FontAwesome Icons trong Visitor Tab và Account Wrapper (Add-on bên thứ 3)

1. Vào template PAGE_CONTAINER và thêm code này trong <head>
Mã:
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">

Bookmarks by Syndol:
Vào bookmarks_navigation_visitor_tab_links2 và thay thế tất cả mọi thứ với:
Mã:
<li><a href="{xen:link account/bookmarks}"><i class="icon-bookmark icon-large" style="padding-right:6px;"></i>{xen:phrase bookmarks_your_bookmarks}</a></li>

Vào bookmarks_account_wrapper_sidebar_your_account và thay thế tất cả mọi thứ với:
Mã:
<li>
<a class="{xen:if "{$selectedKey} == 'account/bookmarks'", 'secondaryContent', 'primaryContent'}"
href="{xen:link account/bookmarks}"><i class="icon-bookmark icon-large  icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase bookmarks_bookmarks}</a>
</li>

Conversation Essentials by Syndol:
Vào convess_account_wrapper_sidebar_groups và thay thế tất cả mọi thứ với:
Mã:
<li>
    <a class="{xen:if "{$selectedKey} == 'account/conversation-groups'", 'secondaryContent', 'primaryContent'}" href="{xen:link account/conversation-groups}"><i class="icon-group icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase convess_participant_groups}</a>
</li>

Vào convess_account_wrapper_sidebar_response và thay thế tất cả mọi thứ với:
Mã:
<li>
<a class="{xen:if "{$selectedKey} == 'account/conversation-auto-response'", 'secondaryContent', 'primaryContent'}" href="{xen:link account/conversation-auto-response}"><i class="icon-mail-reply icon-large  icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase convess_auto_response}</a>
</li>

Vào convess_account_wrapper_sidebar_prefixes và thay thế tất cả mọi thứ với:

Mã:
<li>
<a class="{xen:if "{$selectedKey} == 'account/conversation-prefixes'", 'secondaryContent', 'primaryContent'}" href="{xen:link account/conversation-prefixes}"><i class="icon-folder-close icon-large  icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase convess_prefixes}</a>
</li>

Social Network Authentication by Guiltar
Vào template modifications (TMS Required), và click social_navigation_visitor_tab_link. Đến "Replace:" và thay thế tất cả mọi thứ trong đó với:
Mã:
$0
<xen:if is="{$xenOptions.twitterConsumerKey}"><li><a href="{xen:link account/twitter}"><i class="icon-twitter icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase social_twitter_integration}</a></li></xen:if>
<xen:if is="{$xenOptions.vkAppId}"><li><a href="{xen:link account/vk}">{xen:phrase social_vk_integration}</a></li></xen:if>
<xen:if is="{$xenOptions.googleAppId}"><li><a href="{xen:link account/google}"><i class="icon-google-plus icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase social_google_integration}</a></li></xen:if>

Vào template modifications (TMS Required), và click social_account_wrapper_sidebar_settings. Đến "Replace:" và thay thế tất cả mọi thứ trong đó với:
Mã:
$0
<xen:if is="{$xenOptions.twitterConsumerKey}"><li><a
    class="{xen:if "{$selectedKey} == 'account/twitter'", 'secondaryContent', 'primaryContent'}"
    href="{xen:link account/twitter}"><i class="icon-twitter icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase social_twitter_integration}</a></li></xen:if>
<xen:if is="{$xenOptions.vkAppId}"><li><a
    class="{xen:if "{$selectedKey} == 'account/vk'", 'secondaryContent', 'primaryContent'}"
    href="{xen:link account/vk}">{xen:phrase social_vk_integration}</a></li></xen:if>
<xen:if is="{$xenOptions.googleAppId}"><li><a
    class="{xen:if "{$selectedKey} == 'account/google'", 'secondaryContent', 'primaryContent'}"
    href="{xen:link account/google}"><i class="icon-google-plus icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase social_google_integration}</a></li></xen:if>

xFCheck by Mythotical
Vào xfcheck_account_wrapper_sidebar_your_account và thay thế tất cả mọi thứ với:
Mã:
<li>
  <a class="{xen:if "{$selectedKey} == 'account/validation'", 'secondaryContent', 'primaryContent'}"
  href="{xen:link account/validation}"><i class="icon-ok icon-large icon-fixed-width" style="padding-right:7px;"></i>XenForo License Validation</a>
</li>

xfUser+ by Mythotical
Vào xfuserplus_account_wrapper_sidebar_your_account và thay thế tất cả mọi thứ với:
Mã:
<li>
    <a class="{xen:if "{$selectedKey} == 'account/shop'", 'secondaryContent', 'primaryContent'}"
    href="{xen:link account/shop}"><i class="icon-shopping-cart icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase xshop_my_items}</a>
</li>

Post Ratings by Luke Foreman
Vào dark_postrating_navigation_visitor_tab và thay thế tất cả mọi thứ với:
Mã:
<li><a href="{xen:link account/ratings-received}"><i class="icon-thumbs-up icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase dark_ratings_received}</a></li>
<li><a href="{xen:link account/ratings-given}"><i class="icon-magic icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase dark_ratings_given}</a></li>

Vào dark_postrating_account_wrapper và thay thế tất cả mọi thứ với:
Mã:
<li><a class="{xen:if "{$selectedKey} == 'alerts/ratingsReceived'", 'secondaryContent', 'primaryContent'}" href="{xen:link account/ratings-received}"><i class="icon-thumbs-up icon-large icon-fixed-width" style="padding-right:7px; color:white"></i>{xen:phrase dark_ratings_youve_received}</a></li>
<li><a class="{xen:if "{$selectedKey} == 'alerts/ratingsGiven'", 'secondaryContent', 'primaryContent'}" href="{xen:link account/ratings-given}"><i class="icon-magic icon-large icon-fixed-width" style="padding-right:7px; color:white"></i>{xen:phrase dark_ratings_youve_given}</a></li>

XenUtiles by Jaxel
Vào EWRutiles_AccountUsername_Wrapper và thay thế tất cả mọi thứ với:
Mã:
<li><a
    class="{xen:if "{$selectedKey} == 'account/username'", 'secondaryContent', 'primaryContent'}"
    href="{xen:link account/username}"><i class="icon-edit icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase user_name}</a></li>

Steam Integration by HowlChrgeLazer
Vì không có một biểu tượng steam cho FontAwesome tôi phải làm điều này một cách khó khăn.

Tải về và tải lên thư mục gốc của bạn: https://www.dropbox.com/s/bo0b08kve9p7h0x/icon-steam.zip

Vào steam_navigation_visitor_tab_link và thay thế tất cả mọi thứ với:
Mã:
<!--[if IE 7]>
<link rel="stylesheet" href="styles/fontello/css/fontello-ie7.css"><![endif]-->
<link rel="stylesheet" href="styles/fontello/css/fontello.css">
<link rel="stylesheet" href="styles/fontello/css/animation.css">
<li><a href="{xen:link account/steam}"><i class="icon-steam icons-large icons-fixed-width" style="padding-right:7px;"></i>{xen:phrase steam_integration}</a></li>

Vào steam_account_wrapper_sidebar_settings và thay thế tất cả mọi thứ với:
Mã:
<!--[if IE 7]>
<link rel="stylesheet" href="styles/fontello/css/fontello-ie7.css"><![endif]-->
<link rel="stylesheet" href="styles/fontello/css/fontello.css">
<link rel="stylesheet" href="styles/fontello/css/animation.css">
<li><a
    class="{xen:if "{$selectedKey} == 'account/steam'", 'secondaryContent', 'primaryContent'}"
    href="{xen:link account/steam}"><i class="icons-steam icons-large  icons-fixed-width" style="padding-right:7px;"></i>{xen:phrase steam_integration}</a></li>

[XI] License Validation by King Kovifor
Vào xi_licensevalidation_sidebar và thay thế tất cả mọi thứ với:
Mã:
<li><a class="{xen:if "{$selectedKey} == 'account/license'", 'secondaryContent', 'primaryContent'}" href="{xen:link license}"><i class="icon-ok icon-large icon-fixed-width" style="padding-right:7px;"></i>{xen:phrase xi_licensevalidation_title}</a></li>

Chúc các bạn thành công.


Nguồn: xenforo.com​
 
  • Like
Reactions: THB

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

Mobile/Zalo: 0906081284

Telegram: anhanhxf

Chỉ nhận web nội dung lành mạnh

Nhà Tài Trợ

Mút Xốp Không Gian
Mút Sofa Không Gian
Top Bottom