The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|
|
#2
|
|||
|
|||
|
^ *bump* ^
|
|
#3
|
|||
|
|||
|
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>"; |
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
my typo...fixed now and it does work...I am working on some other code and just through it together quickly...
|
|
#6
|
|||
|
|||
|
I get 0 as the figure if i try that
|
|
#7
|
|||
|
|||
|
Damn...still not paying close enough attention...try this:
$totalonline= $regmember+$guestson; here it is.... |
|
#8
|
|||
|
|||
|
still no luck
Don't I have to do another sql query to retrieve the actual number of members? |
|
#9
|
|||
|
|||
|
Change this:
$totalonline= $regmember+$guestson; to this: $totalonline= $regmemberbr+$guestson; |
|
#10
|
|||
|
|||
|
Quote:
Thats the one ![]() Many many thanks |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|