Sitewide tags pages for WordPress MU

For WordPress MU only. My latest plugin is the sitewide tags pages plugin.

This is the initial release of a plugin that creates a set of pages like the WordPress.com Hot Topics pages. It’s a lot more simplistic, but by feeding posts into one blog it also creates a sitewide feed of all posts plus feeds of any tags and categories too.


Sitewide Tags Options

WordPress MU is a multi blog version of WordPress that runs on WordPress.com. If you use the regular version of WordPress this plugin is not for you and you can ignore this post.

PS. In other MU news. Raanan has a new post on the Publisher Blog about Nationen! blog, a new Danish blog site based on WordPress MU that looks rather nice!
The site was developed by Incsub who are also the guys behind wpmu.org where you’ll probably find all sorts of useful nuggets of MU goodness on a regular basis!

139 thoughts on “Sitewide tags pages for WordPress MU

  1. Donncha – your comments are interesting (and rather worrying from my perspective!), but I’ve honestly noticed absolutely NO problems with Multisite Manager.

    We now have 12 different ‘sites’ (with parked domains on our VPS), numerous subdomains hanging off each site and users logging on and maintaining their own blogs. Plugins seem to be happily managed via Plugin Commander on a blog-by-blog basis along with Custom Themes etc. In fact the only issue has been with the Sitewide Tags plugin!

    At the moment we’re not really in a position to switch to any other method of creating sites (what with also having to think about what happens to our existing sites in the process) and as I say it all seems to work fine. Additionally I’m not sure the Domain Mapping plugin is quite robust enough yet for our clumsy hands!

    But at least I know that our set up is probably not suitable for the Sitewide Tags plugin in any case.

  2. Hi there!

    Can someone help me out, please?

    I’ve installed this plugin, and I’m not sure if it’s working…

    The main site is at http://artcider.com/ and the tag page made by the plugin is at http://tags.artcider.com/

    Since I have installed the plugin, I have made two posts, and the tags page does not seem to be indexing anything.

    Can anyone tell me what should be happening, what to expect etc?

    I need to get this working, in order to use the Sitewide Multi Widget (http://wpmudev.org/project/Sitewide-Multi-Widget).

    Regards.

  3. Heya Herb,

    Checked, and they weren’t set to privtae :\

    Arggh!! I really want to get this working, any other ideas/suggestions?

    Regards!

  4. Cas: ok let’s go over some obvious check lists then.
    1> you installed latest version of plugin right?
    2> it’s placed into your mu-plugins folder?
    3> you activated it in site admin-options right?
    4> test post with another new subdomain blog.

  5. 1> I have Version: 0.3.1 – is this the latest?
    2> It’s placed in mu-plugins folder.
    3> Is activated!
    4> Ah! Got to your 4th check, and it seems to have worked… i made a post from testblog123.artcider.com and it has appeared on tags.artcider.com

    I wonder why the main posts aren’t showing? Good to see results! What do you think could be happening with main blog on artcider.com

    Thankyou!
    Cas

  6. Cas: Now we’re getting off topic. =) It defaults to private. The decision to turn it on and off would be for SEO reasons. Do some research on that topic first, good luck! =)

  7. Hi,
    Just looking for clarification on the tag cloud link issue.
    I’m using v. 0.3.1 of Sitewide Tags, and the same problem came up when using the tag cloud in sitewide-multi-widget. (Tags pointed to wrong page: myblogs/tags/blog/tag/mytag instead of myblogs/tags/tag/mytag.)
    As with DSader I was able to fix this by setting the permalinks in Blog 1 to default.
    Does this mean I am storing up trouble in the db as described by Dsader above?
    Thanks.

  8. Still trying to resolve issue above – I updated my WPMU to 2.6.3, but this didn’t seem to help. I would like to have “nice” permalinks if possible.

    Any idea why my tag cloud links point to:
    myblogs/tags/blog/tag/mytag
    instead of:
    myblogs/tags/tag/mytag?

    It seems to be working fine on the front page of WordPress.com…! Perhaps they are using a different solution?

    Thanks for the plugin anyhoo.
    Mike

  9. I too had the extra /blog/ in the tag cloud issue. I ended up cheating the other end by setting the Tag Base to /blog/tag/ in the Global posts blog Permalink settings. I’m guessing this will clash if the root blog ever gets used, but no plans to do that at the moment.

  10. Hi Seb,
    Thanks for the workaround suggestion.
    I’m still digging into this when I have time. I’m guessing the problem is with switch_blog() which is called by the widget, as cloud tags works fine when called from their own blogs, and don’t put that extra ‘blog’ into the url.
    Will post any fixes if and when I find them.

  11. Looks like it’s happening in the get_tag_permastruct() function in wp_rewrite (called by wp_tag_cloud()). Maybe switch_blog() has no effect there?

  12. Yes, I agree Mike. I think it’s a bug in switch_to_blog() that doesn’t load in the setting for the tags permalink of the blog you’re switching to (seems to stick with current one – but not really tested in depth – certainly /blog/ (which is it seems to be using) looks ‘hard wired’ into the root blog). I guess I should report it, but still new to this, so didn’t want to rush in and embarrass myself.

  13. Hello
    I have installed you plugin, but it only seems to be pulling from only one of the blogs and it is listing them oldest first. I was refered to you plugin via the WMU forums. Here is hwat I am trying to do.

    I want a way to display the post recent posts made in the WMU, to a page out side of WMU?

    Example

    Recent posts for blogs.sitename.com
    display on sitename.com

  14. I like the sitewide tags plugin!

    sitewide tags copies a blogentry to the main blog.

    When using a the plugins ‘gd star rating’ or ‘wp-postratings’ each blogitem have 2 rates:
    one on the mainblog and one on the individual blog.

    How can we resolve that?

  15. I´m happy with the sitewidetags-plugin and use it for months now to send copies of posts to the main blog. The main blog serves as simple starting-page for my platform.

    Today I found that when the copy-post to the main blog is generated it seems that search engines are pinged for the copy-post as well. Is there an easy solution to prevent this w/o setting the main blog to private ??? – This would be a bad solution due to no-follow-tags on the starting-page.

    Recommendations welcome.

    Best regards,

    Andreas

  16. I have a problem: I am building a big site with the sitewide tags plugin pointing to the main-page. Perfect for tags, search, sitewide-stream etc.

    BUT from time to time – I don’t know why, it switches the privacy in one of the main-blogs to private and all the sitewide-entries are deleted. It seems forever… 🙁

    HELP!!! 1. Can I fetch somehow the existing posts (that they show up again)? 2. Can I disable that, so that the posts just stay – even if a blog is turned by accident to private?
    Please – those are two VERY important questions for me and I am kind of desoalte right now cause I lost hundrets of articles, tags etc in the main blog that way…

    THANKS for HELP!
    Michael 🙂

  17. Miguael – there isn’t any code to import existing posts, but you can disable the privacy check by commenting out this line:

    add_action(‘update_option_blog_public’, ‘sitewide_tags_public_blog_update’, 10, 2);

    Anyway, you have the source code to the plugin, so you can do whatever you like. 🙂

    Andreas – disable the pinging option in the settings page for that blog?

  18. Thanks alot – it works now. With the new bulk-options i just updated all the articles and now it works fine. PERFECT! You saved me (twice: first with your plugin, second with your advice). Thanks

  19. @Donncha, Mike and Seb Crump

    I have the same problem with the extra blog/tag/ in the tag cloud when i display it on the frontpage of my WordPress Mu + Buddypress Installation. Is there any solution?

  20. I have a small problem, after creating tags blog, and looking around inside it, I have check’ed “Post to main blog” check box in Site Admin/Options.
    After that I can’t change its value (only manually in site database).
    Matew

  21. I installed this plugin. Then I go to the url which is http://tags.mydomain.com. But it showed me this error.

    The blog you have requested is not installed properly. Please contact the system administrator.

    I am usting WPMU 2.7.1, BuddyPress 1.0

    http://wpmudev.org/project/Sitewide-Extended-Categories-Widget

    But currently it doesn’t show me anything in the category. Is it because of the blog is not installed proplery ? Or Any idea please ? Thanks.

  22. I am having the same problem as apaung. Sitewidetags works fine in my dev setup but not my prod one. Any idea what could be causing the issue?

  23. Hi Donncha, firstly thanks for the Domain Mapping plugin. We’re using it on our site and it works a charm!!

    Anyway, that was off topic!

    I’ve installed this plugin on our site. The Global Posts blog was created with no problems at all…good start!

    However, we’ve noticed that the global_tags table has not been created in the global DB. I’ve had a good look around for a solution and can’t seem to find anything appropriate, so your help would be really appreciated 🙂

    If it makes a difference, we’re using the premium.wpmudev Multi DB plugin too

    Cheers for all your great work!

    Sam

  24. Hi! I’ve noticed that when different blogs on our MU install post and our root blog makes an entry using sitewide tags that sometimes random categories are also being created. They always take the form of the number such as 123, 66, 84, etc. The numeric categories don’t show up on the original blog or in their dashboard, it only shows up on our tag blog, which happens to be the root or main blog of the install. Any ideas on why this might be happening or if anyone else might have experienced this? Any feedback appreciated!

  25. Hm… Now that you mention it, Trace, I see it too. Weirdness. We aren’t really using the categories on our tags blog. But, I could see where it would be an issue.

  26. Donncha,
    Really love this plugin. Been using it for my web site’s landing page. Was wondering if there is a fix that would enable the Sitewide tag page to show the number of comments for a specific post? A post that appears on one of the blog pages will show there are comments pertaining to specific posts, but on the main page that shows the sitewide tags, the same post will say “no comments”. Hope this is clear. Thanks for the help!
    -Jean

    1. That isn’t supported but it might be difficult to keep comment counts synced or if done with switch_to_blog() it’d be so slow that a busy tags page would hurt your server performance. Best to just remove the comment count from the tags blog theme I think.

      1. Thanks Donncha! I took your advice, very happy with the result. Fairly simple fix for those looking to do the same. Since my homepage used the same theme as the blogs on the site, I copied the theme folder, edited the index.php file. Look for the code:

        Delete that line, save and download the new theme folder back into wordpress. Activate and you’re done.

  27. Donncha,
    This seems like a great plugin. Thank you! I’m having a bit of trouble getting things set up (trying to copy subdomain posts to main blog), and hoping you can help. I have a number of custom fields (created via Custom Field Template) and cannot seem to figure out how to get them to be copied along with the other post content. I’ve tried entering the field names (institution, department, trainingtype, etc.) in admin settings area for post meta (one per line), but no luck…perhaps I’m using the wrong format? Also, when writing or editing a post now, any content entered into those custom fields will not save (it goes away upon clicking Publish/Update). I’m guessing these two things are related, but can’t get it figured out. Please HELP if you can! Thanks in advance for any guidance.

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close