• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hướng dẫn fix lỗi không hiển thị số người online vbb

Admin

Well-Known Member
Staff member
Administrator
Demo:
1.png
Sửa:
Vào Admincp=>Style Manages=>Edit template=>Forumhome template=>FORUMHOME
tìm đoạn
PHP:
<!-- logged-in users -->

<!-- end logged-in users -->

Thay đoạn code đó bằng
PHP:
<!-- logged-in users --> 
<div id="wgo_onlineusers" class="wgo_subblock section">

<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
<div>
<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
<vb:if condition="$activeusers">
<ol class="commalist" id="wgo_onlineusers_list">
<vb:each from="activeusers" value="loggedin">
<li> {vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}</li>
</vb:each>
</ol>
</vb:if>
</div>
</div> 
<!-- end logged-in users -->
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top