Patrick at Deferred Procrastination has got la petite url working with a WordPress Twitter updater. This is a much-asked-for feature for la petite url itself.
The long wait is over, and la petite url version 2.0 is out the door. WordPress users with auto-update can update at-will, and users who haven’t installed it yet (what’s wrong with you?) can get it here. Major changes include: An awesome new options panel, much faster redirects, removing of the old registration for the new one, and a sidebar widget.
I’ve been getting this error in WordPress, so I wasn’t using the auto-update functionality, which is a real time-saver. My problem was that WordPress was trying to write to
/tmp/ which is a no-no as my host (Segpub.net) uses Safe Mode. You can solve this issue by adding a couple of directives to your
wp-config.php file, namely
WP_TEMP_DIR. Adding these lines to
wp-config.php fixed the problem for me:
define('WP_TEMP_DIR', ini_get('upload_tmp_dir')); putenv('TMPDIR=' . ini_get('upload_tmp_dir'));
Thanks to the WordPress forums for my answer.
URLs will continue to function until 31 December 2009 and will then go dead. Yet another reason to use a self-hosted short URL service with a system like my own la petite url.
I’m working on a project that requires the use of WordPress functions (mainly creating users and such) outside of the WordPress installation. After some Google searches of varying specificity, I’ve found a method that appears to work for both WordPress and WordPress Mu. I’ve reproduced it here for my own purposes, as well as yours.
WordPress.org member oranfry posted the following helpful bit of code, to be inserted in the top of the
wp-load.php, right after the
wp-settings.php replace all replace all occurrences of
=. Then include
wp-load.php in your external file, and (in my case)
wp-includes/registration.php. You can now call WordPress functions such as
As a big fan of telling people when they’re Doing It Wrong, I’m happy to announce Diggbarred. Diggbarred is a new plugin from myself and Shawn Medero, using John Gruber’s original blocking code in an easy-to-activate form. You can fork, modify, or otherwise mutilate the code on Github.