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

1246

Comments

  • Glad it's working. Looks like my educated guess worked.
  • 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
  • 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...
  • 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
  • Does the theme file it's looking for definitely exist under the extension directory? and is it readable by the web server?
  • I get SQL errors.
  • can someone give me more detailed instructions how to incorporate the "more" tag?
  • 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?
  • (Note: Latest version of Vanilla and the Blog extension)
  • Hmmm.... Same here LookHere... Gah!
  • 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.
  • 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
  • @joewhitsitt: To hide posting from all but admins, you'll need to hack one of the template files.

    Instructions can be found here.
  • 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?
  • Now it works, I've set the $Configuration['BLOG'] to '0'. What does this setting do?
  • 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

  • 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!
  • 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
  • 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
  • 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
This discussion has been closed.