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.


This discussion is related to the BlogThis addon.


  • Hi Raize, what i want to mean is to add manually a code or something in the input field of a comment or post to break it in the blog. I don't want something automatic like the feature you mean. I want something like in Wordpress or Joomla! Do you get me? Thanks
  • bochenn - currently this is not a feature. How does Wordpress do it - maybe I can mimmick it for you :)
  • I have installed BlogThis and Page Manager. When I set Blog page as second (after "all discussions") My guests can't see "all discussions" tab. Its strange, because I can see this page (loged as admin) I try to resync Tabs, all users have permissions to see Tabs. When I put Blog page as first - all tabs are displayed correct for all users.
  • I think that is probably a Page Manager issue. It adds a tab using the Vanilla framework functions - so it's doing nothing unusual!
  • Uploaded version 1.14 of BlogThis.
  • From experience with other users using BlogThis on, people seem confused at the idea of posting a discussion and then making it a blog post afterwards. That is why, with version 1.14, as well as the "Start a discussion" link, you'll now also find a "Start a blog post" button. This takes you to an identical screen to posting a discussion, aside from the fact that when it is submitted the post is automatically blogged. This should make it a little more user friendly!
  • Can you please provide a setting to turn the "Start a blog post" button off in the next release? Thank You //EDIT: I think you made a litte mistake in the default.php: $Context->SetDefinition['BlogThisSettings'] = 'BlogThis Settings'; should be: $Context->SetDefinition('BlogThisSettings', 'BlogThis Settings');
  • elm - I will ammend both :)
  • Hi, I have an other suggestion :) I would like to see the role of each blog poster. So I added if ($Row['AuthRoleDesc'] != '') $BlogPost->DisplayName .= " (".FormatStringForDisplay($Row['AuthRoleDesc'] .")"); to Control.BlogThis.php after line 105: $BlogPost->DisplayName = FormatStringForDisplay($Row['FirstName'] ." ". $Row['LastName']); and after line 109: $BlogPost->DisplayName ... maybe you can add this with the correct setting to turn it on and off. greetz
  • This is probably a very silly thing to post, but as a new Vanilla user I am probably missing something obvious. I have set up Vanilla for the first time, and added only a handful of plugins (FeedThis, Page Manager, HTML Formatter, FCKEditor, Category Roles) and have been pretty quick to figure out how to get them running. After uploading and enabling BlogThis, I am not having so much luck. I cannot figure out how to show the Blog interface -- which is to say that I get a Blog tab, and in the extension manager I see that BlogThis is enabled, but I don't know what to do in order to have buttons that will allow me to designate posts as blog entries. I'm using Vanbook as my theme, and I realize I may need to make some modifications like I did for Category Roles, but I don't see where to begin if that's what I'm missing.
  • Make sure you have given your user the permission to blog.
  • And that is of course what it was. I had a feeling it would be obvious in hindsight. I don't know if you've considered adding permissions to administrative users by default during installation, but if not that might be a good idea for folks like me.
  • Hi Spode,

    Great piece of work, this, and it's working just fine. I have Vanilla installed in a testing subdirectory on an unrelated live site, so far with just this extension with friendly URLs, and I've run into just one tiny quirk that's driving me up the wall - making the blog page the default. The standard...

    RewriteRule ^$ /extension.php?PostBackAction=Blog

    ... just drops me (as I suppose it should) to the live site's root URL. I've tried changing it to:

    RewriteRule ^testdir/$ /extension.php?PostBackAction=Blog

    and while that doesn't throw up any errors, it also doesn't have any effect whatsoever. Discussions remain stuck as the default page view. I notice that the blog page URL has been rewritten to /extension/?PostBackAction=Blog, but using that instead of the original version doesn't do any good either. I don't know enough about htaccess files to know if I'm missing something blindingly obvious or if that particular rewrite simply won't work for a subdirectory. Any thoughts before I pull out my remaining hair?
  • I ran into this too, and the answer in your case is probably the same as it was in mine. Somewhere before the RewriteRule line in your .htaccess you need to have a line that reads: RewriteEngine on After doing this I also discovered that I needed to use the Page Editor to change the Discussions tab URL, because by default it was pointing to the site root and would therefore take you to the Blogs page once the rewrite rule was in effect. Changing it to /index.php did the trick.
  • Thanks, Mark, but I'm afraid that's not it. The rewriting for friendly URLs on the regular discussions grid and on the blog page are working just fine and the call to turn mod_rewrite on is at the top of the file. It's purely that last line to set the blog page instead of the discussions grid as the default view when entering the site that's causing trouble. It may just be that for one reason or another it only works if Vanilla is in the root directory, not in a subdirectory, in which case I can stop worrying at it because it means the site should be fine in its live form. Or it might just be that my pitiful grasp of Apache/htaccess syntax is making me screw up rewriting to a subdirectory instead of root...
  • I don't have time to debug your rewrites right now - but I use the method I published on all my sites without problem, so I would suggest it'll be fine when you put it onto the site root :)
  • I have read through the Forum, and haven't seen what I'm sure is a simple remedy, but I don't have a blog tab! I have enabled the extension, and have given permission for users and administrators to add blogs etc, which I can do, but they only appear in the Discussions page, like any other discussion, though I can "Unblog" them, which again makes no difference. What haven't I done? I tried to go to the page with: but only got: A fatal, non-recoverable error has occurred Technical information (for support personel): Error Message An error occurred while attempting to retrieve the requested comments. Affected Elements Blog.BlogComments(); The error occurred on or near: You have an error in your SQL syntax near '.CommentID AS CommentID, m.DiscussionID AS DiscussionID, m.Body AS Body, m.Fo' at line 1 As I said I'm sure its something obvious, as nobody else seems to have such a problem.
  • I have Resynced Tabs, which produced the tab, however clicking on it still produces the same error message.
  • Something more severe going on there - the tab isn't the issue. Nothing is jumping to mind either! Other than the fact you're in a sub-folder. I've not tested with Sub-Folders.
  • Hi. I installed and tried this, but decided I don't need it at the moment. So, checked 'off' in Extensions panel, then took it off the server. BUT, I have spurious garbage left in my Admin role settings. Latest Discussion has done this too. There are settings left in the DB roles table for Admin, but I can't get them out without breaking it (not sure exactly what to remove). Any hep appreciated - it's really niggling.
Sign In or Register to comment.