Category: Wordpress

How to use BackPress?

For my recent project I want to use some WordPress core functions but it’s too disproportionate to install the full system. Then I found BackPress which is exactly what I need. It’s a collection of WordPress, bbPress and GlotPress libraries.

The usage of this library collection requires some work. In fact you only need to include functions.core.php and the libraries you need. But to find out what files you exactly need can be hard because some functions have a lot of dependencies so my proposal is to include everything as you needn’t to care about any dependencies later on.

Furthermore some files have to be included exclusive-or what means that either the one has to be included or the other one. Download backpress.php and include the extracted file in your web project.

<?php
// this constant is needed for class.bpdb-multi.php
// leave the value empty
define('BACKPRESS_PATH','');

// the core functions
include_once('backpress/includes/functions.core.php');

include_once('backpress/includes/class.bp-log.php');
include_once('backpress/includes/class.bp-roles.php');
include_once('backpress/includes/class.bp-sql-schema-parser.php');
include_once('backpress/includes/class.bp-user.php');
include_once('backpress/includes/class.bpdb-multi.php');
include_once('backpress/includes/class.bpdb.php');
include_once('backpress/includes/class.ixr.php');
include_once('backpress/includes/class.mailer-smtp.php');
include_once('backpress/includes/class.mailer.php');
include_once('backpress/includes/class.passwordhash.php');
include_once('backpress/includes/class.wp-ajax-response.php');
include_once('backpress/includes/class.wp-auth.php');
include_once('backpress/includes/class.wp-dependencies.php');
include_once('backpress/includes/class.wp-error.php');
include_once('backpress/includes/class.wp-http.php');
include_once('backpress/includes/class.wp-pass.php');
include_once('backpress/includes/class.wp-scripts.php');
include_once('backpress/includes/class.wp-styles.php');
include_once('backpress/includes/class.wp-taxonomy.php');
include_once('backpress/includes/class.wp-users.php');
include_once('backpress/includes/functions.bp-options.php');
include_once('backpress/includes/functions.compat.php');
include_once('backpress/includes/functions.formatting.php');
include_once('backpress/includes/functions.kses.php');
include_once('backpress/includes/functions.plugin-api.php');
include_once('backpress/includes/functions.shortcodes.php');
include_once('backpress/includes/functions.wp-cron.php');
include_once('backpress/includes/functions.wp-object-cache.php');
include_once('backpress/includes/functions.wp-scripts.php');
include_once('backpress/includes/functions.wp-styles.php');
include_once('backpress/includes/functions.wp-taxonomy.php');
include_once('backpress/includes/interface.bp-options.php');

// Only include one of these two
include_once('backpress/includes/loader.wp-object-cache-memcached.php');
//include_once('backpress/includes/loader.wp-object-cache.php');
?>

WordPress 2.8 Baker Final really final?

The new WordPress release is available since two days but it’s still too buggy to call it “final”.

Christa reports

…the dashboard is messed up, image uploader won’t work, the tags menu won’t work…or any of the other menus for that matter…

I checked this and this forums and they’re plenty of bug reports. It’s a good idea to not upgrade as long as most of these bugs aren’t fixed. If you already did here’s a description how to downgrade.

Update:
Code Styling wrote an article about known problems. He published some descriptions how to solve some of them.

Widget Disabler

If you are testing widgets on your WordPress powered blog it sometimes happens that the widget causes errors that make it impossible to remove the widget from the sidebar again. If these errors have bricked your system the only way to get it working again is to deactivate the whole plugin. But if you would like to use some parts of the plugin that are independent of the widget you can’t just reactivate the plugin because the widget will be present in the sidebar again. For this reason I wrote a plugin that removes all widgets of deactivated plugins from the sidebars.

Downlaod

Comments are closed

Kommentarverbotsschild Sometimes I want to leave a comment after reading an interesting post. In some cases the comments are closed for whatever reason. This can be frustrating if there’s no other way to contact the blog’s owner and you know that it could fix his problem or you just want to let him know that there’s a plugin for what he’s looking for. Thus the communication is broken.

Spam is not really a reason to close comments. There are services like Akismet to seperate spam comments out. Since I use Akismet I had no spam problem anymore. It hasn’t filtered non-spam yet so it works perfectly on my blog.

Does it make sense to close comments? Are there other reasons to close them on live sites?

Related posts:
Trackback is dead. Are Comments dead too?
Thoughts on Closing Blog Comments
Does it make sense to close comments on older posts?

One Word A Day

This is my new plugin that displays a new English word in the sidebar every day. Furthermore a quiz is included. If you select the correct choice you can play a sound file to listen to that word.

To see One Word A Day in action take a look in my sidebar.

To reduce unneeded traffic I built a cache for it.

Download

Twitter badge My personal twitter account
My developer account


Notes

Only on workdays a new word appears. So don’t be inpatient if the word’s not changing on the weekend and holidays.

Theme based on MagicBlue