Back to vBulletin 4.x Template Modifications

Members online status
Mod Version: 1.00, by Replicant

vB Version: 4.2.2 Rating: (0 vote - 0 average) Installs: 6
Released: 12 Feb 2015 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

This template edit will show if any members are logged in or not by displaying the online status in red for offline or green for online.





Edit the phrase "currently_active_users" and change to "[Your Forum Name] Members"

Create new phrases "online_now" value="ONLINE NOW!"
and "offline_now" value= "OFFLINE"
or whatever you want displayed

Find and change in template FORUMHOME :
Code:
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />
To:
Code:
<span class="blocksubhead">{vb:rawphrase currently_active_users}  -</span>
    <vb:if condition="$numberregistered > 0">
        <span class=members_online>{vb:phrase online_now}</span>
    <vb:else />
        <span class=members_offline>{vb:phrase offline_now}</span>
    </vb:if>
and in additional.css

Code:
.members_online {
color: lime;
font-style: italic;
font-weight: bolder;
}
.members_offline {
color: red;
font-style: italic;
font-weight: bolder;
}

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024