Enable PDF Uploads in CubeCart 4
The CubeCart file and image uploader in the product editor only allows for a small set of file types: jpg, gif, jpeg, png, swf, fla, jpg, gif, jpeg, png, avi, mpg, and mpeg. If you want to upload a PDF...
View ArticleYOURLS URL Shortener
I was having trouble finding the right URL shortening service. My requests for shortening were not too picky. I wanted two simple features: Good statistics that are visible only to administrators Edit...
View ArticleYourls Google Analytics Link Tagging
In my last post, I wrote about the benefits of using YOURLS, a self-hosted link-shortening service. I’m finding that YOURLS is great, but it’s not perfect. Some of the issues I have experience are part...
View ArticleA Sweet Javascript Slideshow Script
Developers: reveal.js is a great standards-compliant slideshow script. It looks great and is an awesome alternative to Flash-based or image-based slideshows. reveal.js The post A Sweet Javascript...
View ArticleA WordPress Developer’s Tips for Using Panic Coda
I use Panic Coda for coding. I like its Mac-style interface and it “fits” me well. There are some items that are frustrating, including a lack of auto-complete for functions you’ve already used in your...
View ArticleSimple Way to Get Plugin Status in WordPress
I have previously written on how to determine if a widget is active. This is helpful for widgets, but not for plugins. WordPress has a couple of different functions that help you determine plugin...
View ArticleHow to Hard-Code a UA String for the Google Analytics for WordPress Plugin
If you want to define a Google Analytics “UA String” while using Yoast Google Analytics plugin for WordPress. Add the following to your theme’s functions.php file: add_filter(...
View ArticleGenerate a Link to Activate a Plugin in WordPress
Here’s another specialized plugin development tip! If you want to create a link to activate a plugin, you need to know the path of the plugin file. Let’s use Akismet for this example. $path =...
View ArticleAdd Googlebot User Agent to Safari Develop Menu
If you’re like me, you’ve wanted to have the Googlebot user agent availalbe in the Develop menu of Safari. Go to /Applications/ Right-click on Safari.app and select Show Package Contents Navigate to...
View ArticleGet URL for Searches in Safari 6
There have been many articles and conversations about the question of how to get the URL of a Google search in Safari 6. Some solutions include using the Terminal to get the URL, using AppleScript,...
View ArticleSet the Width for a Google Maps InfoWindow
Working with Google Maps v3 is way fun. If you’re a masochist. Scrolling InfoWindow It seems like there’s no easy way to set the width of an InfoWindow. You can set the minWidth parameter, but that...
View ArticleRestoring VVV functionality to Pressmatic
I switched from developing using Vagrant with VVV to using the new Mac app Pressmatic. I’ve been very happy, and so has my Mac—the dev environment runs much faster and my computer has been working a...
View ArticleTranslating Multiple Branches of Your Premium Plugin with Transifex
Since GravityView launched in 2014, we have used Transifex to manage translations. Our process has always relied on a single translation resource file, and we’ve had the same flow over time: Create an...
View ArticleAllow customers to update their cards in disabled gateways using Easy Digital...
Last year, GravityView was using PayPal Pro to process credit card transations with our shopping cart, Easy Digital Downloads. Over time, we became frustrated with the error rate of PayPal...
View ArticleIs your Easy Digital Downloads AJAX request taking too long to load?
TLDR: If you want faster credit card AJAX load times in EDD, disable the “Show previously used cards” setting in EDD. Hint: It only happens when you or a customer are logged-in. I’ve recently found...
View ArticleUserVoice Gadget API
I wanted to learn what data is sent by the UserVoice Inspector Gadgets (I do appreciate the name ), but there was no information I could find online. Here’s some basic information about the HTTP...
View ArticleA quick Doxygen fix for @type
Doxygen doesn’t recognize the @type docblock tag. That’s a problem, since at GravityView, we try to replicate WordPress core’s usage of the @type docblock tags to define nested values in associative...
View Article