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
- A WHMCS installation with API access.
- Web server with PHP support.
- API credentials (Identifier and Secret) from WHMCS.
Step 1: Download the Script
- Download the script files and extract them to a directory on your web server.
- Ensure that the directory is accessible via your web server.
Step 2: Configure API Settings
- Open the Configuration Page:
- Navigate to
configure.php
in your browser.
- Navigate to
- 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.
- API URL: The URL to your WHMCS API, typically
- Save Configuration:
- Click the "Update Configuration" button to save your API settings.
Step 3: Prepare the CSV File
- Download the Template:
- A template CSV file can be found in the
template.csv
file included with the script.
- A template CSV file can be found in the
- 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
- Open the Main Form:
- Navigate to
index.php
in your browser.
- Navigate to
- Upload CSV File:
- Select the CSV file with client details.
- 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.
- Submit the Form:
- Click the "Upload and Add Clients" button to process the CSV file and add clients to WHMCS.
Demo Mode
- 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
- 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>
- Edit the
- 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
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
, orblack
).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
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
Using a Web-based File Manager:
Locate and open the site-config.php file.
Wrapping Up
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.
Install the ChatBot Script
Introduction
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
- 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
Using a Web-based File Manager:
Locate and open the site-config.php file.
Wrapping Up
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.