inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Mar 22, 2013 7:04:01 GMT -8
$[total_members_online_24] $[total_staff_online_24] $[total_guests_online_24] IS there a $[####]code where it supplies a TOTAL of ALL users in past 24 hours? $[total_members_online] $[total_staff_online] $[total_guests_online] and a Total of Users Online (live) does a such code exist here? for example It could be $[total_users_online] $[total_users_online_24] if it doesnt it should ? iv used a script to add all these values together like so <script type="text/javascript"> document.write(($[total_guests_online_24]+$[total_staff_online_24])+$[total_members_online_24]);</script> User Online In The Last 24 Hours Ultimately i want "User" to be "Users" if its 1 or more. but i cant get the {if} statement to work along with the script as it creates dynamic code not displayed in view source {if $[total_guests_online_24]$[total_staff_online_24])$[total_members_online_24])!= 1}s{/if} im not suprised this doesnt work so im turning to you for a alternative. <script type="text/javascript"> document.write(($[total_guests_online_24]+$[total_staff_online_24])+$[total_members_online_24]);</script> User{if $[total_guests_online_24]$[total_staff_online_24])$[total_members_online_24])!= 1}s{/if} Online In The Last 24 Hours
|
|