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

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="http://tripawds.com/members/" title="Active Tripawds Members Directory">members</a></strong> and <strong>'.$stats[ 'blogs' ].' <a href="http://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="https://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.

Add ChipIn Widget To Tripawds Blogs

Let’s talk about widgets. Specifically, the 2010 Tripawds Campaign widget popping up all over the Tripawds community recently.

Tripawds is a user supported community, but we hate having to ask the community for support to keep this site up and running. So, the sooner we can reach our campaign goal, the sooner we can remove this annoying widget:

And here’s how you can help. In fact, here’s how you can add any widget to your Tripawds Blog sidebar. But let’s take a step back …

We are always happy to see new members join and create their own Tripawds Blog. But we are always surprised to see some of those same new blogs still have their default sidebars months later. We recommend all new bloggers view their blog and follow the helpful links provided in the default sidebars for doing things like changing the custom header, uploading user and blog avatars, and yes… updating the sidebars and widgets!

All blog themes available to Tripawds Bloggers include at least one sidebar. Widgets are sections that can be added to these sidebars from the Appearance menu of your blog dashboard. Standard widgets include a calendar for archived posts; lists for post categories, blog pages,  or favorite links (your blogroll); recent posts and comments; meta information; or any arbitrary text.

NOTE: Keep the Meta widget in your sidebar for easy access to your blog dashboard. If you remove it, you can always visit your dashboard at yourblog.tripawds.com/wp-admin

Simply drag the widget you want to the preferred location in your desired sidebar, and “drop” it. Configure any available settings, click save and visit your blog to see the changes.

The text widget is the one we’ll be using in our example here. Follow the instructions below to help show your support for the 2010 Tripawds Community Campaign by adding the ChipIn widget to your sidebar.

How To Add Chip In Widget to Blog Sidebar

  1. Copy the ChipIn embed code by clicking the “copy” link in the widget above.
  2. Visit your blog Dashboard -> Appearance -> Widgets tab.
  3. Expand the sidebar where you want to add the widget (If it is not already visible).
  4. Drag the Text widget to the desired location of your sidebar. (A dotted line will represent where it will appear.)
  5. Release the widget and an expanded field will appear.
  6. Add a title to your new widget. (i.e.; Help Support Tripawds!)
  7. Paste the entire ChipIn code you copied into the content area of the new widget.
  8. Click Save, and view your blog to see the changes.

You should notice the new sidebar widget in your blog, just like in the right sidebar of this blog. (NOTE:  If widget is missing here, the campaign must be over!) Don’t forget to remove the widget when we reach our campaign goal so we can stop begging for help. Thank you for yor continued support.

Any questions? Ask with a comment below or in the Tripawds Tech Support forum so we can share the answer with the community. If you’re wondering what the heck ChpIn is, click the “about” link in the widget or check out the Tripawds ChipIn Page for complete details.

New features in WPMU 2.9.1

In his post about how to add commentmeta tables to your WordPress MU database, Donncha said …

…nothing quite like the stress of upgrading and finding that something has broken.

So true. I’m just happy nothing broke during our recent upgrade to WPMU 2.9.1, because apparently the upgrade function can choke when creating all those tables. We have over 160 blogs and all went well, but Admins for large MU sites should take care to run the script Donncha provides before upgrading. Then they should also skip ahead to WordPress 2.9.1.1.1.1.1.1.1.1.1.1.1.1. Supposedly this will be the last release before the big merge.

WordPress MU 2.9.1 New Feature Overview

What does all this mean for Tripawds community members? Just that we are successfully running on WPMU 2.9.1 now, which includes some great new features in addition to various bug fixes.

Video embedding made simple

WordPress 2.9 introduces native video embedding! Now all Tripawds Bloggers can easily insert a video from sharing sites like YouTube, simply by adding the video URL to their post …

See! It’s that simple. Just copy and paste the video page URL onto a new line in your post and the video will be automatically embedded. It is important that the video URL be on a line by itself and that the text is not wrapped in any tags, so don’t style it or link it to the video page itself. Native video embedding supports the following video sharing web sites: YouTube, Vimeo, DailyMotion, blip.tv, Flickr (both videos and images), Viddler, Hulu, Qik, Revision3, Scribd, Photobucket, PollDaddy, Google Video, WordPress.tv.

Viper’s Video Quicktags Enhance Embedded Videos

So what does this mean for Tripawds Supporters who have been using the Viper’s Video Tags plugin? Just that they now have advanced control over how their videos appears if they choose to continue using it. Viper wrote the new native object embed code, so his plugin is completely compatible. Supporter blogs can still embed movies and have additional video sharing sources to choose from. Supporters also have the ability to embed raw Flash video files, and have much more control over how their videos display …

