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
This discussion has been closed.
Comments
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
(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.)
(this way you can have all or some of the draft, formatting timeadjustment, etc. options on the posting-client side)
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
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)
(?)
(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
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 )
GuestWelcome mesage (if enabled) does not appear under the blog tag. not fare
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.
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)
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]
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.