Code hoặc hướng dẫn này được sử dụng trên phiên bản Xenforo cũ đã quá hạn sử dụng. Bạn hãy
click để tìm bản mới hơn
Staff link in members tab drop-down list - Liên kết Staff trong danh sách thả xuống của tab Member
Bạn có thể dùng add-on để cài đặt hoặc tự làm thủ công theo hướng dẫn sau đây.
Đến template navigation và tìm đoạn code sau:
Và thêm những điều sau đây trước dòng mã này (Rõ ràng là nó không có được trước dòng mã này)
Kết quả:
Chúc các bạn thành công.
Bạn có thể dùng add-on để cài đặt hoặc tự làm thủ công theo hướng dẫn sau đây.
Đến template navigation và tìm đoạn code sau:
Mã:
<xen:hook name="navigation_tabs_members">
<li><a href="{xen:link members}"><i class="fa fa-star" style="padding-right: 3px;"></i>{xen:phrase notable_members}</a></li>
<xen:if is="{$xenOptions.enableMemberList}"><li><a href="{xen:link members/list}"><i class="fa fa-group" style="padding-right: 3px;"></i>{xen:phrase registered_members}</a></li></xen:if>
<li><a href="{xen:link online}"><i class="fa fa-eye" style="padding-right: 3px;"></i>{xen:phrase current_visitors}</a></li>
<xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}"><i class="fa fa-fire" style="padding-right: 3px;"></i>{xen:phrase recent_activity}</a></li></xen:if>
<xen:if is="{$canViewProfilePosts}"><li><a href="{xen:link find-new/profile-posts}"><i class="fa fa-pencil-square-o" style="padding-right: 3px;"></i>{xen:phrase new_profile_posts}</a></li></xen:if>
</xen:hook>
</ul>
Và thêm những điều sau đây trước dòng mã này (Rõ ràng là nó không có được trước dòng mã này)
Mã:
<xen:if is="{$canViewProfilePosts}"><li><a href="{xen:link find-new/profile-posts}">{xen:phrase new_profile_posts}</a></li></xen:if>
Kết quả:
Mã:
<li><a href="{xen:link members}">{xen:phrase notable_members}</a></li>
<xen:if is="{$xenOptions.enableMemberList}"><li><a href="{xen:link members/list}">{xen:phrase registered_members}</a></li></xen:if>
<li><a href="{xen:link online}">{xen:phrase current_visitors}</a></li>
<xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>
<li><a href="{xen:link members, '', 'type=staff'}">Staff Members</a>
<xen:if is="{$canViewProfilePosts}"><li><a href="{xen:link find-new/profile-posts}">{xen:phrase new_profile_posts}</a></li></xen:if>
</xen:hook>
</ul>
Chúc các bạn thành công.
Nguồn: xenforo.com
Bài viết liên quan
Bài viết mới
Bị lỗi data
bởi bloghocpiano,