Artur1339
Member
Hey,
I am currently working on my own payment gate for Xenforo which can process Coinpayments transactions.
The thing is I am nearly done, I was rebuilding the manuel user upgrade routine and then I found this doc online : http://fabrikar.com/forums/docs/classes/XenForo_Model_UserUpgrade.html
There I found this methode :
	
	
	
		
Is this the methode Xenforo calls when I manuelly upgrade a user there ?
	
	
	
		
If so how I can acces this class in my own php, which is a standalone file ( not an xenforo addon )
Regards Artur
				
			I am currently working on my own payment gate for Xenforo which can process Coinpayments transactions.
The thing is I am nearly done, I was rebuilding the manuel user upgrade routine and then I found this doc online : http://fabrikar.com/forums/docs/classes/XenForo_Model_UserUpgrade.html
There I found this methode :
		Code:
	
	Upgrades the user with the speciUfied upgrade.
upgradeUser(integer $userId, array $upgrade, boolean $allowInsertUnpurchasable, integer | null $endDate) : integer | falseIs this the methode Xenforo calls when I manuelly upgrade a user there ?
		Code:
	
	Users->User Upgrades->Manually Upgrade User
XenForo_ControllerAdmin_UserUpgrade::actionManual; XenForo_ViewAdmin_UserUpgrade_ManualIf so how I can acces this class in my own php, which is a standalone file ( not an xenforo addon )
Regards Artur
 
 
		
 
 
		 
 
		 
 
		