How to increase the maximum upload file size (1MB) on a WordPress Multisite?

In case you’ve spent the last 15 minutes of your life googling for answers, here’s the answer you need:

There’s a special setting for this on a Wordpress Multisite Network.

  1. Head to My sites > Network Admin > Settings (http://www.example.com/wp-admin/network/settings.php)Wordpress Network Admin Settings
  2. Scroll down and look for Upload Settings
  3. Increase the ‘Max upload file size’ field.Max upload file size

How to protect your iPhone 7 (3 best ways) or 7s and save $960?

So you’ve just gotten the latest new iPhone 7 or 7s, and you’re figuring out how to best protect it? Well, before you start bringing it out with you when you go to work, school or gym tomorrow, make sure you’ve at least done the following 3 things. Alright, or at least just one of them, please?

Here are the 3 top and best ways to protect your iPhone 7.

  1. Get a screen protector. ($7.99) Believe me it’s well worth the $8 dollars. Have you dropped your phone before? Have you dropped it more than once in the past year? If you answered yes to any of the above, you’ll know it costs anywhere for $80 to $120 just to have your iPhone screen fixed. ($7.99 to save $80.00 in repairs)iPhone 7 screen protector
  2. Get a case. ($10.98) And as a savvy user, I’m talking about a slim, transparent one that protects your phone from scratches and also falling from your pockets – no nonsense. ($10.98 to save $80.00 in repairs)iPhone 7 case protect
  3. Turn on Find my iPhone. (Free) You just spent $800 getting a brand new iPhone 7 or 7s, now you don’t want to lose it. Turn it on with the following steps:
    1. From the Home screen, navigate: Settings > Privacy > Location Services.
    2. Ensure that the Location Services switch is on.
    3. Tap System Services.
    4. Tap the Find My iPhone switch to turn on.

Now anytime you need to find your phone. Head to iCloud.com , log in, and click on ‘Find my iPhone’. ($0.00 to save $800.00 potentially)

There you have it. While we’ll continually figure out the top best ways to protect your new iPhone 7, feel free to let us know if you have new or better ideas which we can update this list with. This is the 3 best ways to protect your new iPhone 7.

How to increase phpMyAdmin upload file size limit in ISPConfig 3?

phpMyAdmin showing an upload limit of 2MB
phpMyAdmin showing an upload limit of 2MB

 

This is a crappy problem, especially when importing & exporting large databases.

To increase the upload file size limit for phpMyAdmin, we’ll need to modify the php settings (php.ini) that it uses on your ISPConfig installation.

  1. Open up your terminal and SSH into your server.
  2. Now run nano to edit your php settings.
    sudo nano /etc/php5/apache2/php.ini
  3. Using Ctrl+W , search for:
    upload_max_filesize
  4. And set it to:
    upload_max_filesize = 64M
    Where 64M means, an upload limit of 64MB.

    nano showing search for upload_max_filesize
    nano showing search for upload_max_filesize
  5. Next, search for:
    post_max_size
  6. And set it to:
    post_max_size = 64M
  7. Save your changes by hitting Ctrl+O and then Y.
  8. Finally, restart apache.
    service apache2 restart

How to remove the Sticky Menu in Genesis Theme, Magazine Pro, the right way?

You know that menu that appears when you scroll down a little or a bit? Yes, this line of code will stop it from appearing.

remove_action( 'wp_enqueue_scripts', 'sp_enqueue_script' );

Add it to the template or function page, and after that, it should stop appearing.

How to fix Chrome Developer tools not showing the correct width (or height?)

Chrome Developer Tools showing width and height of page
Chrome Developer Tools showing width and height of page

Notice your width and height not showing accurate values, and affecting your CSS and/or Javascript work? The latest versions of Chrome (as of 52.0.2743.116) might have this little bug.

To resolve, simply zoom in and out on your current window/page. Hold on to Ctrl while scrolling the mousewheel up or down.

The values should now show working and usable ones.

Alternately, you can use a Chrome Extension that simply does this for you accurately.