Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorØ
    • CommentTimeJun 15th 2007
     # 51
    Category Roles allows you to set more granular permissions. It works just fine with this extension.
    • CommentAuthormis-one
    • CommentTimeJun 15th 2007
     # 52
    Agreed with Ø. That is what I use for my site.
    • CommentAuthormindrec
    • CommentTimeJun 16th 2007
     # 53
    As with Tex: When not signed in and viewing blog, clicking the sign in button results in an error.

    Notice: Undefined index: CssClass in .../home/themes/people_banner.php on line 5
    •  
      CommentAuthorØ
    • CommentTimeJun 16th 2007
     # 54
    Hi Schizo,

    I have a problem with the Latest Discussions Prime extensions. I know this not a bug, and I'm not sure if it's this extension or yours which requires a little hack, but here's the problem. Draft posts are shown in the latest discussions list. Would there be a way to hide them (or even hide the whole blog category)?
  1.  # 55
    there is an option in the blog preferences to hide blog posts from Discussion list
    •  
      CommentAuthorTex
    • CommentTimeJun 17th 2007 edited
     # 56
    Me again, sorry. Latest Blog Posts are shown everywhere I defined them to do. Only at the discussions page they are not. Did I make a mistake anywhere (I'm sure I did miss something)?
    •  
      CommentAuthorØ
    • CommentTimeJun 17th 2007
     # 57
    Yep, I know there's an option for hiding blog posts in the discussion list, but in fact I was speaking about the Latest Discussions Prime list. I'd just like to know if there's a way to hide draft posts in this list, not in the main discussions list. Or maybe should I drop this extension and use Nuggets with a specific code instead?
    • CommentAuthormindrec
    • CommentTimeJun 17th 2007
     # 58
    Seems when I add a comment to a blog post, the comment replaces the original post on the main blog page (and the original post "sinks"). Is this by design? I'd like to have the main post on the main page and replies on the "reply" page!
    •  
      CommentAuthorjimw
    • CommentTimeJun 18th 2007
     # 59
    I looked at the Blog add-on and it adds a field Draft to the Discussion table. Since it defaults to '0', I assume that means not a draft. So, you need to add an additional WHERE to the select in the LatestDiscussionPrime add-on, probably after the line:

    $s->AddWhere('cm', 'AuthUserID', '', $D->Context->Session->User->UserID, '=');
    ==> $s->AddWhere('t', 'Draft', '', '0', '=');
    •  
      CommentAuthorØ
    • CommentTimeJun 19th 2007
     # 60
    Jim, you're the man :)

    Thanks a lot, it works just fine. The only "problem" is that when you edit the blog post in order to remove the draft status, it's marked as new by Latest Discussions Prime for the autor of the post, but this is definitely not a real problem.
    •  
      CommentAuthorØ
    • CommentTimeJun 19th 2007 edited
     # 61
    Oops, I spoke too fast - in fact, looks like the draft is hidden only for his autor. I logged in as another user and tried as a guest, I still see it in both cases.

    Edit: Ok, I added what you suggested also after line 48, like this :
    $s->AddOrderBy('DateCreated', 't', 'desc');
    $s->AddWhere('t', 'Draft', '', '0', '=');

    ...and now it seems fine :)
    •  
      CommentAuthorjimw
    • CommentTimeJun 19th 2007
     # 62
    Glad it's working. Looks like my educated guess worked.
    • CommentAuthoraaron17h
    • CommentTimeJul 1st 2007 edited
     # 63
    When I install in my extensions, the blog page show errors:

    Warning: render(/home/content/q/u/e/domain/html/extensions//Blog/theme/Theme.Blog.php): failed to open stream: No such file or directory in /home/content/q/u/e/domain/html/extensions/Blog/library/Control.Blog.php on line 76

    Warning: render(/home/content/q/u/e/domain/html/extensions//Blog/theme/Theme.Blog.php): failed to open stream: No such file or directory in /home/content/q/u/e/domain/html/extensions/Blog/library/Control.Blog.php on line 76

    Warning: render(): Failed opening '/home/content/q/u/e/domain/html/extensions//Blog/theme/Theme.Blog.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/q/u/e/domain/html/extensions/Blog/library/Control.Blog.php on line 76

    Please help, I'm a newbie...Thank you
    •  
      CommentAuthorTex
    • CommentTimeJul 4th 2007 edited
     # 64
    Are you sure you not only activated it under 'Extensions' but followed the instructions on the extensions site? There seems to be a problem with the URL:
    ...extensions//Blog...
    • CommentAuthoraaron17h
    • CommentTimeJul 7th 2007 edited
     # 65
    I did install the files in the Extension folder and activated it under Extensions. I already change it // to / see below

    Warning: render(/home/content/q/u/e/localhost/html/extensions/Blog/theme/Theme.Blog.php): failed to open stream: No such file or directory in /home/content/q/u/e/localhost/html/extensions/Blog/library/Control.Blog.php on line 76

    Warning: render(/home/content/q/u/e/localhost/html/extensions/Blog/theme/Theme.Blog.php): failed to open stream: No such file or directory in /home/content/q/u/e/localhost/html/extensions/Blog/library/Control.Blog.php on line 76

    Warning: render(): Failed opening '/home/content/q/u/e/localhost/html/extensions/Blog/theme/Theme.Blog.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/q/u/e/localhost/html/extensions/Blog/library/Control.Blog.php on line 76
  2.  # 66
    Does the theme file it's looking for definitely exist under the extension directory? and is it readable by the web server?
    • CommentAuthorGarbage
    • CommentTimeAug 3rd 2007
     # 67
    I get SQL errors.
  3.  # 68
    can someone give me more detailed instructions how to incorporate the "more" tag?
    • CommentAuthorLoOkHerE
    • CommentTimeAug 17th 2007
     # 69
    I activated the Blog extension and am met with the following error message:

    Notice: Undefined index: Draft in /home/lookhere/public_html/forum/library/Framework/Framework.Class.SqlBuilder.php on line 251
    A fatal, non-recoverable error has occurred

    Technical information (for support personel):

    Error Message
    An error occurred while retrieving discussions.
    Affected Elements
    DiscussionManager.GetDiscussionList();
    The error occurred on or near: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= '0' and t.CategoryID <> 1 and t.Active = '1' and (cb.Blocked = '0' or cb.Block' at line 1

    Mean anything to anyone?
    • CommentAuthorLoOkHerE
    • CommentTimeAug 17th 2007
     # 70
    (Note: Latest version of Vanilla and the Blog extension)
  4.  # 71
    Hmmm.... Same here LookHere... Gah!
  5.  # 72
    http://lussumo.com/community/?CommentID=69927 (Blog # 25)

    Did you ever figure out how to change it so only admin can post? I implemented CategoryRoles, but I still have that 'Start new blog post' link.
  6.  # 73
    Hmmm... I still need a fix for this:

    Notice: Undefined index: Draft in /home/lookhere/public_html/forum/library/Framework/Framework.Class.SqlBuilder.php on line 251
    A fatal, non-recoverable error has occurred

    Technical information (for support personel):

    Error Message
    An error occurred while retrieving discussions.
    Affected Elements
    DiscussionManager.GetDiscussionList();
    The error occurred on or near: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= '0' and t.CategoryID <> 1 and t.Active = '1' and (cb.Blocked = '0' or cb.Block' at line 1
    • CommentAuthorbshultz
    • CommentTimeSep 11th 2007
     # 74
    @joewhitsitt: To hide posting from all but admins, you'll need to hack one of the template files.

    Instructions can be found here.
    • CommentAuthorHannesB
    • CommentTimeSep 12th 2007
     # 75
    I also get this error:

    Notice: Undefined index: Draft in /www/.../library/Framework/Framework.Class.SqlBuilder.php on line 251
    A fatal, non-recoverable error has occurred
    Technical information (for support personel):

    Error Message
    An error occurred while retrieving discussions.
    Affected Elements
    DiscussionManager.GetDiscussionList();

    The error occurred on or near: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= '0' and t.CategoryID = '6' and (t.WhisperUserID = '0' or t.WhisperUserID = 0 o' at line 1

    For additional support documentation, visit the Lussumo Documentation website at: lussumo.com/docs

    Anyone know why?
    • CommentAuthorHannesB
    • CommentTimeSep 13th 2007
     # 76
    Now it works, I've set the $Configuration['BLOG'] to '0'.

    What does this setting do?
    •  
      CommentAuthorWanderer
    • CommentTimeSep 13th 2007
     # 77
    It makes it work mate!

    Sorry I couldn't resist, too much wine with dinner tonight!

    I'll shut up now and go back for dessert!

    Posted: Thursday, 13 September 2007 at 6:28PM

  7.  # 78
    thanks bshultz for helping with my last problem, but now i got a new problem. when I click the sign in link from the Blog page I get the following error:

    Notice: Undefined index: CssClass in .../themes/people_banner.php on line 5

    The only PHP i know at the moment is where to copy and paste. Can anyone help with this. Thanks in advance!
    •  
      CommentAuthorsjeeps
    • CommentTimeSep 17th 2007
     # 79
    The only way it works for me without getting that error:

    Notice: Undefined index: CssClass in .../themes/people_banner.php on line 5

    Is by adding these lines to the .htaccess file:

    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]


    Assuming you're using friendly urls
    •  
      CommentAuthorhutstein
    • CommentTimeSep 23rd 2007
     # 80
    Everyone who's getting the
    Notice: Undefined index: Draft in /www/.../library/Framework/Framework.Class.SqlBuilder.php on line 251
    error...

    just add the following lines to your /conf/database.php

    // Featured Story Table Structure
    $DatabaseColumns['Discussion']['Draft'] = 'Draft';

    maybe your database.php file was not writeable when you installed the extension
  8.  # 81
    So everything is solved now.
    one person asked if it is for admin only. I have forgotten whether i made it for admins only or every member.
    I'll have to look at the code again
    will get back to this
  9.  # 82
    For those of you who have experienced the following error when signing in from the 'Blog' page:

    Notice: Undefined index: CssClass in /***/html/themes/people_banner.php on line 5

    I've added a small workaround in my DefaultPage add-on. It removes ReturnUrl from the URL and seems to work. Only problem is that you will not be returned to the page you were viewing before signing-in.
  10.  # 83
    First thanks for the excellent extension.

    I am using Blog with CategoryRoles and am finding that the 'Start a new blog post' is visible for members who only have 'ReadOnly' access to the 'Blog' category. Am I missing something or is this an issue?
    •  
      CommentAuthorwaynem80
    • CommentTimeOct 12th 2007
     # 84
    Hey is there a way to get this blog extension to work outside vanilla, by including certain vanilla files? IF so, how could i do this... ???

    wayne
  11.  # 85
    NO idea how you would do this.
    why would u wnat it outside vanilla?
    can't u use wordpress instead
    •  
      CommentAuthorwaynem80
    • CommentTimeOct 12th 2007 edited
     # 86
    :P, i'm just trying to come up with a solution to my problem. and thought it could be an idea :)...
    I just need a way for pages that are created outside vanilla where i could Display comments from Discussion->Topics... I guess i'm really just trying to use vanilla as a CMS :P I want to right an Article and Not have the Panel side bar attached and have users comment on this article....

    That's it, this is why i'm seeming to have so many problems, because i want to use vanilla as a CMS lol, well then I guess it would be better if i made vanilla work with joomla 1.5 :)
    •  
      CommentAuthorGodfather
    • CommentTimeOct 23rd 2007 edited
     # 87
    got this error while using with Ajax quote:
    Fatal error: Call to a member function on a non-object in /www/forum/extensions/AjaxQuote/default.php on line 60

    also got some problem with attachments ext (attachment not shown in blog, only in discussion view) and discussion tags (completelly incompatible)...

    one more issue: latest blog header not shown in nugget on discussion page despite all others
  12.  # 88
    you want attachments to appear in the blog post. have you tried using [Image_1] within the blog post.
    Whats your site
    •  
      CommentAuthorGodfather
    • CommentTimeOct 25th 2007 edited
     # 89
    i've disabled blog so far because dudes needs this site working... also i met a problem that after disabling it, some users sees a "discussion not found" message when trying to create new discussion (not a blog post).
    but i got an idea to make a whole site on vanilla (despite the modx is cool too - easy keywords and metategs edit is serious advantage for seo-ing the static info) - vanilla allows to create a true clubing atmosphere and it's very cool soft too. :)
    about the discussion tags compatibility i might be hurried, sorry, i think appearing troubles follows of the dis.tags extension itself (0.3.1) and my newbie status to vanilla and sites creation.
    btw, anybody thought about an extension compatibility discussion creating and adding kinda table for it?
  13.  # 90
    your ajaxquote things is not a conflict with blog extension. check line 60 of default.php file of Ajax quote.
    •  
      CommentAuthorGodfather
    • CommentTimeOct 25th 2007 edited
     # 91
    sorry, i meant while ajax quote enabled when was trying to add a blog post it wrote me this stuff.
    when i disabled a-quote, it's ok to add a blog, but actually i don't remeber whether was it fine with simple discussions :)
    i'll get in touch with it (and ext-s' compabl.) more closely, for now there is a lot of admin's routine
    •  
      CommentAuthorfinferflu
    • CommentTimeOct 30th 2007
     # 92
    Hi,
    is it possible to have this extension working for more than one category? So I can use the categories as tags... Do you think that would be possible to do?

    Thanks!
  14.  # 93
    hmm it wasn't designed to this. although it is a good idea. it will require some work though.
    •  
      CommentAuthorfinferflu
    • CommentTimeOct 31st 2007
     # 94
    Thanks for considering the idea, at least :)
  15.  # 95
    adding it now won't make it backwards compatible. what about people who r already using just one category for blog
    •  
      CommentAuthorfinferflu
    • CommentTimeOct 31st 2007
     # 96
    Well, I am not a PHP coder, unfortunately, so I don't think anything I say would be more than mere speculation.
    Would the option of adding more categories to the one already existent mess up previous configurations? I mean, one could choose to only blog one category, could the previous configurations be understood as a single category among a multiple choice?
    I guess it's a no...
    • CommentAuthorPhil01
    • CommentTimeNov 1st 2007
     # 97
    Not sure why this is happening, but if I use HTML tags in my blog posts they don't take effect, whereas I'm not experiencing this issue when using HTML tags in normal discussions. Any idea?
    • CommentAuthorPhil01
    • CommentTimeNov 1st 2007
     # 98
    Actually I lie :), some of the HTML tags do show up e.g. ordered list and bold but unordered list tag isn't working??
    • CommentAuthorpguth
    • CommentTimeNov 5th 2007 edited
     # 99
    waynem80 wrote:
    Hey is there a way to get this blog extension to work outside vanilla, by including certain vanilla files? IF so, how could i do this... ???

    Use the code from extensions.php without lines 34 to 38. Hardcode "?PostBackAction=Blog".
    Or even simpler: just remove line 34 to 38 and then include extensions.php?PostBackAction=Blog via an iframe into your other page.
    • CommentAuthorpguth
    • CommentTimeNov 5th 2007
     # 100
    How can I get this extions to display only blog entries by a certain user?