6 Commits

Author SHA1 Message Date
Luke S Thompson
1718d17e5a POST to GET request (#152) 2025-08-13 15:51:07 +10:00
Luke S Thompson
f1e701ac02 Remove trailing / (#152) 2025-08-13 15:48:01 +10:00
Luke S Thompson
5d97d34ab1 v1.2.13 (#151 and #152) 2025-08-13 15:38:11 +10:00
Luke S Thompson
5624ef1bac Change to standardised button (#152) 2025-08-13 15:29:32 +10:00
Luke S Thompson
a6e98b75a9 PVE AdminLink (GUI) fix #152 2025-08-13 15:23:24 +10:00
Luke S Thompson
4af6008317 whmcs.json file/logo; conn. test name (fix #151) 2025-08-13 13:37:21 +10:00
7 changed files with 64 additions and 4 deletions

View File

@@ -8,6 +8,13 @@ All notable changes to Proxmox VE for WHMCS will be documented in this file.
https://github.com/The-Network-Crew/Proxmox-VE-for-WHMCS/milestones
## [1.2.13] - 2025-08-13 - _"Little Things"_
### 💅 Polish
- Connection Test: Module shows as "Proxmox VE for WHMCS" (#151)
- Apps/Integrations: Now shown with logo & some info (whmcs.json)
- WHMCS Admin > Servers: Added a PVE GUI link for each node (#152)
## [1.2.12] - 2025-08-12 - _"Adjustments"_
### 🚀 Feature

View File

@@ -36,7 +36,7 @@ function pvewhmcs_config() {
$configarray = array(
"name" => "Proxmox VE for WHMCS",
"description" => "Proxmox VE (Virtual Environment) & WHMCS, integrated & open-source! Provisioning & Management of VMs/CTs.".is_pvewhmcs_outdated(),
"version" => "1.2.12",
"version" => "1.2.13",
"author" => "The Network Crew Pty Ltd",
'language' => 'English'
);
@@ -45,7 +45,7 @@ function pvewhmcs_config() {
// VERSION: also stored in repo/version (for update-available checker)
function pvewhmcs_version(){
return "1.2.12";
return "1.2.13";
}
// WHMCS MODULE: ACTIVATION of the ADDON MODULE
@@ -531,7 +531,7 @@ function pvewhmcs_output($vars) {
</td>
</tr>
<tr>
<td class="fieldlabel">Debug Mode?</td>
<td class="fieldlabel">Debugging?</td>
<td class="fieldarea">
<label class="checkbox-inline">
<input type="checkbox" name="debug_mode" value="1" '. ($config->debug_mode=="1" ? "checked" : "").'> Whether or not you want Debug Logging enabled - must also enable WHMCS Module Log (WHMCS debug) via /admin/logs/module-log

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -34,6 +34,35 @@ use Illuminate\Database\Capsule\Manager as Capsule;
// Prepare to source Guest type
global $guest;
// Fix the Server Test showing "Pvewhmcs" instead of pretty name
// ref: https://developers.whmcs.com/provisioning-modules/meta-data-params/
function pvewhmcs_MetaData() {
return array(
'DisplayName' => 'Proxmox VE for WHMCS',
'APIVersion' => '1.1',
);
}
/**
* AdminLink: show a direct link to the Proxmox UI on :8006.
* Falls back to server IP if hostname is empty.
*/
function pvewhmcs_AdminLink(array $params)
{
$host = $params['serverhostname'] ?: $params['serverip'];
if (!$host) {
// Nothing to link to return the module page as a safe fallback
return '<a href="addonmodules.php?module=pvewhmcs">Module Config</a>';
}
$url = 'https://' . $host . ':8006';
$text = 'PVE: ' . htmlspecialchars($host, ENT_QUOTES, 'UTF-8');
return '<form action="' . htmlspecialchars($url, ENT_QUOTES, 'UTF-8') . '" method="get" target="_blank">
<input type="submit" value="' . $text . '" class="btn btn-sm btn-default" />
</form>';
}
// WHMCS CONFIG > SERVICES/PRODUCTS > Their Service > Tab #3 (Plan/Pool)
function pvewhmcs_ConfigOptions() {
// Retrieve PVE for WHMCS Cluster

View File

@@ -0,0 +1,24 @@
{
"schema": "1.0",
"type": "whmcs-servers",
"name": "pvewhmcs",
"license": "open-source",
"category": "provisioning",
"description": {
"name": "Proxmox VE for WHMCS",
"tagline": "Seamless integration of Proxmox VE (PVE) VMs & CTs with WHMCS.",
"long": ""
},
"logo": {
"filename": "img/logo.png"
},
"support": {
"docs_url": "https://github.com/The-Network-Crew/Proxmox-VE-for-WHMCS"
},
"authors": [
{
"name": "The Network Crew Pty Ltd",
"homepage": "https:\/\/tnc.works\/"
}
]
}

BIN
pvewhmcs-v1-2-13.zip Normal file

Binary file not shown.

View File

@@ -1 +1 @@
1.2.12
1.2.13