TRIPAWDS: Home to 25112 Members and 2176 Blogs.
HOME » NEWS » BLOGS » FORUMS » CHAT » YOUR PRIVACY » RANDOM BLOG

How Tripawds Got Their Feed Back

Tripawds bloggers may have wondered where their dashboard notice announcing the most recent Tripawds News blog post went a few weeks ago. If not, they’re certain to notice the new announcement listing the five most recent posts from all the Tripawds Featured Blogs.

Tripawds WordPress Dashboard Feed of Most Recent Featured PostsWith the WordPress 3.1.2 update, the “Dashboard Feed” option mysteriously disappeared, leaving site administrators no way to show recent posts in the dashboard of all blogs across the network. It left me wondering what the heck happened! I posted in the WordPress forums about our Missing Recent Posts Feed in User Dashboard, asking if anyone else noticed or had an answer as to why it was gone. Silence.

About a week later, one member finally confirmed the issue and came up with a fix. The solution, however, required hacking the functions.php file which would not work for this community since Tripawds members can choose from more than 130 blog themes. Thanks to our Supporter plugin from WPMU Dev, Tripawds Supporters have access to even more premium themes.

How to Show Recent Posts from RSS Feed in User Dashboard

Piet from WordPress Tips quickly developed this plugin to show the latest posts from the main site of a multisite install in the user dashboard of all sub-sites across the network. By default the widget displays the three most recent posts from the main site. While no configuration is required for those happy with these settings, the plugin can easily be modified.

Multisite Dashboard Feed Widget Configuration Options:

  • Edit msrss.php to add the feed of your choice. (Default: blog_id=1)
  • Edit msrss.php to change the number of posts displayed (Default: 3).
  • Edit msdbfeed.php to change the widget’s title. (Default: Recent Updates)
  • See installation instructions for complete details.

We took things a step further by adding the extra information and links shown below the recent posts, as shown in our screenshot above. We also created a created a custom feed for multiple blogs to use in the widget.

How to Create a Recent Featured Posts Feed

WPMU DEV - The WordPress ExpertsTripawds uses the Recent Global Posts Feed plugin from WPMU Dev to generate our feed for recent posts from all member blogs. This convenient plugin includes a Recent Global Posts Feed Widget for showing our global posts feed as a sidebar widget.

Tripawds Recent Featured Posts

When we wanted to only show posts from certain blogs in Piet’s Dashboard Feed Widget, however, I turned to the WPMU Dev Forums for support. As usual, masonjames had a quick answer for creating our Featured Blogs feed. Following his suggestions, here’s how I did it:

  1. Download the Recent Global Posts Feed plugin.
  2. Save a copy and rename the file “recent-featured-posts-feed.php”
  3. Edit line 3 to change the  plugin name (Plugin Name: Recent Featured Posts Feed)

Next, I added the specific blogs we wanted to include in the feed by editing line 58 as follows:

$query = $wpdb->prepare( "SELECT * FROM " . $wpdb->base_prefix . "site_posts WHERE blog_id IN (1, 167, 500, 138, 113, 262, 3) AND site_id = %d AND blog_public = '1' AND post_type = %s ORDER BY post_published_gmt DESC LIMIT %d", $current_site->id, $posttype, $number);

This is the key part where you will need to replace the blog IDs for sites you want included in the feed:

WHERE blog_id IN (1, 167, 500, 138, 113, 262, 3) AND

Upload the file to wp-content/ and check your new feed. It’s that simple. All thanks to our WPMU Dev Premium subscription!

WPMU DEV - The WordPress Experts

Download WordPress Guide To Easy Blogging

We considered posting this in the Tripawds Downloads blog, but it has much more to do with blogs than it is about three legged dogs.

Download Free WordPress Editors Guide

While we provide Tripawds bloggers with helpful WordPress tutorial videos, and do our best to answer any technical questions about blogging in the Tech Support forum, we want to provide more information for those who want it. That’s why we’re making this comprehensive guide detailing How To Publish a WordPress Blog available as a free PDF download.

How to Use WordPress Blog Dashboard

This comprehensive WordPress How To Guide covers everything you need to know about writing posts and pages, customizing your blog layout, moderating comments and much, much more. And did we mention it is absolutely free? This is just another value added service we are able to offer thanks to our WPMU Dev Membership.

How to Search All Tripawds Blogs

One of the new features we added during the recent News Blog makeover, was the ability to search all Tripawds Blogs.

Previously, members and guests of the Tripawds community could only search individual blogs, one at a time. Now all posts are indexed and searchable from Jerry’s Site-wide Search page in his Tripawds News blog.

This helpful functionality is now possible thanks to our Global Site Search plugin from WPMU Dev.

The plugin is not new, we’ve been testing it for a while. But it is now compatible with our SimplePress forums! It will not return search results from forum topics, but it no longer breaks the forum hierarchy, so we were happy to deploy it to make searching the Tripawds Blogs easier for everyone.

How To Search All Blogs

With more than 500 blogs and counting, it is now easier than ever to find what your looking for in the Tripawds WordPress multisite community.

Search All Blogs: Visit the Tripawds Site Search page to easily search all blogs at once. Results will be displayed with the post title, link, excerpt, author’s name, and the members user avatar. Please visit WPMU Dev for complete details about the Global Site Search WordPress multisite plugin.

