I am trying to use the paidsub_build and paidsub_delete hooks to run a function however I can not seem to get it to work. I think that I am not getting the userid the correct way below is what I have tried:
PHP Code:
global $vbulletin;
require_once('./global.php');
function($user['userid']);
PHP Code:
global $vbulletin;
require_once('./global.php');
function($user[userid]);
PHP Code:
function($user[userid]);
PHP Code:
function($user['userid']);
PHP Code:
function($userid);
PHP Code:
global $vbulletin;
require_once('./global.php');
function($userid);
PHP Code:
global $vbulletin;
require_once('./global.php');
function(paymentinfo['userid']);
What am I doing wrong here?