The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Variables Questions
What is the variable that calls the total number of guests and members currently online (if there is one)? I see one for each but not both. If there isn't one, how do I go about making one?
Also, I am trying to find the variable that is used to show the number of posts and threads since you last visited. What variables handle this or is it a hack? Thanks in advance. JakeC |
#2
|
||||
|
||||
Guests online - $numberguest
Members online - $numberregistered That total posts since last visit etc. is a mod, so you'll need to install it before the variables can be used |
#3
|
|||
|
|||
I reread my post just now and it did not get across what I really wanted to know. Is there a total users online? What I mean is if there are 12 guests and 12 members online, I would like it to say 24 users online. Is there a way to combine the two?
Thanks for the information on the mod, I'll head over to the dark side and grab it. Another quick question, is there a list floating around with all of the standard vB variables and what they correspond to? Someone must have compiled one by now I would think. If not, maybe I should compile one and post it. Thanks. JakeC |
#4
|
|||
|
|||
One other problem is that some of the Variables will show up and some will not. The table I am creating is in the welcometext template. The $unreadpm, $newusername, and the $allpm work fine but the $activeusers, and the $recordusers will not show up. Is this a parsing (not sure what that is) issue? Any advice would be very much appreciated.
JakeC |
#5
|
||||
|
||||
i believe the variable you are lookig for is $onlineuser(s) - not sure if there is an "s"
im not sure about your other problem...ill take a look |
#6
|
||||
|
||||
Maybe because those variables only work in the Who's online templates.
|
#7
|
||||
|
||||
is that true...or are you asking that??
|
#8
|
||||
|
||||
It's true.
|
#9
|
|||
|
|||
aha, so how do I get them to work, or do I need to go to vbulletin.org?
JakeC |
#10
|
|||
|
|||
If a variable doesn't show up then it's probably not in scope when that template is eval'ed, in which case you usually need a hack.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|