Change the following values in php.ini upload_max_filesize post_max_filesize and memory_limit Save the file and restart MAMP. See this video for a demo: http://youtu.be/9VjTfa32n0o
Search the Wiki
Deleting BuddyPress from a WordPress install
See this article: http://codex.buddypress.org/buddypress-site-administration/deleting-buddypress/ Refer to the article but the bottom line is delete any table with the WP_BP prefix.
Import and export WordPress post content with phpmyadmin
Taken from this support thread on the WordPress website: http://wordpress.org/support/topic/import-export-posts-with-phpmyadmin Obviously remember to download and upload the latest files onto the server…….. When exporting from the database make sure you include the following tables: wp_comments wp_links wp_posts wp_posts_meta
iOS Add to Home Screen prompt for website
See this project: http://cubiq.org/add-to-home-screen ….and it’s GIST: https://github.com/cubiq/add-to-homescreen A good article and piece of code for creating homescreen icons and start up images for iOS: https://gist.github.com/2222823
Twitter Bootstrap – Code to switch stationary navbar to fixed – Bootstrap
This has been used in the trial sfor the BlackBocks Nylex website. Originally taken from this pastebin. This is an untried piece of code, but still interesting: Fixed Navigation Bar With Twitter Bootstrap
PHP date() Function
Taken from: http://www.w3schools.com/php/func_date_date.asp The date() function formats a local time/date. Syntax date(format,timestamp) The timestamp is optional, format options are listed below: Specifies how to format the result: d – The day of the month (from 01 to 31) D – A textual representation of a day (three letters) j – The day of the month without Full Article…
Hide WordPress admin menus based on user roles
Taken from: http://sethstevenson.net/customize-the-wordpress-admin-menu-based-on-user-roles/ Important Note: This tutorial is an alternative which is untried but looks very interesting. WP Tuts – Customising Your WordPress Admin WordPress can be a powerful content management system but if you have multiple users often some can end up with permissions that you really wish they didn’t have. There are plenty of plugins that will let you customize user Full Article…
Automatic cPanel backup (domain & MySQL) with cron & PHP
OK, so I posed the question, and I found the answer. (Of course I had to find it myself, I just don’t have people who regularly read my posts and do research for me!) The situation is this: I use cPanel on my web hosting server. I use the cPanel backup tool to regularly backup my home Full Article…
How to Share an External Drive Between a Mac and a PC
Taken from: http://www.pcworld.com/article/250431/how_to_share_an_external_drive_between_a_mac_and_a_pc.html Want to use a single external drive with both a Mac and a Windows PC? Follow our guide to learn how to do it. Looking to share an external hard drive between a Mac and PC? The best way to do it is with a drive formatted as FAT32. Though this format has Full Article…
Edit WordPress User Profiles in Your Theme With Gravity Forms
Great stuff from the Fublo bolg: http://blog.fublo.net/2011/12/edit-wordpress-user-profiles-gravity-forms/ On our latest client project, we created a Gravity Form which allowed logged in users to edit their public profiles, all done on the public side of the WordPress site, without visiting /wp-admin. This post outlines the way in which we stitched all the code together to make use of Full Article…