![]() |
So very nearly there. I have managed to get the online users on a non VB page thing working well, heres what it looks like
However the code doesn't show the total online users figure $totalonline Can anyone help me with that code? Heres the code sofar PHP Code:
|
^ *bump* ^
|
Why don't you just add this above your print :
$totalonline= $onlinemembers+$onlineguests; $total= "Total Online: $totalonline"; and change the print line to this: print "<font size=\"1\">$total $onlinemembers $onlineguests</font>"; |
Quote:
|
my typo...fixed now and it does work...I am working on some other code and just through it together quickly...
|
I get 0 as the figure if i try that
|
Damn...still not paying close enough attention...try this:
$totalonline= $regmember+$guestson; here it is.... |
still no luck
Don't I have to do another sql query to retrieve the actual number of members? |
Change this:
$totalonline= $regmember+$guestson; to this: $totalonline= $regmemberbr+$guestson; |
Quote:
Thats the one :) Many many thanks |
All times are GMT. The time now is 07:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|