Server Plugin Development Guide
A server plugin allows Clientexec to automatically provision and manage services. We have created a sample server module that should be used as a starting point: https://github.com/clientexec/sample-server Naming Convention The name of the plugin directory MUST be all lower case, and alphanumeric, such as sample. The name of the plugin file, and the plugin class MUST start with Plugin, followed by the name of the directory with ONLY the firsPopularDomain Registrar Plugin Development Guide
A domain registrar plugin allows Clientexec to automatically register, renew and manage domain names. We have created a sample domain registrar module that should be used as a starting point: https://github.com/clientexec/sample-registrar Naming Convention The name of the plugin directory MUST be all lower case, and alphanumeric, such as sample. The name of the plugin file, and the plugin class MUST start with Plugin, followed by the namePopularSnapin Plugin Development Guide
A snapin plugin allows you to extend the functionality of Clientexec. It can be used to create new pages and actions, or to listen and act on events (hooks). We have created a sample snapin plugin that can be used as a starting point: https://github.com/clientexec/sample-snapin Once a snapin has been uploaded to your server, it can be managed at Settings Plugins Snapins. Naming Convention The name of the plugin directory MUSTPopularList of Events (Hooks)
The following is a list of event listeners (hooks) are that supported within Clientexec. System System-ActionCalled Client Client-Create Client-Delete Client-Update Client-PasswordChange (available from version 6.7.0) Account Account-Logoff Invoice Invoice-Create Invoice-Paid Invoice-Pending (available from version 6.7.0) Invoice-Refunded (available from version 6.7.0) Invoice-Credited (available from version 6.7.0) Invoice-PartiallyPaid (availableSome readersAutoLogin From Your Third-Party Code
Auto Login allows you to automatically login a user from your own third-party code. Enabling Auto Login Enabling Auto Login functionality is a two step process: Generate an Application Key at Settings Security Application Key. Enable Auto Login at Settings Company General Enable Auto Login Using Auto Login Using Auto Login is very simple. You simply need to create a special URL that contains the users email address, timestamp when the requeSome readersUsing Hooks
To use a Hook in Clientexec you need to create a Snapin ( For instructions creating a Snapin see this ). Using Invoice-Create as an example:Some readersHow to debug while developing
Internal Logging Clientexec has a built in log system that can be very useful while developing custom modules and snapins. You will need to edit config.php and enable logging: Now that you have enabled logging at level 4, anytime you call our log function at level 4, the output will be sent to ce.log.Some readersRunning Clientexec on localhost
We do not allow installs of Clientexec on localhost. If you are a developer and need a license to develop your addon for Clientexec, you can request a Developer License here.Few readersHow Do I Suggest A New Feature?
Do you have an idea for a new feature for Clientexec? If you would like to submit a new feature idea, you can do so on our Forums here. Notes: Please only post 1 feature request per thread. This allows the thread to focus solely on the requested feature and allows us to gauge community interest in the feature, allowing us to prioritize the request. Please make sure you use the search feature to ensure that your requeFew readersDeveloper API
Our API Documentation is available here.Few readersUpdating Custom Code for Billing Cycles
Before Clientexec 6.2.0, the billing cycle values used to be the amount of months of the respective billing cycle for product configurations, addons, and recurring fees, except for Domain products configuration which the billing cycle values used to be the amount of years of the respective billing cycle. Example: 1 year value was 12 for Hosting, General and SSL products configurations, addons, and recurring fees, but was 1 for Domain product configuration. StartingFew readers