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.
So, would there be a way to add these buttons at the bottom of blogged comments? It would also distinguish blogged comments from normal comments (oh and maybe giving a special css class to blogged comments would be nice too...)
And yes, I know these are pretty specific and trivial suggestions, sorry
actually i get errors like; " library/Framework/Framework.Class.SqlBuilder.php " , and " Could not select blogged status from database "
other than that, this blogthis extension looks promising
Notice: Undefined index: BlogThis in .../library/Framework/Framework.Class.SqlBuilder.php on line 129 Notice: Undefined index: BlogThis in .../library/Framework/Framework.Class.SqlBuilder.php on line 263 A fatal, non-recoverable error has occurred Technical information (for support personel): Error Message Could not select blogged status from database. Affected Elements undefined.undefined(); 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 'as BlogThis from LUM_Comment c where c.CommentID = '49' and c. = '1'' at line 1 For additional support documentation, visit the Lussumo Documentation website at: lussumo.com/docs
- newest vanilla
- normal blog extension disabled before
It adds the following line in there. A rather messy way of doing it if you ask me (surely stick a delegate in there or something..) but Mark assures me it's not too bad:
$DatabaseColumns['Comment']['BlogThis'] = 'BlogThis';
This is what I want. Right Now the Tab Link is:
However, what I want:
Which allows me to FriendlyURLs to rewrite to the above extension.
The problem is the Tab Link is hard-coded into the main menu right around line 92 of the default.php
It uses the GetUrl Function.
Other feature request it would be nice to customize the Tab Name along with the Friendly URL.
On another thread, someone mentioned that they generated the .htaccess rules dynamically which people could copy and paste into. that'd be nice too.
I really would rather have the top thing fixed. Thanks,
I agree on the Friendly URL front - please remember that a lot of the "choices" made in this code where by the coder of "Blog", which I inherited the base code from. But this problem is inherent in the way Lussumo writes friendly URLS. Get variables aren't processed at all, they are considered ancillary to the main URL.
The simplest way to do this would be to use a Mod ReWrite, like
RewriteRule ^$ /extension.php?PostBackAction=Blog
That seamlessly forwards requests to the front page to the Blog. You could change it to /blog for instance. Then using Page Manager, you could alter the tabs, changing both the text from "Blog" to whatever (avoiding the need to modify the source code) and also change the URL
If I do your RewriteRule, the problem is the Tab keeps the same URL. Unless, I am just making a mistake or something. I don't want the blog to be the front page (yet), I want discussions to remain up front. When I get more content, then I might make the Blog the front page.
As long as you're up and running, all is good! Whisper me a URL so I can take a look at it in action
BlogThis is working for me perfectly, but one weird thing that I'm noticing...
Along with BlogThis, I'm running Page Manager and Feed Publisher (Vanilla 1.1.4)... On all my new Page Manager pages I see the Feed Publisher Feed list (RSS2, Atom) but I don't see these links on the Blog page (in the left side panel).
All that's there in the left panel is the "Start a new discussion" link and the Vanilla footer.
I've configured the Feed Publisher categories_config.php file as you suggested, and those links show up on the other appropriate pages, just not the Blog page.
Any idea what might be preventing the Feed Publisher links from showing up on the Blog page?
Unfortunately I'm developing off-line so I hope I was clear enough here.