whmcs | WHMCS Module for Pterodactyl | Theme library
kandi X-RAY | whmcs Summary
kandi X-RAY | whmcs Summary
WHMCS Module for the Pterodactyl Panel.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of whmcs
whmcs Key Features
whmcs Examples and Code Snippets
Community Discussions
Trending Discussions on whmcs
QUESTION
I need to load WHMCS custom page without .php extension but it returns 404. URL friendly rules are set on htaccess as default. but they only apply for basic pages. the last solution would be to set custom rules on htaccess for specific URLs to load without the .php extension.
...ANSWER
Answered 2021-Oct-19 at 10:55ended up setting custom rules on htaccess for each custom page to also load without the .php extension.
QUESTION
I'm coding a tool to get Whois info, and I need to use the WHMCS API for it.
This is the code they provide:
...ANSWER
Answered 2021-Oct-11 at 06:34What library should I use
requests
is popular python
module for working with HTTP(S) requests, note however that it is external module and needs to be installed as follows
QUESTION
i want restrict two page for if user want to see this page, redirect to login page.
I create hook file (includes/hooks/disao.php) with this code
...ANSWER
Answered 2021-Feb-26 at 07:49The hook's $vars
array parameter has loggedin
key to check if the current user is logged in, code updated:
QUESTION
I'm developing a Swift app to interact with my WHMCS API software currently running in a production server. But I'm facing this debug error message when trying to catch and perform the json decoding:
...ANSWER
Answered 2020-Aug-10 at 11:40It is highly likely that you have defined a userid
property in your PostData
model like that:
QUESTION
In WHMCS; I've installed the custom payment module: EasyPaisa works by collecting the payment information and then returning back to the site after successful/unsuccessful transaction. as soon as customer attempt to pay; WHMCS Payment module adds the following lines in the log file; but as such payment module works without issues.
...ANSWER
Answered 2020-Aug-01 at 16:21This will be occurring because the developers of this module have left some logActivity();
lines in place during the workflow these are created.
To resolve this, you simply need to look for any logActivity
lines in the module code (If the source is unencoded) - Otherwise, reach out to the module developer and have them remove those lines.
Those lines look like they should only have been in place for debugging purposes and should not be present in a production version. Instead, you may wish to recommend to the module developers that they utilise the logTransaction
functionality instead if these lines must be logged.
QUESTION
This is my code from WHMCS Client Area Dashboard.
...ANSWER
Answered 2020-May-25 at 09:59You can use data attribute for selector $('.dropdown-menu span[data-value="Active"]')
.
QUESTION
I would like to create a WHMCS custom page and then include a designated article in this page, is this possible?
I've created custom pages by official documents, but I don't know how to include articles.
Any help, thanks in advance!
...ANSWER
Answered 2020-May-11 at 13:39- You must make join between :
tblknowledgebase , tblknowledgebasecats , tblknowledgebaselinks , tblknowledgebasetags
. - See :https://developers.whmcs.com/advanced/db-interaction/
your Template :
QUESTION
I am trying to add a custom function in WHMCS, by creating a file addstripecard.php
, the idea is based on a given customer token (something like cus_1GPkTFJEegxX3y3c123456
) and then try to attach it to a card. The custom function is accessed from an API.
First, I'm trying to access the Stripe library, by using these commands :
...ANSWER
Answered 2020-Mar-29 at 10:46I have found the answer.
When returning response to the client we should at least follow this format :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install whmcs
Download/Git clone this repository.
Move the pterodactyl/ folder into <path to whmcs>/modules/servers/.
Create API Credentials with these permissions:
In WHMCS navigate to Setup > Products/Services > Servers
Create new server, fill the name with anything you want, hostname as the url to the panel either as an IP or domain. For example: 123.123.123.123 or my.pterodactyl.panel
Change Server Type to Pterodactyl, leave username empty, fill the password field with your generated API Key.
Tick the "Secure" option if your panel is using SSL.
Confirm that everything works by clicking the Test Connection button -> Save Changes.
Go back to the Servers screen and press Create New Group, name it anything you want and choose the created server and press the Add button, Save Changes.
Navigate to Setup > Products/Services > Products/Services
Create your desired product (and product group if you haven't already) with the type of Other and product name of anything -> Continue.
Click the Module Settings tab, choose for Module Name Pterodactyl and for the Server Group the group you created in step 8.
Fill all non-optional fields, and you are good to go!
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page