Configure the WHMCS Bulk Client Import Script

Overview

This guide will walk you through the steps to configure and use the WHMCS API Configuration Script for bulk adding clients using a CSV file.

Prerequisites

  1. A WHMCS installation with API access.
  2. Web server with PHP support.
  3. API credentials (Identifier and Secret) from WHMCS.

Step 1: Download the Script

  1. Download the script files and extract them to a directory on your web server.
  2. Ensure that the directory is accessible via your web server.

Step 2: Configure API Settings

  1. Open the Configuration Page:
    • Navigate to configure.php in your browser.
  2. Enter API Credentials:
    • API URL: The URL to your WHMCS API, typically https://your-whmcs-url.com/includes/api.php.
    • API Identifier: Your WHMCS API identifier.
    • API Secret: Your WHMCS API secret.
  3. Save Configuration:
    • Click the "Update Configuration" button to save your API settings.

Step 3: Prepare the CSV File

  1. Download the Template:
    • A template CSV file can be found in the template.csv file included with the script.
  2. Format Your CSV File:
    • Ensure your CSV file follows the same format as the template.
    • Required fields: First Name, Last Name, Email, Address, City, State, Postcode, Country, Phone Number, Password.
    • Optional fields: Client Group ID, Marketing Opt-In, Language.

Step 4: Upload and Add Clients

  1. Open the Main Form:
    • Navigate to index.php in your browser.
  2. Upload CSV File:
    • Select the CSV file with client details.
  3. Optional Settings:
    • Send Welcome Email: Check if you want to send a welcome email to new clients.
    • Marketing Opt-In: Check if clients should opt-in to marketing emails.
    • Select Language: Choose the default language for the clients.
    • Client Group: Choose a client group to assign to the clients.
  4. Submit the Form:
    • Click the "Upload and Add Clients" button to process the CSV file and add clients to WHMCS.

Demo Mode

  1. Test in Demo Mode:
    • Before going live, you can test the script in demo mode to see how it works without actually adding clients.
    • The form submission will redirect to demo.php, displaying a demo message and an ad space.

Security Settings

  1. IP Whitelisting:
    • Edit the .htaccess file to restrict access to specific IP addresses.
    • Uncomment and update the <Limit> block:

      <Limit GET POST> order deny,allow deny from all allow from <YOUR_IP_ADDRESS> </Limit>
  2. Password Protection:
    • Protect the configuration page with basic authentication.
    • Use an online tool to generate a password hash.
    • Create a .htpasswd file and add the username and hashed password.
    • Update the .htaccess file to point to your .htpasswd file:

      AuthType Basic AuthName "Restricted Area" AuthBasicProvider file AuthUserFile /path/to/.htpasswd Require valid-user

Troubleshooting

  1. Common Issues:

    • cURL Errors: Ensure the API URL is correct and accessible from your server.
    • Authentication Errors: Verify the API credentials (Identifier and Secret) are correct.
    • CSV Format Errors: Ensure the CSV file is properly formatted according to the template.

How to Install Internet Speed Test PHP Script

 Upload Files to Server:

Upload the extracted files to your web server using FTP or any file manager provided by your hosting service.

Configure the Script:

Open the config.php file in a text editor.