Viper’s Video Quicktags plugin allows embedding from the following video sharing web sites: YouTube, Google Video, DailyMotion, Vimeo, Veoh, Viddler, Metacafe, Blip.tv, Flickr Video, IFILM/Spike, MySpaceTV, Flash Video (FLV).

Viper’s Video Quicktags plugin has been disabled. WordPress now supports auto-embedding of videos.

WordPress MU Blog Dashboard Trash Can

Tripawds Bloggers will also now notice a Trash link when managing posts and comments on their blog. This allows for the removal of items without immediately deleting them. The Trash can (and should) then be emptied periodically to permanently deleting the unwanted items. This protects bloggers from inadvertently deleting valid comments or valuable post drafts.

Issues with New WordPress Image Editor

One of the most anticipated feature enhancements has to be the new Image Editor built right into the WordPress Media Library. There have been a number of reports, however, regarding difficulties so we will report back with an update on that. For now, feel free to provide feedback in the forums.

Who needs domain mapping?

I wonder just how many Tripawds Bloggers might consider upgrading with a Supporter subscription if they could have their very own custom domain mapped to their blog. And by that, I mean how many would like the idea of blogging about their pups at yourblog.com instead of yourblog.tripawds.com.

The answer will determine whether or not we implement the Domain Mapping plugin from WPMU Dev Premium here. It integrates with the Premium Supporter plugin we use, and would enable Tripawds Supporters to enter their registered domain name and have their blog appear online at that address instead of here at theirblog.tripawds.com. Domain registration would be  necessary of course, with just minor edits to the DNS record at the registrar.

So, really cool new feature? Or, more hassle than it’s worth?

In the meantime, I’ll explain what I did to redirect our parked domains to this WPMU install. Any WordPres MU site admin who searched and found this post may now be saying, “You can’t do that” and they are right. That’s why we’re considering the Premium Domain Mapping plugin. At which point they may now be saying, what about Donncha’s free WordPress MU Domain Mapping plugin? Well, as I mentioned, we’re considering adding this to our list of Supporter Blog features. But there I go digressing again …

How to Redirect Parked Domains to WMPU Site

After discovering that our parked domains were redirecting to the WPMU sign-up page instead of the primary blog index as expected, I searched the WordPress MU support forums and discovered that this was actually expected behavior after all. So I did some homework and figured out a work around.

Remove parked domains…

The first thing to do when redirecting parked domains to a WPMU site is to unpark them. Access your your cPanel account and remove the parked domains you want to redirect to your primary blog, assuming they are already parked there.

Next, click the Addon Domains button in your cPanel account. Here you will create add-on domains for all those you have registered and want to redirect to your primary blog.

cPanel Addon Domains

Once you have added the domain, return to Addon Domains and select Manage Redirection. Redirect the new domain you just added to the root of your primary blog (or wherever you desire) and click Save. That’s it!

You will notice in the screenshot that I renamed the file directories in my document root to keep folders for all the addon domains nice and tidy together. They will all reside in the public_html directory where you installed WordPress MU.

This method proved quick and simple for me. And you will now notice that tripawds.org and tripaws.org now both successfully redirect to tripawds.com. It’s a workaround, and it’s not true domain mapping as you will notice in the address bar, but it does the trick for us. If more than a handful of members are interested in upgrading to have custom domains for their blogs, I can just remove these Addon domains and install the Domain Mapping plugin.

How to automatically redirect web pages

Another option I considered before figuring out this workaround, was to set up hosting accounts for the parked domains and add static pages for auto redirection. Below are a few methods for doing that if anyone is so inclined.

Manual URL Redirect…

The simplest way to redirect visitors from any web page to another is with a manual URL redirect, forcing them to click a link to proceed:

Please follow <a href="http://www.example.com/">link</a>!

Redirect Domain using Refresh Meta tag…

Using the “meta refresh” method, it is possible to specify the URL of the redirect page, thus replacing one page after a specified time by any other. A timeout of 0 seconds means an immediate redirect:

<head>
<meta http-equiv="Refresh" content="0; url=http://www.example.tld/">
</head>

Auto-Forward web page using PHP…

In PHP, header() is used to send a raw HTTP header to the browser. Using the location function, this can be used for auto-redirection. Note that header() must be called before any actual output is sent:

<?php
header("Location: http://example.tld/");
?>

Redirect web site using .htaccess…

There are many methods to redirect a web site using the .htaccess file. Adding this to the .htaccess file of the domain you want forwarded is the most basic:

# redirect entire website to another domain
Redirect 301 / http://example.tld/

Permanent redirect HTTP Status C0de 301…

Adding the HTTP 301 Status code to any web page before the opening <head> tag will result in immediate and permanent redirection:

HTTP/1.1 301 Moved Permanently
Location: http://www.example.org/
Content-Type: text/html

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