Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Multiple Blogs

edited March 2011 in Vanilla 2.0 - 2.8
Hey, can I convert many categories to blogs?

Comments

  • It's definitely possible. It would be a pretty minor change to the plugin.

    There was an error rendering this rich post.

  • Can you post an enhancement request issue on the project page? Or if you are feeling adventurous, submit a patch?

    There was an error rendering this rich post.

  • May be add checkbox to category edit screen?
    I also want to see AllowDiscussions settings (as we have field in table for this already).
    And we need to change Vanilla handing of AllowDiscussions (today it just completely hides category). I just want it to be visible, but represented in other style in all lists, and without any link, just text, plus, of course it must be impossible to select it in dropdown list.
  • ddumontddumont ✭✭
    edited March 2011
    @tester13 I've been planning on changing config so that you can just select from the list of defined categories instead of having to try to discover what id to use.

    But what do you mean about AllowDiscussions? How do you want that to integrate with the NillaBlog? I don't know if NillaBlog is the best place to modify the behavior of that feature...

    There was an error rendering this rich post.

  • Considering multiple Blogs having parent category where users are not allowed to post is very useful. :-)
    As for AllowDiscussions - we need to change core anyway. Plus add checkbox for category (same as for your plugin will do to convert category to blog later).
  • @tester13 Ok well it sounds like that's a problem the permissions system needs to fix.

    There was an error rendering this rich post.

  • The changes for this are live on my site and have been committed to the open source project. I'm waiting for the next release of Vanilla before uploading a new version here. There are changes in the next Vanilla that they pulled from me so that I could do what I needed to do.

    There was an error rendering this rich post.

  • @ddumont What changes you mean?
    As I understand, unstable branch already have your fixes to core merged?
    So, may be it'll be possible to upload AddIn to your own site?
  • Yes if you take unstable vanilla and it has my changes, using the latest from my project should be fine.

    There was an error rendering this rich post.

  • @ddumont, do you think it would be possible to run multiple instances of the NillaBlog plugin? I want to turn a second category into a 'blog' but utilize a vastly different stylesheet than my first blog.

    Thanks for your help, the plugin has been a great asset!
  • ddumontddumont ✭✭
    edited June 2011
    @crmarks Hmm... No there's no way to specify what css classes should be used for each category.

    I could try to also insert a "NillaBlog#" css class where # is the discussion number and you can hand tailor your css to key off of that if you like? Does that sound like it will solve your issue? So some top level element would have
    class=" ... NillaBlog NillaBlog5"
    for example.

    There was an error rendering this rich post.

  • @ddumont If you think that's the easiest way to implement it, I can't see why that wouldn't work. If I understand correctly, I could simply add overriding CSS classes using NillaBlog# where # is the category #?

    I was thinking I'd have to duplicate the plugin somehow and customize the code, but CSS should be enough. Basically I'm looking to set aside a forum category as an articles section, and want a view similar to the Blog, but styled a bit different.
  • Yes, and you could do that for any category marked as a blog. I'll look into it.

    There was an error rendering this rich post.

  • ddumontddumont ✭✭
    edited June 2011
    @crmarks

    Try this: http://code.google.com/p/nillablog/source/browse/class.nillablog.plugin.php
    and let me know how far you get. Put a link here when it's all working so I can see what you did too!

    There was an error rendering this rich post.

  • Thanks so much! I'll try it out soon and report back!
Sign In or Register to comment.