inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Apr 8, 2013 5:29:02 GMT -8
yeah no prob man just got back from a weekend at beach ill do it! check back in a hour or so
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Apr 13, 2013 12:28:38 GMT -8
Updated and tested for you These Next Two Codes are the Total of guests / staff / members combined that are OnlineUsers Online
|
---|
There Are 2 Users Online Now
or if 1 user
There is 1 User Online Now
|
<tr><td style="padding-left:10px;">There <script type="text/javascript"> var tmp=($[total_online]); if( tmp > 1 ){
document.write("Are " + tmp + " Users"); }else{ document.write("Is " + tmp + " User"); } </script> Online Now</td></tr>
Users Online in the Last 24 Hours
|
---|
There Were 210 Users Online In The Last 24 Hours
Or if 1 user
There Was 1 User Online In The Last 24 Hours
|
<tr><td style="padding-left:10px;">There <script type="text/javascript"> var tmp=($[total_online_24]); if( tmp > 1 ){ document.write("Were " + tmp + " Users"); }else{ document.write("Was " + tmp + " User"); } </script> Online In The Last 24 Hours</td></tr>
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Apr 14, 2013 1:55:50 GMT -8
tunescool are you still having this problem wit getting it to work with side bar? i was thinking since the <script> tags weren't working and now there's a template variable for it that i requested !!! and i have used IF statements for the text changes fingers crossed it should work with side bar now!!! Users Online
|
---|
There Are 2 Users Online Now
or if 1 user
There is 1 User Online Now
|
<tr><td style="padding-left:10px; padding-top:2px;">There {if $[total_online] > 1}Are $[total_online] Users{else}Is $[total_online] User{/if} Online Now</td></tr>
Users Online in the Last 24 Hours
|
---|
There Were 210 Users Online In The Last 24 Hours
Or if 1 user
There Was 1 User Online In The Last 24 Hours
|
<tr><td style="padding-left:10px; padding-top:2px;">There {if $[total_online_24] > 1}Were $[total_online_24] Users{else}Was $[total_online_24] User{/if} Online In The Last 24 Hours</td></tr>
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Apr 14, 2013 2:44:05 GMT -8
i seen that you reqested the variable but didnt see that is was working yet, thanks for telling me, i put them in. is the 24 hour rite, because [total_online_24] jst shows up
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Apr 14, 2013 2:53:45 GMT -8
tunescoolhard refresh my brain went crazy updating code i edited the last post!
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Apr 14, 2013 3:30:41 GMT -8
you forgot the "$" from "$[total_online_24]" i will pm you your new template code on your site! second
|
|