mirror of
https://github.com/The-Network-Crew/Proxmox-VE-for-WHMCS.git
synced 2026-04-11 15:18:39 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1718d17e5a | ||
|
|
f1e701ac02 | ||
|
|
5d97d34ab1 | ||
|
|
5624ef1bac | ||
|
|
a6e98b75a9 | ||
|
|
4af6008317 |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
BIN
modules/servers/pvewhmcs/img/logo.png
Normal file
BIN
modules/servers/pvewhmcs/img/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 51 KiB |
@@ -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
|
||||
|
||||
24
modules/servers/pvewhmcs/whmcs.json
Normal file
24
modules/servers/pvewhmcs/whmcs.json
Normal 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
BIN
pvewhmcs-v1-2-13.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user