Search the News Blog: In the sidebar of the Tripawds News blog you will find a search box that returns keyword results only from all of Jerry’s posts and pages.

Search the Tripawds Forums: Use the Tripawds Discussion Forums search function to find keywords, topic titles, or tags from more than 3,700 topics and nearly 50,000 posts (as of this writing).

Search Individual Blogs: If a Tripawds blog you’re reading does not have a search box in the sidebar, type the following into your browser to search all posts on that blog…

http://blogname.tripawds.com/?s=keyword

Substitute “blogname” with the subdomain of the blog you’re searching, and “keyword” with whatever you’re searching for. To search for multiple keywords, separate them with a plus symbol like this…

http://blogname.tripawds.com/?s=multiple+keywords

Here’s an example: http://killbarney.tripawds.com/?s=jerry+video

Any questions?

WordPress, Multisite and BuddyPress Plugins, Themes and Support - WPMU DEV

Stay tuned for details about how to search for Tripawds blogs and members – two more new features we recently implemented thanks to our WPMU Dev Premium membership.

An Overview of the New Tripawds

We did it! The long awaited theme overhaul for Jerry’s main Tripawds News blog is complete, and the votes are in. The majority of members agree that the site is easier on the eyes with a vast performance improvement.

WordPress, Multisite and BuddyPress Plugins, Themes and Support - WPMU DEVUpcoming posts here behind the scenes will detail the various new site enhancements, but here’s a brief rundown of the new and improved Tripawds Blogs community site:

Easily implementing all these new features were only possible with our WPMU Dev Premium membership. Most noticeable, however, is the site’s new look and feel.

We are now running WPMU Nelo as the active theme for the main site where we maintain the News Blog, discussion forums, chat room, galleries, videos and other health tips and resources.

With the help of WPMU Dev Premium developer richie_ks, I was able to customize Nelo to meet the needs of this community. Top concerns were an easier way to navigate the vast resources available, less clutter, and above all, better performance.

This makeover was a long overdue major undertaking. Over the past four years our original theme had become bloated and outdated, seriously impacting page load times. By customizing the already slim Nelo code-base, however, we were able to enhance the user experience while vastly improving overall performance.

While it is impossible to please everyone all the time, it seems at first glance that we have achieved the primary goal of this overhaul which was to speed up the forums. We look forward to hearing your feedback with a comment below or in this Tripawds site makeover feedback topic.

Stay tuned for complete details about all the new features, and how we did it. Or, read on if you’re a WordPress multisite administrator who may be interested in how we customized the Nelo CMS theme… though this project was yet another crash course in PHP and CSS for yours truly, below are just a few hacks I’m particularly proud of.

How to Add WordPress Site Stats to Theme Header

We liked how site statistics were displayed in some other WPMU Dev themes, but that wasn’t built into Nelo. With the get_sitestats function being native to WordPress, here’s how we added it the header.php template file to show the current members and users with links to each directory on every page.

<!-- stats -->
<div><?php
$stats = get_sitestats();
echo 'Currently home to <strong>'.$stats[ 'users' ].' <a href="https://tripawds.com/members/" title="Active Tripawds Members Directory">members</a></strong> and <strong>'.$stats[ 'blogs' ].' <a href="https://tripawds.com/blogs/" title="Active Tripawds Blogs Directory">blogs</a></strong>.'; ?></div>
<!-- stats -->

Easiest way to add Random Header Images

The WPMU Nelo theme allows for custom header image upload, but Tripawds members like to see the rotating photos. After searching far and wide for a random header image solution to match my programming skills, I found this simple random header image tutorial to keep these by disabling the theme’s header image options and editing header.php with this little bit of magic…

<!-- Random Headers -->
<img  width="900" height="200" alt="Tripawds Three Legged Dog Heroes" src="http://tripawds.net/wp-content/themes/wpmu-nelo-child/headers/header_<?php echo(rand(1,24)); ?>.jpg" />
<!-- Random Headers -->

In this generated image url, the rand(x,x) echo will randomly show images titled header_x.jpg, where x is any number from 1 to 24. Name your header image files following this protocol and let the script do it’s magic.

Edit Nelo Profiles Panel for Easy Site Management

One of the best new features the Nelo Theme offers is an optional Login / Profile Panel above the sidebar. Editing the profiles.php template file will make your changes appear on every page showing the panel. And since the identified user’s name already appears as a link to his or her profile, I added a direct link to the user’s main dashboard screen.

A Bit about child themes

Finally, Nelo is constructed with a parent / child theme structure. This will facilitate future theme updates by preserving any customization edits.  By editing the child-style.css file for instance, I was able to add nice rounded corners and a soft shadow to the site container, which you will see in Firefox and Safari, but not if you’re still using Internet Exploder.

Here’s what I did to properly use my customized version of nelo, while preserving edits during future updates:

  1. Upload both Parent and Child theme folders to wp-content/themes
  2. Activate child theme for site*
  3. Copy any template files from parent to child directory and make desired edits.

For complete details and ongoing theme support, I highly recommend a WPMU Dev Premium membership.

*We will not be offering Nelo as an available theme to Tripawds Bloggers, so I activated the Child theme from the Edit Site tab as Super Admin. This keeps it hidden from the Themes tab on all sub-sites.

Behind the Scenes is brought to you by Tripawds.
HOME » NEWS » BLOGS » FORUMS » CHAT » YOUR PRIVACY » RANDOM BLOG