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.
Options

Blog extension 0.9.8

1234689

Comments

  • Options
    Thanks, it fixed the date problem :)

    What about the Category Role thingy? Is it something related mostly to your extension or does it need some Category Roles hacking? (or both?)
  • Options
    edited May 2007
    it will have to fixed in both
    the simplest solution is not to show the Start a new blog link. if users do not have permission
    making extensions work with each other is usually a bitch
  • Options
    One way to hide the new posts link using Category Roles is as follows...

    In theme/panel.php, change the following from:
    // Add the start button to the panel if ($this->Context->Session->UserID > 0 && $this->Context->Session->User->Permission('PERMISSION_START_DISCUSSION')) { $CategoryID = ForceIncomingInt('CategoryID', 0); if ($CategoryID == 0) $CategoryID = ''; echo '<h1><a href="'.GetUrl($this->Context->Configuration, 'post.php', 'category/', 'CategoryID', $CategoryID).'">' .$this->Context->GetDefinition('StartANewDiscussion') .'</a></h1>'; }
    to:
    // Add the start button to the panel if ($this->Context->Session->UserID > 0 && $this->Context->Session->User->Permission('PERMISSION_START_DISCUSSION')) { $CategoryID = ForceIncomingInt('CategoryID', 0); if ($CategoryID == 0) $CategoryID = ''; $CatFilter = new Cat_filter(); $CatFilter->get_levels($this->Context->Session->User->RoleID); if (isset($CatFilter->cat_levels[$CategoryID]['create_level']) && ($CatFilter->cat_levels[$CategoryID]['create_level'] > $CatFilter->user_level)){ // No post link for you } else { echo '<h1><a href="'.GetUrl($this->Context->Configuration, 'post.php', 'category/', 'CategoryID', $CategoryID).'">' .$this->Context->GetDefinition('StartANewDiscussion') .'</a></h1>'; } }
  • Options
    That's perfect :) Thanks for this hack , bshultz!
  • Options
    Ok, now I know what to suggest...

    With Steve's extension, I used a simple trick for drafts: I've set up a category only autors can see, where they post their stuff first and discuss about their work, then publish their finished articles in the blog category.

    How hard would it be to add an option in order to send blog posts in a similar "drafts category" first? I'd really like to have such a feature, since at the moment there's no way to review a submitted article. Ideally this could be a setting in the administrative panel, something like this, followed by a drop-down category menu:

    Optional : select a draft category where blog posts are sent first before being published in the blog tab (be sure to choose a category hidden to public).

    That would be great, but even a simple hack to send the blog posts in a category different than the blog category would be perfect in my case.
  • Options
    In fact, what I suggested above is sort of stupid since It's possible to start a discussion from a "drafts category", then move it to the blog category... However there would still be something confusing with the "Start a new blog post" link on the blog tab in that case. Maybe an option to hide this link would be way simplier. I don't know, what do you guys think?
  • Options
    Actually when u click on Start a new blog
    it takes u to the same page as start a new discussion. I have just hidden the category selector. in default.php line 124 $Head->AddString('<STYLE TYPE="text/css" MEDIA=screen>.CategorySelect {display:none;}</STYLE>');
    if u remove it u will get the selector back. then u can pick ur drafts category.
  • Options
    Played around with this and love it--but one detail is bugging me. When you click from the blog tab into the full post with comments, you are then are sent to the discussions tab... Is this normal? (Just realized I have another extension that is munging with the tabs after the blog extension does... so it could be blamed on that.) The other question is that I have a existing category with blog-like posts already, but they don't have the <!--more--> tags, so they show in full. Could there be a word/sentence count (or even just after the first paragraph) that inserts this automatically if it is not present?
  • Options
    yes wally. thats what these guys wanted. they don't want a separate blog. the wanted something like Appleinsider.com. when u click on comments ur taken to the forum.
    yeah word count can be added
    check for more tag with the word count. if true then use more. if not then use word count instead.
  • Options
    i still think that ideally it should go smth like this

    1.under blog-tab - list of entries with summaries
    2.permalink takes you to the full text in blog-tab format
    3.edit link takes you to the discussion tab where only the summary is displayed, not the full text

    if you have a short entry with no summary (and no 'more' tag) then permalink and discussion views are identical in content, but not in format.
    where you end up clicking on the entry title, i don't know. but nor does it matter. both permalink and discussion views would be fine
  • Options
    ok which social bookmark links u guys want. pick 3-4 and give me links to their website. I'm changing the theme as well. so keep ur old blog folder as backup. if u don't like the new theme.
  • Options
    edited May 2007
    It would be great to have an option to enable/disable our own social bookmarking sites, or even add them manually. Maybe you could have a look at SocioTag, it's a plugin for Joomla! which lists tons of bookmarking sites, but allow you to choose the ones you want to display.

    Anyway in my case I'd like to see these sites:
    delicious
    digg
    stumbleupon
  • Options
    yeah u will have choices. u are however space constraint. there is only so many u can put.
  • Options
    MySchizoBuddy - Have you ever thought about adding any type of a chronological archives page?
  • Options
    @MySchizoBuddy
    Technorati would be a must social bookmark to have, thank you.
  • Options
    do people actually use archives ?
  • Options
    Personally search and tags are more beneficial.
  • Options
    @MySchizoBuddy- Yes they do, and all blogging platforms include it. I was just looking for something simplistic that lists the posts from the blog category in ascending order.
  • Options
    I mentioned how to display "Latest Blog post" in this thread.
  • Options
    edited May 2007
    New Interface

    Picture 4
This discussion has been closed.