Increase maximum upload size for wordpress

Solution #1: Add this code to your functions.php This method will set the values for your php.ini settings to whatever you set below. Remember you must change max_execution_time as well or the script will time out with big files. @ini_set( ‘upload_max_size’ , ’64M’ ); @ini_set( ‘post_max_size’, ’64M’); @ini_set( ‘max_execution_time’, ‘300’ );   Solution #2: Edit … Read more

Update to Community Version / New Addon for Premium

A lot has been happening with Client Document Manager, we recently made an update that revamped the file info view and released a new addon package for the premium users! The new file info view has a tabbed interface which makes it easier with the increasing amount of data involved. Check out the new tabbed … Read more

WordPress get user dropdown by role

We needed a function to get a user selectbox by the user role. Instead of using the native wordpress function wp_dropdown_users() to get a list of all users we decided to create our own. This function allows you to easily create a dropdown based on the user role. function getUsersByRole($role,$name,$selected = ”,$extra = ”) { … Read more

WordPress Rental & Application Manager Plugin Released

Smarty Plugins release a new plugin that allows you to manage apartment, development or house rentals. Smarty Pants Rental Manager is a WordPress plugin that allows a rental agency to add listings to their WordPress powered website. The admin has the ability to add developments and add listings to those developments or freely add listings. … Read more

How to Translate Client Document Manager or any WordPress Plugin

Smarty Client Document Manager now includes a localization system so you can translate the plugin to your own language using .po files. PO files use gettext function and it is the way that WordPress handles all localization. I will explain a little bit below on how to translate our .po files. This tutorial will also … Read more

WordPress Unzip Class

Recently while developing the Smarty Pants Client Document Manager I came across an issue with the WordPress unzip function. After some research I found there are few things you have to do to get the unzip function to work properly. The function is mentioned here in the WordPress codex The function looks simple with its … Read more