Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Blog extension 0.9.8

1356789

Comments

  • No I'm not asking about universal bookmark like http://addthis.com/, just something more simple and flexible to bookmark the post to "digg" "del.icio.us" etc. And about where it will be displayed, I think under "Comments or to the right of the post title. I've a bookmarks code which I'm using on my current test site and thanks to your "Nuggets", I've cooked an awesome bookmarks! :) if ur interested, I'll give it to you.
  • The link or the icon should take you to the page with comments, thanks.
  • I'm thinking bribes will help?
  • @Schizo

    I agree this toolbar is pretty cool. Clear & simple, it would be perfect to replace the BBInsert Bar which needs a BIG update since a while.

    For BBCode & Textile, I guess you're speaking about a next version? Because at the moment the only formatting option which works for me is HTML. Maybe I forgot something.

    And about more advanced features, well... The one I'd really love to see is the draft thingy. Now it's perfect for a unique author, but in my case I'd like to make things more simple for some of my users. With Steve's extension it took a long time to explain they first need to write and discuss their drafts in the "Authors/Draft" category, then to edit their post and set its category to the "Blog" category in order to publish it.

    Ideally you could still use a Blog and a Drafts category. The detail that would make the difference would be something like a checkbox, like "Publish this as a blog post" which would only appear for the autors role and in a dedicated "Drafts" category, visible ony to authors.

    Dunno if i make sense, I'm sorry but I've no time to make a mockup right now, I'll try later.

    Anyway this is already great. I mean, with this and Nuggets, you almost turned Vanilla into a CMS :)
  • Drafts mode is more than a simple checkbox. I have to provide a way to manage them as well.perhaps a Link in the sidebar called "Drafts" u click on it and it spits out a list of all ur draft posts. You can then edit the ones u want and select "Publish this post". Also have to figure out how to manage role permission for drafts posts. I cannot use whisper cause whisper is one to one, not many to many.
  • edited April 2007
    MSchB, great! that's what i meant, no need for further explanations :)

    (just to play a perfectionist. if you are keeping the dropbox menu for the date-format, maybe you include another one for the separator. so that people could choose between, say, "," ":" "/" or "|". and timezone-adjustment, maybe. since users may come from different timezones, so this cannot be done of a forum-based level and has to be on the posting user side. also, this, ideally, can be used for backdate posting.)

    :)
  • edited April 2007
    crazy idea (perhaps). now that the blog extension is almost here, is it, in principle, possible to implement an option of posting to the forum (blog category included) from an email-client (or a blogging client, like ecto for mac)? imagine the possibilities :) replying to the email notification about new postings (Notify extension) right from where you got it...

    (this way you can have all or some of the draft, formatting timeadjustment, etc. options on the posting-client side)
  • edited April 2007
    @Zero textile works and also markdown they work fine. permalink page added, Date is now a textfield No time yet
  • @MySchizoBuddy - Is there any way we can get some sort of paragraph support for the front blog page? Right now it doesn't seem to recognize the line breaks and runs everything together.
  • yep, works great, except for the line breaks.

    also, MSchB, i know this can be done individually through the style.css file, but won't you consider moving the mini-sidebar (date, user, permalink, comments) to the right of the entry. the thing is, now the main panel is needed since it contains recent posts and some controls. so, hiding it in't really an option. but in terms of the overall layout, i think, it would be better if the big panel were on the left side and the mini-sidebar on the right. would have looked as a three-column layout
  • and, yes, about this "more" tag. it doesnt show up on the permalink page. but does in the discussion view (when you get there to edit the entry or to add comments)
  • edited April 2007
    also, i don;t know about others' preferences, but i think the 'read more' link should lead to the permalink view and not to the discussions one. that's the whole point, isn't it? - you read the blog-entry as a stand-alone item first. and only once you start commenting, you get to the forum layout.

    in this case, the discussion view doesn't have to display the whole entry at all and may include only the part before the "more" tag. which would solve the tag issue as well

    so, to recap:
    'read more' --> permalink view
    discussion view includes only the teaser, before the 'more' tag

    (and i don't know about the latest entries link. should it lead to the permalink page or to the discussion thread? it seems, permalink is more logical, provided users are interested in reading first and only then - commenting)

    (?)
  • edited April 2007
    oops, in Blog Settings, the 'display recent blog entries in the panel' option doesn't seem to work. i switched it on successfully, but now cannot switch it off. (in fact, if you untick the 'included in the discussions' box, then latest posts do not show up even if ticked.) and btw, is it possible to assign a specific weight (to speak the Nugget language) to the latest posts option? what if i don't want it to appear on top of the list? also it seems to be logical to have an input field on the number of recent entries to be displayed...
  • edited April 2007
    further inconsistency in the handling of links

    (i'm really sorry, but i like it so much :))

    the two "start a new blog post" links lead to two different points which is not logical.

    if you click the link from under the 'blog' tag, it takes you to the usual 'start a new discussion' spot where you have to select the category and all the rest.
    if, however, you follow it from the permalink page, it leads you to the blog-specific form where you only have to put in the title and the entry. which is more logical, since the link is 'start a new blog post' and not 'start a new discussion' one

    :)
  • edited April 2007
    and if you do this, i'll drop my wordpress blog altogether :)

    since we are talking about blog-entries which may be larger than discussions-comments, it would have been great to have an input-option which they have in omni-web. that is, rather than typing in the entry (or copy-pasting it) you get it from the specified text-file. (don't know whether it sounds clear, but check the omni web if it doesn't :))
  • one more thing :)

    GuestWelcome mesage (if enabled) does not appear under the blog tag. not fare :)
  • alast ur pushing this into bloatware regime.
    more features doesn't mean anything if people don't know how to use it. (Steve jobs)

    i'll look into the guestwelcome message thingy and other bug u mentioned.
    Any more features will require a database table.
  • edited April 2007
    'cmon - just brainstorming :)


    if seriously though, most of the features i mentioned can be already implemented through some integration of your stuff and squirrel's Janine (you'll need a Wp blog for that, but that ives you the tables, actually)
  • edited April 2007
    Brainstorming is good. continue please

    ok removing latest blog post thingy
    use NUggets to add it
    copy paste this in ur panel nugget
    <?php $DiscussionManager = $Context->ObjectFactory->NewContextObject($Context, "DiscussionManager"); AddLatestBlogPostToPanel($Context, $Panel, $DiscussionManager); function AddLatestBlogPostToPanel (&$Context, &$Panel, &$DiscussionManager) { global $Panel; $LatestBlogPostList = ""; $Discussion = $Context->ObjectFactory->NewContextObject($Context, "Discussion"); $LatestBlogPost = $DiscussionManager->GetDiscussionList(5, 1, $Context->Configuration["BLOG_CATEGORY_ID"]); while ($Row = $DiscussionManager->Context->Database->GetRow($LatestBlogPost)) { $Discussion->Clear(); $Discussion->GetPropertiesFromDataSet($Row, $Context->Configuration); $Discussion->FormatPropertiesForDisplay(); $LatestBlogPostList .= '<li><a href="'.GetUrl($Context->Configuration, "comments.php", "", "DiscussionID", $Discussion->DiscussionID, "", "#Item_1", CleanupString($Discussion->Name)."/").'">'.$Discussion->Name.'</a></li>'; } $LatestBlogPostList .= '<li><a href="'.GetUrl($Context->Configuration, "extension.php", "category/", "CategoryID", $Context->Configuration["BLOG_CATEGORY_ID"], "", "PostBackAction=Blog").'">Show all</a></li>'; echo $LatestBlogPostList; }?>

    if u want more than 5 changet the 5 to some other value
    in this line $LatestBlogPost = $DiscussionManager->GetDiscussionList(5, 1, $Context->Configuration["BLOG_CATEGORY_ID"]);

    won't show up in the permalink page. I will have to change the permalink page now. or get ride of it :)

    and a new .htaccess entry
    RewriteRule ^extension/category/([0-9]+)$ extension.php?CategoryID=$1 [QSA,L] RewriteRule ^extension/category/([0-9]+)/$ extension.php?CategoryID=$1 [QSA,L] RewriteRule ^extension/discussion/([0-9]+)$ extension.php?DiscussionID=$1 [QSA,L] RewriteRule ^extension/discussion/([0-9]+)/$ extension.php?DiscussionID=$1 [QSA,L] RewriteRule ^extension/([0-9]+)/([0-9]+)$ extension.php?CategoryID=$1&page=$2 [QSA,L] RewriteRule ^extension/([0-9]+)/([0-9]+)/$ extension.php?CategoryID=$1&page=$2 [QSA,L]
  • edited April 2007
    @alast u can call me MSB or Schizo, this "MSchB" makes no sense :P

    guest welcome or any other extension for that matter don't work on Extension.php.
    Mark provided us with extension.php as a clean slate where we can do whatever we want without other extensions mucking things up.
    If u want guest welcome to work on ur blog tab then u have to add extension.php in the allowed array
    its pretty easy open up the default.php file u should see it where u should be adding it.
This discussion has been closed.