Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Add Full Meridian Function to Myweb

Junior Spellweaver
Joined
Nov 18, 2012
Messages
133
Reaction score
23
PHP:
$api = My::app()->getApi();
$role = CAuth::selectedRoleId();
$roleData = $api->getRole($role);

if ($roleData['status']['meridian_data'] != '0000005000000000000000000000000500000064000000000000000100000000000000000000000000000000000000000000000000000000'){
	
	$roleData['status']['meridian_data'] = '0000005000000000000000000000000500000064000000000000000100000000000000000000000000000000000000000000000000000000';

	if($api->putRole($role, $roleData)) {
		echo 'success';
	}else {
		echo 'system error';
	}
}

This is just a idea the way add it as an addon to MyWeb Panel.
If you have any question let me know.
 
Joined
Apr 2, 2009
Messages
1,056
Reaction score
210
PHP:
$api = My::app()->getApi();
$role = CAuth::selectedRoleId();
$roleData = $api->getRole($role);

if ($roleData['status']['meridian_data'] != '0000005000000000000000000000000500000064000000000000000100000000000000000000000000000000000000000000000000000000'){
	
	$roleData['status']['meridian_data'] = '0000005000000000000000000000000500000064000000000000000100000000000000000000000000000000000000000000000000000000';

	if($api->putRole($role, $roleData)) {
		echo 'success';
	}else {
		echo 'system error';
	}
}

This is just a idea the way add it as an addon to MyWeb Panel.
If you have any question let me know.
thanks
 
Initiate Mage
Joined
Dec 26, 2019
Messages
1
Reaction score
0
help

what do you mean?
How do I add it to my administration or user panel?



bhashana - Add Full Meridian Function to Myweb - RaGEZONE Forums


















 
Back
Top