New Blog Defaults Bug Fix – Yet Again

My coworker discovered another bug. (Thanks, Kevin.) Apparently, after a user created a new blog, they were being directed back to the main blog on the congratulations page.The latest version fixes that issue.

Get the code here: http://wpmudev.org/project/New-Blog-Defaults

Advertisements
Leave a comment

10 Comments

  1. Martin

     /  July 31, 2009

    Even with the latest version downloaded I get an error after creating the blog: ths site goes error 500, but actually the blog is created. So something in the end makes this problems.

    Reply
  2. Martin

     /  July 31, 2009

    Now I figured it out!

    If I change the value of “Default Category” or/and “Default Link Category” to a string with Swedish characters like ö,ä,å then I get 500 error on when the blog is created.

    Reply
  3. Interesting – I’ve not done anything with any language other than English. I’ll take a look sometime next week and see if I can figure out what’s up.

    Reply
  4. Another thing is that for a non-english language you can set whatever you want for “Default Link Category”, it will not change 😦

    Reply
  5. Ray

     /  August 19, 2009

    Hi Deanna,

    I’ve noticed a somewhat “bug”.

    If you’re using BuddyPress and a user creates a new blog from BuddyPress, the user has an option to choose the privacy setting.

    However, the “New Blog Defaults” plugin overrides whatever privacy setting the user chooses at the “My Blogs > Create A Blog” stage in BuddyPress.

    Let me know if you have any questions.

    -Ray

    Reply
  6. Ray – I should probably have a note in there like I do with the title. Because of where the hook to run stuff on blog creation happens, I’m not sure there’s much I can do about overwriting…. And, I’m not sure how it should be implemented… I kind of see this “the way it should work” – in other words, if the site admin is saying, “all new blogs are private” then, users shouldn’t be able to override it on blog creation. They should be able to override it once a blog is created if they want. And, they can via settings. Does that make sense?

    Reply
  7. Martin,
    I tested setting the default category to öäå and it didn’t cause any issues for me. I’m running the site in English and with subdirectories. So, it may be an issue interacting with language packs or something. I’ve really not done anything with internationalizing….

    Reply
  8. Hi Deanna,

    Quick feature request for your plugin…

    For WPMU users who also use bbPress, the integration requires that all new users become subscribers to the main WPMU blog, which no longer happens automatically.

    Can you add a checkbox to your plugin which calls a the add_user_to_blog function? I tried to hack it myself, but am coming up short.

    See this post for more info:
    http://premium.wpmudev.org/forums/topic/adding-all-new-users-to-main-blog

    Thanks so much,
    Nick

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: