WHM – Change account setup date manually
You can manually edit their /var/cpanel/users file Be sure to run /scripts/updateuserdomains after you do this to rebuild all of cpanels caches that use this file. Views (210)
You can manually edit their /var/cpanel/users file Be sure to run /scripts/updateuserdomains after you do this to rebuild all of cpanels caches that use this file. Views (210)
You can manually generate the notifications all account under a WHM with the following command: Delete `quotawarned` [bash] rm /var/cpanel/quotawarned [/bash] Run the following command `quotacheck` [bash] /usr/local/cpanel/scripts/quotacheck [/bash] Views (99)
Multi-tiered technical support Technical support is often subdivided into tiers, or levels, in order to better serve a business or customer base. The number of levels a business uses to organize their technical support group is dependent on a business’ needs regarding their ability to sufficiently serve their customers or users. The reason for providing[…]
The find command available in GNU/Linux shells is a versatile tool for finding files matching the given conditions in a folder and performing a specific action on the files found. The following command will find all files greater than 1M size in your current folder and ask you if you would like to delete the[…]
You are probably reading this post because have already noticed, that every time someone submitted a comment on your blog, signed up as a user or did anything that required WordPress to generate and send an email, by default the “From Name” in that message appeared as “WordPress” and “From” address was “wordpress@your-domain.com”. If this[…]
add_filter( ‘gettext’, ‘custom_paypal_button_text’, 20, 3 ); function custom_paypal_button_text( $translated_text, $text, $domain ) { switch ( $translated_text ) { case ‘Proceed to PayPal’ : $translated_text = __( ‘NEW BUTTON TEXT’, $domain ); break; } return $translated_text; } That’s all !! Views (1282)
This snippet can be used for many ways. For instance, your store only allows to buy one product at a time such as “Buy Now”. Open functions.php under your activated theme and put the code below: // Only one product in cart add_filter( ‘woocommerce_add_cart_item_data’, ‘only_one_product_in_cart’ ); function only_one_product_in_cart( $cart_item_data ) { global $woocommerce; $woocommerce->cart->empty_cart(); return[…]
If you receive complaints from people sending mail to you with the following error “retry time not reached for any host after a long failure period”, it is likely due to an error with the server sending mail at their end. The Exim Retry Database has likely become corrupt and would need to be fixed[…]
If you want to create and give an email to someone register via your website. This tutorial may help you. First you’re going to need to download the PHP XML API Class: https://github.com/CpanelInc/xmlapi-php Upload it to your server and include it in the script you’re building to create email accounts. include_once __DIR__.’/library/xmlapi/xmlapi.php’; // Need to[…]
Creating the Select Drop Down Using the ‘restrict_manage_posts’ Filter The first thing that needs to be done is the creation of the select drop down for the two additional filters we will be making. You will need to navigate over to your child themes functions.php file (or another applicable file) and add code which will[…]