Jump to content

TCAdmin Advanced module


frbnet

Recommended Posts

if($params["configoption3"] == 'some id for game1'){
/* Do the follwing task */
$id = 'TC12231212';
} else
if($params["configoption3"] == 'some id for game2'){
/* Do the follwing task */
$id = 'TC12231213';
}

$billing_api_values["game_id"] = $id;

 

This is just a very small example of what you can do.

 

If you want to have a game id with slots you can have a separator like '@' and use the php explode function to gather the information you need.

 

for example for the drop down in WHMCS Admin you have the id@slots|client sees this.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use