Customize the following settings as needed:

      • site_title: Set the title of your site.
      • servers: Add URLs to large files for download speed testing.
      • ping_server: Set a URL that will respond to a simple GET request for ping testing.
      • upload_size: Set the size of the file to upload for upload speed testing.
      • parallel_connections: Set the number of parallel connections for speed testing.
      • test_rounds: Set the number of test rounds.
      • speed_messages: Customize the messages displayed based on the speed test results.
      • footer_links: Add links for the footer section.
      • button_color: Choose the color of the buttons (blue, red, or black).
      • ad_code: Add your ad code for monetization.
  • Ensure PHP Settings:

    • Make sure your PHP settings allow for large file uploads. You may need to adjust the php.ini file:
      upload_max_filesize = 20M post_max_size = 20M
  • Access the Script:

    • Open your web browser and navigate to the URL where you uploaded the script (e.g., http://yourdomain.com/).
  • Installation Instructions for Sendy Auto Campaign WordPress Plugin


    Upload the Plugin to Your WordPress Site:Log in to your WordPress admin dashboard.
    Navigate to the Plugins > Add New page.
    Click on the "Upload Plugin" button.
    Choose the plugin zip file you downloaded and click "Install Now."


    Activate the Plugin:After the installation is complete, click on the "Activate Plugin" link.


    Set Up Sendy API Key and Other Settings:Once activated, go to Settings > Sendy Settings in your WordPress admin dashboard.
    Enter your Sendy API Key, List ID, Sendy URL, Sender Email, Reply To Email, and Sender Name in the respective fields.
    Click on the "Save Changes" button to save your settings.


    Add Sendy Campaign Options to Posts:When creating or editing a post, you will now see a meta box labeled "Sendy Campaign Options" on the right-hand side.
    Check the box labeled "Disable sending this post to Sendy" if you want to exclude the post from being sent as a Sendy campaign.


    Save Changes:After making any changes, remember to click on the "Update" button to save your post settings.


    Configure Email Sending Frequency (Optional):If you want to configure the email sending frequency, you can do so by selecting the desired option (immediate, daily summary, or weekly summary) in the Sendy Settings page under "Send Frequency."


    Test Your Setup:Create a new post or update an existing one to trigger the Sendy campaign sending process.
    Verify that the post is sent as a Sendy campaign according to your settings.


    Troubleshooting (if necessary):If you encounter any issues during installation or setup, refer to the plugin documentation or seek support from the plugin developer.


    Enjoy Using Sendy Auto Campaign Plugin:Once set up, the Sendy Auto Campaign Plugin will automatically send new posts as Sendy campaigns according to your configured settings.

    That's it! You have successfully installed and configured the Sendy Auto Campaign Plugin on your WordPress site.

    Install Free Image Search Engine

    Introduction


    This guide will walk you through the process of uploading and installing a PHP script to your web server. By the end of this guide, you should have your PHP script successfully installed and configured.

    Prerequisites

    • A web hosting account that supports PHP.
    • FTP access to your web server or a web-based file manager provided by your hosting provider.
    • A zipped file containing your PHP script.
    • A text editor (like Notepad for Windows, TextEdit for macOS, or any code editor).

    Server Requirements

    • PHP Version: PHP 7.2 or higher is recommended. The script utilizes modern PHP features and syntax that may not be compatible with older versions.
    • cURL: Enabled cURL is required for making API requests to the image providers. cURL is a library that allows you to connect and communicate with different types of servers with many different types of protocols.
    • JSON Support: Since responses from the APIs are typically in JSON format, your PHP installation must support JSON parsing.
    • GD Library (Optional): For image processing features such as resizing or watermarking, the GD Library should be installed and enabled. This is optional and only needed if you plan to manipulate images directly within your script.
    • htaccess Support (for Apache): If you're using Apache, ensure that .htaccess files are enabled through the AllowOverride All directive for your site directory. This is useful for URL rewrites and redirects.
    • Apache or Nginx: Both are suitable, but ensure your server is configured to handle PHP files and rewrite rules if you're using friendly URLs

    API Requirements

    API Keys: You'll need to register and obtain API keys from Dreamstime, Pexels, and Pixabay. These keys allow your script to authenticate and retrieve images from these services.

    Step-by-step Guide


    1. Uploading the PHP Script to Your Web Server:
    Using FTP:

    Launch your FTP client (e.g., FileZilla, Cyberduck).
    Connect to your web server using the credentials provided by your hosting provider.
    Navigate to the directory where you'd like to install the PHP script.
    Upload the zipped file containing your PHP script to this directory.

    Using a Web-based File Manager:


    Log into your web hosting control panel.
    Navigate to the file manager.
    Go to the directory where you'd like to install the PHP script.
    Use the "Upload" option to upload the zipped file.
    2. Unzipping the Files:
    Using FTP: Most FTP clients do not support unzipping files directly on the server. You'd need to unzip the file on your computer and then re-upload the extracted files to your server.

    Locate and open the site-config.php file.


    Make the following changes:

    1. Site Name:

    $site_name = "Your Site Name";

    Here, you need to replace "Your Site Name" with the actual name you'd like to display for your website.

    For instance, if your website's name is "My Cool Website", then you'd edit it as:

    $site_name = "My Cool Website";

    2. Ad Code:

    $ad_code = "
        <!-- Your Ad Code Here -->
    ";

    If you have any advertisement code you'd like to integrate into your website (e.g., Google AdSense code, or any other ad network code), replace <!-- Your Ad Code Here --> with that ad code.

    3. Google Analytics:

    $google_analytics_code = "
        <!-- Global site tag (gtag.js) - Google Analytics -->
        <script async src='https://www.googletagmanager.com/gtag/js?id=YOUR-GA-MEASUREMENT-ID'></script>
        ...
    ";
    Replace YOUR-GA-MEASUREMENT-ID in both places with your actual Google Analytics Measurement ID. This ID usually starts with UA- followed by a series of numbers.

    4. Google reCAPTCHA Keys:

    $recaptcha_site_key = "6Lcq51YfAAAAAFmL9Ov2U-DEkXLYkLvohkzUf9F2";
    $recaptcha_secret_key = "6Lcq51YfAAAAAISuJtib6QvBkl5_1vLRUwAKOuWl";

    Replace the placeholder values with the actual reCAPTCHA keys you get from the Google reCAPTCHA website.

    5. Social Media Links:

    Replace the placeholder URLs with your actual social media profile URLs:

    $facebook_link = "https://www.facebook.com/yourprofile";
    $twitter_link = "https://twitter.com/yourprofile";
    //... and so on.


    Replace the placeholder values with your actual affiliate IDs provided by Pixabay, Pexals and Dreamstime.

    6. API Keys:

    // API Keys
    $PIXABAY_API_KEY = "42344202-ba7ddkjsd9834jkld72bf33";
    define('DREAMSTIME_USERNAME', 'username');
    define('DREAMSTIME_PASSWORD', '234424asdkjl32904s40ed6af87d');
    define('PEXELS_API_KEY', '36TIIESLivSsldfjkKLsdfesf39Lics5Cflbmof');

    Replace the above placeholders with the actual API keys you receive from these services. You can find some links to the services so you can sign up for an account and generate your own unique affiliate IDs.

    Wrapping Up


    You've now successfully uploaded, extracted, and configured your PHP script on your web server. It's essential to test the functionality of the script to ensure everything works as expected. Navigate to the URL where you uploaded the script and test the features.

    Note: Always keep your API keys and sensitive information confidential. Sharing this document with others might expose important credentials. Regularly back up your configurations and consider encrypting sensitive information for added security.

    User Instructions for Uploading and Setting Up the Word Cloud Generator

    Prerequisites

    Before you begin, ensure you have:

    • Access to your web hosting control panel or FTP client.
    • A modern web browser to test the installation.

    Step 1: Download the Package

    Download the word cloud generator package provided by Curious Penguins. This package should contain all necessary files, including HTML, CSS, JavaScript, and PHP files, organized in a specific folder structure.

    Step 2: Extract the Package

    If the package is compressed (e.g., ZIP file), extract it on your computer. You should see the project structure as described by the developer, typically including directories like /css, /js, /includes, and a few root files like index.php.

    Step 3: Upload to Your Server

    Connect to your web hosting server using an FTP client (like FileZilla) or the file manager provided in your hosting control panel.

    Navigate to the root directory or the specific directory where you want to install the word cloud generator. This might be the public_html or www folder, depending on your hosting setup.

    Upload all extracted files and directories to your server. Ensure the folder structure is preserved during upload.

    Step 4: Verify the Installation

    Open a web browser and navigate to the URL where you uploaded the word cloud generator. For example, if you uploaded it to the root of your domain, visit http://yourdomain.com. If you placed it in a subdirectory, adjust the URL accordingly, e.g., http://yourdomain.com/word-cloud.

    The word cloud generator page should load, displaying the input form or interface as described by the developer.

    Step 5: Test the Functionality

    Enter the required input to generate a word cloud and test other functionalities like theme selection, word padding adjustment, and file downloads (PNG, SVG, etc.).

    If any feature does not work as expected, double-check the upload process to ensure all files were correctly transferred and no step was missed in the configuration.

    Troubleshooting

    Page Not Found: Ensure you're visiting the correct URL and that all files were uploaded to the right directory.

    Features Not Working: Check for missing files or incorrect permissions. File permissions should typically be set to 644 for files and 755 for directories.

    PHP Errors: Verify your server meets the PHP version requirement and that you've configured any necessary settings in the PHP files.

    Getting Help

    If you encounter issues you can't resolve, contact the Curious Penguins here. Be ready to provide details about your hosting environment, the steps you've taken, and any error messages you're seeing.

    Word Cloud Generator Changelog

     1.0.0

    • initial release

    Install the ChatBot Script

     

    Introduction


    This guide will walk you through the process of uploading and installing the ChatBot PHP script to your web server. By the end of this guide, you should have your PHP script successfully installed and configured.

    Prerequisites

    • A web hosting account that supports PHP.
    • FTP access to your web server or a web-based file manager provided by your hosting provider.
    • A zipped file containing your PHP script.
    • A text editor (like Notepad for Windows, TextEdit for macOS, or any code editor).

    Requirements

    Most of these should be included in any hosting service. We have tested the script on various Linux hosting environments and it should also work on a Windows server,
    • PHP 7.4 or higher.
    • Curl enabled for PHP.
    • Server with PHP sessions support.

    APIs and Affiliate Accounts

    • Open AI API Key

    Step-by-step Guide

    1. Uploading the PHP Script to Your Web Server:
    Using FTP:

    Launch your FTP client (e.g., FileZilla, Cyberduck).
    Connect to your web server using the credentials provided by your hosting provider.
    Navigate to the directory where you'd like to install the PHP script.
    Upload the zipped file containing your PHP script to this directory.

    Using a Web-based File Manager:


    Log into your web hosting control panel.
    Navigate to the file manager.
    Go to the directory where you'd like to install the PHP script.
    Use the "Upload" option to upload the zipped file.
    2. Unzipping the Files:
    Using FTP: Most FTP clients do not support unzipping files directly on the server. You'd need to unzip the file on your computer and then re-upload the extracted files to your server.

    Locate and open the site-config.php file.


    Make the following changes:

    1. Open AI API key:

    $OPENAI_API_KEY = "############";
    Replace the above placeholders with the actual API keys you receive from Open AI.

    For instance, if your API key is "sk-ABr454455VYZVyZ", then you'd edit it as:

    $OPENAI_API_KEY = "sk-ABr454455VYZVyZ";

    2. Ad Code:

    $ad_code = "
        <!-- Your Ad Code Here -->
    ";

    If you have any advertisement code you'd like to integrate into your website (e.g., Google AdSense code, or any other ad network code), replace <!-- Your Ad Code Here --> with that ad code.

    Wrapping Up


    You've now successfully uploaded, extracted, and configured your PHP script on your web server. It's essential to test the functionality of the script to ensure everything works as expected. Navigate to the URL where you uploaded the script and test the features.

    Note: Always keep your API keys and sensitive information confidential. Sharing this document with others might expose important credentials. Regularly back up your configurations and consider encrypting sensitive information for added security.