The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Hello. I am trying to understand the new plugin system and any help will be greatly appreciated.
For my first plugin I wanted to take something I had in the php_start template. The only purpose of this is to query the db and return the first username where field9 in the userfield table is 'Yes', and then do the same for field10. In my php_start my code was: PHP Code:
So to change this to a plugin I would need to make this something like: PHP Code:
Is $DB_site->query still valid? Also, will this method of setting the vars then referencing them in the templates still work? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|