The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Invisible mode - where is it stored in the database?
I'm currently developing a plugin for MonkeyCMS (http://www.monkeycms.com) which allows integration with vBulletin. I want to grab the current active users from a vBulletin installation and while this is 90% working, I'm having trouble working out where the 'Invisible Mode' setting against each user is stored in the database.
Does anyone know where I need to grab this from? |
#2
|
||||
|
||||
It's stored in an options bitfield in the user table.
|
#3
|
|||
|
|||
All that appears to be in the options field is a random string of numbers for each user - how do I use that to determine whether they're invisible or not?!
|
#4
|
||||
|
||||
It's a bitfield so you have to 'and' the options value with the bit value for invisible
e.g. Code:
$invisible = $options & $vbulletin->bf_misc_useroptions['invisible']; if ($invisible) { do something; } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|