The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Using VB variables in custom php plugin possible?
I've got this plugin:
Code:
ob_start(); include('http://www.va-studios.com/forums/customphp/vigilance.php'); $vigilance = ob_get_contents(); ob_end_clean(); vB_Template::preRegister('postbit_legacy',array('vigilance' => $vigilance)); Is there any way to get the poster's ID in my vigilance.php file so that I can do a db query on it or can I not access VB variables even if I include the global.php file in my script? Simply stated, I need to do an sql query on the database for the user in the postbit_legacy and display the custom field I added in the database. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|