Archive for the ‘Content Management’ Category

Limit user email domains in BuddyPress

Friday, March 4th, 2011

One of my upcoming projects is an intranet. For many reasons, I have chosen to use BuddyPress as the starting point and customize it for specific needs.

One such need is a restriction on which email address domains can be used to register a user. For instance, if I were to create such a system for old.webit.ca, I would want only users with a @old.webit.ca email address to register. Anyone else would simply not be allowed.

After some digging around, it seemed like there was no plugin that would quickly do what I was looking for. There were options, but most felt complicated or hacks. That is, until I found the following line in bp-core-signup.php:

// in function bp_core_validate_user_signup
$limited_email_domains =
    get_site_option( 'limited_email_domains', 'buddypress' );

Great! All that is left is a quick plugin to populate ‘limited_email_domains’.

<?php
/*
Plugin Name: Restricted Email Domains
Description: Restricts registration user email addresses to @old.webit.ca
*/
add_option('limited_email_domains', array('old.webit.ca'));

Activate the plugin and you’re good to go.

Custom Pagination Plugin for WordPress

Monday, August 24th, 2009

Download: Custom Pagination Plugin, Version 1.0

With the Custom Pagination plugin, a user may customize the look of a post’s next and previous links using the HTML editor. It was built by WebIT.ca and funded by DateDaily.com: an online dating and relationship blog.

(more…)

Choosing a Content Management System for Online Publishing

Sunday, June 7th, 2009

Choosing the right CMS (Content Management System) is a necessary step when first starting a site, however small or large. Whatever the system chosen, your primary goal should be to minimize operation cost and increase productivity.  Here is a list of frequently requested core features to satisfy either or both of your goals.
(more…)

Expanding the CMS for new Content

Sunday, March 29th, 2009

A CMS is often expanded when the site requires tools to help publish existing content or introduce new content. Too often, however, the developers are asked to upgrade the CMS without first an idea of what the content is or how it will be presented or used. This inevitably leads to poor development, rewriting and late delivery of a project.

(more…)

Working in Publishing as a Developer

Thursday, March 5th, 2009

Whether you’re starting for a top-down, old-style, publishing company or you’re joining a collaborative blog , your tasks as the developer can be grouped into four broad categories. Let’s explore these responsibilities and challenges of programming for a publishing company.

(more…)

The Stale Date

Wednesday, February 18th, 2009

The problem: some articles stick around on a top articles widget (see graphic) for too long. How do you indicate that the article should disappear from the widget and give way to newer content?

(more…)