UseStrict Consulting

Professional IT Solutions & Training

UseStrict Consulting - Professional IT Solutions & Training

eShop Fixed Discounts – Free plugin

So here it is, what many have asked for. You can now offer fixed-rate site-wide discounts for eShop instead of just percentage. You can download it for free at WordPress.org.

eShop Fixed Discounts Admin

Modified Discounts Admin form

eShop Cart with fixed-rate discounts

Cart calculating/showing fixed-rate discounts

If you’d like to also offer fixed-rated discount codes/coupons, please consider purchasing eShop Coupons Plus, which is a substitution for eShop Fixed Discounts.

Cronblocks for WordPress

A couple of years ago I had an idea of a project targeting people who want to offer dynamic content on their sites but do not have the programming knowledge to do so. I called it Cronblocks (http://cronblocks.com) – a system where the user can create snippets of content and choose when to display them. Not satisfied, I decided to add Geo-Location as a possible condition for displaying the snippets. It worked (and still works) fine for sites built in plain html or any programming language as the code is sourced via Javascript.

I recently decided to write a port of Cronblocks as a WordPress plugin as a proof of concept, with the following features:

  1. Snippets are a WordPress Custom Post Type
  2. They can (and should) be grouped into category-like taxonomies called Snippet Groups
  3. Set the snippet controls to use either Geo-Location (visitor’s country) or a Scheduled display time range and date (choose days of the week or days of months)
  4. Assign the Snippets to a Snippet Group (just like categories)
  5. Control overlapping Snippets in a Group with Priorities

To use it, place the Snippet Group shortcode to control where on your page/post you want the appropriate Snippet to be displayed, and that’s it!

The plugin will check for all snippets associated with the shortcode’s Snippet Group and will decide which one should be displayed according to the control settings for each Snippet. If more than one Snippet match the display conditions, a random one of the matching set will be selected.

As mentioned above, this is a proof of concept. I plan on writing a fully featured companion plugin that will offer the following:

  • Enable multiple control conditions of each type, and mix/match
  • Keep and show statistics of snippets being displayed
  • Optionally display snippets based on the visitor’s local time
  • Optionally reload the snippet group after a given amount of time (say a visitor is watching a video, reload the snippet group after 3 minutes)
  • Enable Region and City scope
  • Use Maxmind GeoIP2 database, which is more accurate than the GeoIP databased used in the Cronblocks plugin
  • Allow overriding of snippet options via the shortcode attributes
  • Set up roles that can access the snippet administration
  • Add an icon to the TinyMCE interface as a shortcut to inserting the shortcode
  • Add a Snippet Group Widget

While the fully featured one doesn’t come out, feel free to download the proof of concept from WordPress.org’s plugin repository: Download

 

bbPress Notify – NoSpam

A handy plugin for people who use bbPress is bbPress Notify. However, it doesn’t do any filtering of spam comments. Tired of receiving spam email notifications from bbPress, I contacted the original author with a snippet to filter out the pesky messages. As I got no reply, I branched the plugin myself. Feel free to download and install the spam-free version: bbpress-notify-nospam.

I’m submitting it to WordPress.org today. Let’s see if they’ll approve it.

%d bloggers like this: