Birds of a Feather: BuddyPress

Just wanted to invite everyone to the Utah Open Source Conference that is being held October 8-10th at the Miller Campus of the Salt Lake Community College in Sandy, Utah. I have been asked to present on BuddyPress, the robust social networking plugin for WordPressMU. The session that I am runnong is a Birds of a Feather, meaning that it will be an open presentation, so I am hoping to have an open discussion on usability and implementation. If you are looking to implement BuddyPress, or want to see how I have used it on a few sites, drop in. Lots to learn about.

Utah Open Source Conference Website

BuddyPress Presentation

Details:

October 08, 1:45 pm

Room 123 (Map)

Advertisements

How to: Point your post permalink to an external site

This was originally posted on ClearSkys.net, but it seems that Barry is going to be shutting down the site. So, that it lives on, I am posting it here. Of note, this is the plugin that I had in mind when I designed that Daring Inspiration WordPress theme.

Any visitors, or subscribers, to John Grubers’ Daring Fireball blog will notice how he uses the post titles as direct links to the sites and information that he refers to within the posts body.

Earlier today WP Recipes posted a quick tutorial on how to set this up on your site (based on work by Vlad Grubman) by adding some code to your themes functions.php file and then changing all the permalink calls within the theme to use the new permalink code instead of the standard WordPress loop function the_permalink().

Whilst this is a perfectly workable solution, it is dependent on modifying your themes functions.php file and all of the pages that include the WordPress loop every time you switch themes (which if you are anything like me, is quite often).

I have modified the code into a small plugin, that when activated, will replace the standard permalink with an external URL without any need to modify your sites theme. I’ve also added an extra filter so that it will replace the permalinks within your RSS feed as well.

The code for the plugin can be found below, and can be downloaded from here: Eternal Permalink. To install, just change the .txt to .php and upload to wp-content/plugins.

`

[php]
<?php
/*
Plugin Name: Enable External Permalinks
Plugin URI: http://jakespurlock.com/2009/09/how-to-point-your-post-permalink-to-an-external-site/
Description: This plugin will allow you to change the post permalink for your posts/pages to an external sites URL
Author: Barry at clearskys.net
Version: 0.1
Author URI: http://blog.clearskys.net/
*/

function cs_external_permalink($permalink) {
global $post;

$thePostID = $post->ID;
$post_id = get_post($thePostID);
$title = $post_id->post_title;

$post_keys = array(); $post_val = array();
$post_keys = get_post_custom_keys($thePostID);

if (!empty($post_keys)) {
foreach ($post_keys as $pkey) {
if ($pkey==’url1′ || $pkey==’title_url’ || $pkey==’url_title’ || $pkey==’external’) {
$post_val = get_post_custom_values($pkey);
}
}
if (empty($post_val)) {
$link = $permalink;
} else {
$link = $post_val[0];
}
} else {
$link = $permalink;
}

return $link;

}

add_filter(‘the_permalink’,’cs_external_permalink’);
add_filter(‘the_permalink_rss’,’cs_external_permalink’);

?>
[/php]

`

To switch a post from using the standard permalink to an external one, you simply add a custom field to the post with a key of url1, title_url, url_title or external. The value of the custom field should be the complete URL you want to link to (including http:// ).

SMCSLC: All About WordPress

Just wanted to post my presentation from tonights event so that if any one wanted the slides, they would be available. These slides were largely borrowed from lead BuddyPress developer Andy Peatling. (Thanks!)

Social Media Club of Salt Lake City: All About WordPress (PDF)

SMCSLC: All About WordPress

WordPress LogoJust wanted to pitch the Social Media Club of Salt Lake City’s September get together. Thom Allen, Joseph Scott and I will be presenting on WordPress, BuddyPress, and a host of other blogging tools and applications. From their site:

Many of us are past the question: To blog, or not to blog.

We know there’s value in blogging.Some of us have used WordPress, Moveable Type, TypePad or Blogger. Perhaps all of us already have a favorite blogging platform.

For our September Social Media Club of Salt Lake City meeting, we’re focusing on WordPress. We think it’s one of the more popular blogging tools. We have structured the program so there’s something for everyone regardless of your WordPress familiarity.

About WordPress

First of all, thank you to Joseph Scott — an Automatic employee and WordPress programmer who’s official title is bug exorcist — who has agreed to put together September’s program. You know you’ll learn valuable information when one of the software programmers is our lead presenter.

Networking will begin at 6 p.m. and our program at 6:30 p.m. Joseph will provide an introduction to WordPress, its history and where it is today.

WordPress Breakout Sessions – Beginner, Intermediate, Advanced

Around 6:45 p.m. we’ll break-out into smaller sessions to focus on WordPress in more depth. The three breakout sessions will be geared toward WordPress beginners, intermediate and advanced users.

Thank you to two very talented bloggers in their own right, Thom Allen and Jake Spurlock, who will lead the beginner and intermediate breakout sessions, respectively. Joseph will lead the discussion in the advanced user group.

Jake’s session will also include an overview of BuddyPress, a comprehensive social networking tool which can be installed as a WordPress plugin.

Breakout concepts will include discussion items like:

  • Why you should use WordPress
  • How to most effectively install and customize WordPress
  • The best URL structure for searchSEO optimization of your WordPress blog
  • Plugins for WordPress
  • 10 steps to installing and setting up a customized WordPress blog

Breakout sessions will go until approximately 7:30 p.m. or whenever we decide to quit.

Details

Date: September 17, 2009

Time: 6 to 8 p.m.

Place: University of Utah | Fine Arts Auditorium with breakout sessions at the neighboring BEHS Building, Rooms 106-108 | map it parking instructions included in map link

Special thanks to Andy Thompson in the University of Utah’s Marketing and Communications department for arranging for our meeting space.

RSVP: on Eventbrite

Twitter hashtag: #smcslc

To learn more about our presenters, please visit their respective sites:

Joseph Scott

Jake Spurlock

Thom Allen

via Sept. 17 meeting: All About WordPress | SMC of SLC .