The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#6
|
||||
|
||||
![]()
You'll have to figure out which hook location to use based on where you are using this code (if you are making a plugin) or if you are showing/not showing some info based on the codition, you will have to figure out which template (To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source). You never said where you are using this, so I can't offer advice. When in debug mode, you can see a list of all the plugins used on the page on the bottom of the page as well as all the templates.
And you use $vbulletin->userinfo in that particular function. That function, is_member_of, is also in the API. You can go see what variables are accepted in there and that passing the userinfo is an OK thing (the userinfo contains the usergroup for the user). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|