{"id":5517,"date":"2024-01-04T12:35:41","date_gmt":"2024-01-04T12:35:41","guid":{"rendered":"https:\/\/www.softaculous.com\/blog\/?post_type=docs&#038;p=5517"},"modified":"2024-01-04T12:35:42","modified_gmt":"2024-01-04T12:35:42","slug":"clientexec-auto-install-module","status":"publish","type":"docs","link":"https:\/\/www.softaculous.com\/blog\/docs\/developers\/whmcs\/clientexec-auto-install-module\/","title":{"rendered":"Clientexec Auto Install Module"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Overview<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This guide will help you to setup the Softaculous Auto Install plugin in Clientexec to auto-install scripts after a user account is created. Setting this up is very easy. This guide assumes that you have already installed Softaculous on your server.<\/p>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>Note<\/strong>: This plugin works with Webuzo, cPanel and DirectAdmin at the moment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">List of Scripts<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>All the scripts in Softaculous can be Auto Installed. Following is the popular list of scripts&nbsp;:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>WordPress, b2evolution, StatusNet, Drupal, Mambo, phpBB, SMF, AEF, Coppermine, Gallery, Jcow, OpenClassifieds, openX, WebCalendar, Shadows Rising, phpList, SquirrelMail, LimeSurvey, Piwik, SugarCRM, PHProjekt, osCommerce, Magento, phpBook, HESK, osTicket, kPlaylist, VidiScript, Gregarius, CodeIgniter, Moodle, Elgg.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Download and Upload<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The plugin is shipped by default with Clientexec. However, if you do not find it you can download the plugin <a href=\"https:\/\/files.softaculous.com\/clientexec_autoinstall.zip\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<br>Unzip it and upload, it to your \/path\/to\/clientexec\/plugins\/snapin\/ directory.<br>In order to make sure you uploaded the files to the correct path please ensure that the following file exists : <br><strong>clientexec\/plugins\/snapin\/softaculousautoinstall\/PluginSoftaculousautoinstall.php<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create Custom Fields<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Go to Clientexec admin panel and navigate to <strong>Settings -> Products -> Custom Fields<\/strong><br>1. Create a Drop Down custom field which will contain the list of scripts you&#8217;d like to offer. For example: WordPress \u2014 You&#8217;ll want to select &#8216;Include in Signup&#8217; &amp; ensure &#8216;All Product Groups&#8217; is deselected<br>2. Create a Text custom field for the admin username (For example: Admin Username)<br>3. Create a Text custom field for the admin password (For example: Admin Password)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note down the custom field names you have created above which will be used in later steps<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-product-custom-fields.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"781\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-product-custom-fields-1024x781.png\" alt=\"\" class=\"wp-image-5519\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-product-custom-fields-1024x781.png 1024w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-product-custom-fields-300x229.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-product-custom-fields-768x586.png 768w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-product-custom-fields.png 1040w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Enable the Fields for Product Groups<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you have created the Custom Fields you need to enable these fields for the Product Groups where you want to use the Auto Install functionality. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to Clientexec admin panel and navigate to <strong>Settings -> Products -> Products<\/strong><br>1. Click on the name of the product group you&#8217;d like to have the automatic installer on and then click Edit Group<br>2. Select all of the custom fields you created in the above step (Note: You can leave out the username &amp; password field and if they are blank, an automatic username &amp; password will be generated)<br>3. Once ready, click Submit.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-enable-custom-fields.png\"><img loading=\"lazy\" decoding=\"async\" width=\"856\" height=\"752\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-enable-custom-fields.png\" alt=\"\" class=\"wp-image-5520\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-enable-custom-fields.png 856w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-enable-custom-fields-300x264.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-enable-custom-fields-768x675.png 768w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Enable the Softaculous Plugin<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The final step is to run the automatic installer. <br>1. In your Clientexec admin area, navigate to: <strong>Settings -> Plugins -> Snapping<\/strong><br>2. Select the <strong>Yes<\/strong> radio button for <strong>Enabled<\/strong> setting<br>3. From the drop down menu, select &#8216;<strong>Softaculous Auto Installer<\/strong>&#8216;<br>4. For the <strong>Script Custom Field Name, Username Custom Field Name, and Password Custom Field Name<\/strong> &#8211; Enter the name of the fields you just created<br>5. When ready, click Update Settings<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-softaculous-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"952\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-softaculous-settings-1024x952.png\" alt=\"\" class=\"wp-image-5521\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-softaculous-settings-1024x952.png 1024w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-softaculous-settings-300x279.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-softaculous-settings-768x714.png 768w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-softaculous-settings-20x20.png 20w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2024\/01\/clientexec-softaculous-settings.png 1083w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it! You have successfully configured the Clientexec Auto Install Module. Your users will now see the option to select app on their order from. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Testing the Setup<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can test the setup by making a DUMMY Order and activating that order. When the order is activated and the control panel account is created the Softaculous Auto Install plugin will install the script as well.&nbsp;<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Troubleshooting<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There could be several reasons for the plugin Not to work&nbsp;:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A firewall is blocking requests<\/li>\n\n\n\n<li>You put the incorrect Field Names<\/li>\n\n\n\n<li>cURL is disabled in PHP<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Support<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you need any assistance then please contact Softaculous Support. Please send us a screenshot of the Custom Fields, Product Group Settings and Plugins > Snapping pages.<\/p>\n","protected":false},"featured_media":0,"parent":1690,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","docs_category":[],"class_list":["post-5517","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/5517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/comments?post=5517"}],"version-history":[{"count":2,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/5517\/revisions"}],"predecessor-version":[{"id":5522,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/5517\/revisions\/5522"}],"up":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/1690"}],"wp:attachment":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/media?parent=5517"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs_category?post=5517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}