How Not To Build a Plugin by Will Norris
Spotted on WordPress TV. Lots of examples of how to make your plugin less flexible, less secure, and more prone to misbehaving.
Video After The Jump
enlightened internet solutions
How Not To Build a Plugin by Will Norris
Spotted on WordPress TV. Lots of examples of how to make your plugin less flexible, less secure, and more prone to misbehaving.
Video After The Jump
If you’ve implemented the Shared User Table trick in WordPress by defining CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE in your wp-config file, then you’ve probably realized there is a serious draw back to this approach when building a blog network: Users who sign up on one blog do not get any privileges on any of the other blogs in your network. This is by design, but you don’t have to leave it at that.
Continue reading ‘WP-Orphanage v1.0 Released’
Or how to create a blog network with out WordPress Multi-User.
Almost 2 years ago, I was charged with the duty of building an integrated Blog network with WordPress, for the Parents Everywhere Network. WordPress MU wasn’t quite ready for prime time, as most plugins hadn’t been ported over, and documentation was sparse, and only the bravest of souls wanted to tangle with it. Remember, this was back before WP and MU development were in sync. So I had to come up with another way.
Continue reading ‘Implementing the WordPress Shared Users Table Trick’
v0.10 of XEN Carousel, the WordPress plugin to allow you to associate images with Posts or Pages, and display those images (linked to the Post) in a Slideshow / Carousel, powered by jCarousel Lite, has been released.
I was able to address a bug pointed out by one of my users (Thanks Connor!), and also minified all of the JavaScripts, so it should also load a bit faster, too. The plugin is still in its early stages, and should be considered alpha software, but I’ve already begun to use it on some of the sites I’ve been working on lately.
I’ve updated my K2 Hook Up WordPress plugin to include support for two of the latest K2 Hooks: template_primary_begin and template_primary_end. You need to be running the latest version of K2 to take advantage of it, but once you are, K2 Hook Up will help you target over 10 regions in your theme with the content of your choosing – without having to edit any files. Current Users will be able to auto-update from wp-admin. New Users can get started here.
For developers looking to contribute to the plugin, K2 Hook Up is now on GitHub, so fork the project and send me a pull request with your changes.
comments