Now if only I knew the Location of resetpass-email. They still need to manually be set to BASIC or reverted back to RETRO then have the script run again. The only drawback is for any accounts that are "broken" like in my screenshot above that have been switched to BASIC earlier through a broken method are not fixed.
This will fix any themes stuck in RETRO and skip any already on BASIC. Uapi -user=$uname Styles update type=default name=basic
Here is my step by step, the account list is a bit clunky.ġ- Run: whmapi1 listaccts searchtype=user > accounts.txtĢ - Run: grep -i 'user:' accounts.txt > account_usernames.txtģ - Search and replace the blank spaces & user: to nothing, leaving only usernames. The server is running through 1000+ accounts now. Choose your favorite theme from the drop-down menu and it will apply automatically. In your cPanel account near the left side of the page you should see a Switch Theme option with drop-down menu. We assume you are already logged into your cPanel account. I poked around that UAPI call and found that "update" and not "set_default" works. Second method: Change the theme instantly (Retro X3 Theme Only) 1. username should be a reseller to set default styleĮDIT: Solved. But it can be changed by by the pull down menu at the top of cpanel and selecting style and selecting the newer style you want. I do not know if this was switched as a result of installing koppage or not. I have of course replaced "username" with a real customer. Paper Lantern has a style called retro which looks like x3, but its paper lantern themed to look like x3. Please follow this guide because I will update and add tutorials from time to time.Hello, and thanks for your reply. So, If you want to learn about cPanel, you may learn it here. This tutorial I have designed is just for beginner users only. You need to know how to use them because when you have your own website, you will use cPanel frequently. In this tutorial, you have learned how to use cPanel for basics such as upload files, upload folders, create an email, and more. If you still do not understand what I explain, please drop a comment below. You just need to try it and you will understand what I say. The choices might include Basic, Dark, Light, and Retro styles. Which you have clicked on that section, click on Change Style. Usually, when you directly put the command, automatically they will choose the right option for you. If your cPanel does not look like this, you can change the style of your cPanel in the PREFERENCES section, which is normally located near the bottom. If cron job mention for minutes, please click on the Common Settings for minutes (number 1) and put the Command (number 2). */10 * * * * /opt/cpanel/ea-php74/root/usr/bin/php -q /home/kancil/public_html/app/apps/console/console.php bounce-handler >/dev/null 2>&1 */2 * * * * /opt/cpanel/ea-php74/root/usr/bin/php -q /home/kancil/public_html/app/apps/console/console.php send-transactional-emails >/dev/null 2>&1
Transactional email sender, runs once at 2 minutes. * * * * * /opt/cpanel/ea-php74/root/usr/bin/php -q /home/kancil/public_html/app/apps/console/console.php send-campaigns >/dev/null 2>&1 Step 5 Next, manage user privilages and hit the button make changes. Step 4 Then, when you are already built a database and username, now you need to add user to the database. Then you need to create a secure password and hit the button Create User. Step 3 Now, you need to create Username of database. Step 2 Give database name and click the button create database. Step 1 Click on the MySQL®Databases on Database section in cPanel dashboard. So, the finale your URL will become įor creating database I have shown you in details at the guide how to create new database on server. Where is “blog” in behind is your subdomain. In Document Root, enter the path where the subdomain will be installed. In Domain column, please choose the root domain. In subdomain column, just put any name you wish to create as subdomain.