• PHP
  • Ruby on Rails
  • MySQL
  • Linux
    • SELINUX
    • Fedora
    • debian
  • Apache
  • nginx
  • AJAX
Albertech.net

Tag Archives: Plugin

WordPress RSS Cache issue

May 12, 2010 4:24 pm / Albertech.net

As an administrator for a WordPress MU install, I’ve been getting comments about the RSS feed in WordPress not fetching the latest feeds. The RSS feed information that appears on the page ranges from a fetch that is a few hours to a day old. I’ve confirmed this is an issue with 2.9. This is an issue for blogs that need to pull alerts from an RSS feed within a timely basis, e.g. every 10 minutes.

The workaround to this is to use the KB Advanced RSS feed plugin instead of the one that’s in WordPress. Replace the RSS Widget in Appearance ->Widgets with the “KB Advanced RSS” widget.

If you are using WordPress 2.8+ and want to set the cache to refresh more frequently, go to /wp-content/plugins/kb-advanced-rss-widget/versions/wp-2.8.php

Find this code:
// Regardless, we’ll flush the cache every hour. (WP should flush hourly on its own, though.)
$cachetime = get_option( $this->md5_option_ts );
 if ( $cachetime < ( time() – 3600 ) ){

Change the 3600 to the number of seconds you want the cache to refresh. For instance, 600 for 10 minutes. The plugin uses its own RSS caching system.

I give this plugin 5  out of 5 stars.  It works fine with WordPress 2.9.2 and WordPress 2.9.2 MU (even through the documentation states compatibility  up to 2.8) Formatting options, conversion to UTF-8, reverse listing option, and well commented code.

References:
 http://wordpress.org/extend/plugins/kb-advanced-rss-widget/

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: PHP, wordpress / Tagged: plugin, reviews, rss, wordpress

WordPress MU: Add private blogs

April 21, 2009 12:40 pm / Albertech.net

I have found a really useful plugin in WordPress MU for making a blog private. Sometimes, committees need a way to share information away from home and they don’t want everything posted to be known by the world. Rather than using the “Password protect post” option, there is a way to only allow registered users that are members of the blog to view the post.

By default, the privacy options in WordPress MU is limited to 1) Public, allow search engines 2) Public, don’t allow search engines.

http://wpmudev.org/project/More-Privacy-Options

This plugin adds functionality:
3) I would like my blog to be visible only to registered users from blog community
4) I would like my blog to be visible to registered members of this blog
5) I would like my blog to be visible only to administrators

To install:
1) Download the plugin file.
2) Copy the plugin file to the plugin folder in WordPress MU
3) In the Plugin interface in WordPress MU, activate the “More Privacy Options” Plugin
4) In the Privacy option of the blog (under Settings -> Privacy) you will have the additional privacy options. Select the “I would like my blog to be visible to registered members of this blog
I would like my blog to be visible to registered members of this blog” option.
5) Note: AFAIK, this is on a site by site basis, so will need to enable this plugin for each blog you want to add it to.

Update 4/28/2010:
If you upgrade WordPress MU to a newer version, you will need to set the “Privacy Settings” again. Occasionally, the WordPress upgrade will reset the privacy settings back to default.

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: CMS, PHP / Tagged: plugin, privacy, private blog, wordpress mu

Categories

  • AJAX
  • Android
  • Apache
  • Canon Cameras
  • Cloud
  • CMS
  • Computer Mods
  • Conferences
  • Deals
  • debian
  • Fedora
  • Flash
  • Frameworks
  • git
  • Hardware
  • HTML
  • IDE
  • iPhone
  • iPhone App Review
  • jQuery
  • Linux
  • Mac OS X
  • MySQL
  • nginx
  • PHP
  • portfolio
  • Puppet
  • Ruby on Rails
  • Script Reviews
  • SELINUX
  • Software
  • Software Review
  • SQL Server
  • statistics
  • Tech
  • Tomcat
  • Uncategorized
  • VMWARE
  • VPS
  • Windows
  • wordpress
  • Zend Framework

Blogroll

  • DragonAl Flickr
  • Dropbox – Free 2GB Account
  • James' Blog
  • Javascript Compressor
  • PHP Builder Community
  • PHP-Princess.net
  • Rubular – Regular Expression Validator
  • The Scale-Out Blog
  • Tiny MCE

Tags

activation AJAX android antec Apache AWS awstats canon coda codeigniter debian enclosure external free G1 install vmware tools Internet Explorer iphone 5 jquery Linux mx-1 MySQL office 2007 OSX photoshop PHP plugin plugins portfolio redesigned website review rewrite script security SELinux ssh tinymce tutorial upgrade VMWARE vmware server wordpress wordpress mu XSS zend framework
© Copyright 2013 Albertech.net
Infinity Theme by DesignCoral / WordPress
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.