|
Cookbook /
Bloge-TalkSee also: Bloge-Tags-Talk Please leave new comments at the top of the page (but below this line). 2009-12-12: When using Bloge with the standalone server recipe I get an error that pwwiki can't write the file. But when checking the directory blog, I see written a file like blog.-a title, without any date before the title as expected. Do you see a possibility to get this recipe working together with the standalone server recipe as in http://www.pmwiki.org/wiki/Cookbook/Standalone Thanks for your work and contribution to the pmwiki community maschla Peter Kay 2009-10-17: I have a few questions/comments about the comments:
Thanks for the recipe; this does make getting the blog up and running in Pmwiki pretty straightforward. --Peter Good point... To add a delete link add This to your site --Aargau3 MatthiasGünther 2009-09-30: Hello I have serveral questions:
Keep up the good work with this good recipe! MatthiasGünther 2009-08-31: Hello, is it possible to introduce a variable to disarm the feed in your browser for entries? The $Bloge['comment-feeds'] = FALSE; works fine but can you make something like $Bloge['entrie-feeds'] = FALSE;? Thanks! Is MatthiasGünther 2009-08-31: Hello, no I don't want to disable all feeds. Let me explain my concernc. I have a blog-entry with the name Blog.Test and I have the following settings in my config.php:
$EnableDrafts = 1;
$EnableBlogeUrlApprove = 0;
$EnableBlogeFeeds = TRUE;
include_once("$FarmD/cookbook/bloge.php");
Now I can click on the rss-button in the browser and get
With the following settings:
$EnableDrafts = 1;
$EnableBlogeUrlApprove = 0;
$Bloge['comment-feeds'] = FALSE;
$EnableBlogeFeeds = TRUE;
include_once("$FarmD/cookbook/bloge.php");
I can click on the rss-button in the browser and just get
So can I disable these 'Blog Posts (RSS2)' and just maintain 'Comments to this post (RSS2)' in the rss-subscription in the browser window? Aah. That "doesn't work well" is indeed true, as there's a bug in how the default URL for the post feed is generated. It's fixed in this version: bloge-2009-08-31.phpΔ which you can use instead of the bloge.php that comes in the zip file (I'll update that sometime in the next few days). Alternatively you could add the following in your config file after including the buggy bloge.php: $Bloge['feeds'] = array(
'atom' => PageVar('Blog.Blog','$PageUrl').'?action=atom',
'rss' => PageVar('Blog.Blog','$PageUrl').'?action=rss'
);
If that works for you, do you still want to be able to enable just the comment feeds? In any case I'll probably enable that as well in the next actual release of Bloge-core. —Eemeli Aro August 31, 2009, at 02:02 PM MatthiasGünther 2009-08-31: Now it just works perfect. I have some other little issues which I will post here some other time. Thanks for your competent help. SteP 2009-08-27: Lots and lots to digest and learn. A very nicely compiled compendium of PmWiki/blogging knowledge, thank you. To get captchas for anonymous Bloge comments, download the recipe and add the following to your config file (may need to be after including AuthUser): include_once("$FarmD/cookbook/captcha.php");
if (empty($AuthId) && ($action=='pmform')) $EnablePostCaptchaRequired = TRUE;
If you wish, you can enable that just for blog posts by adding it to the end of You'll also need to add the captcha field to the comment posting form, which is the (:input textarea msg rows=10 cols=40:)\\ (:input submit name=post value="$[Add comment]":) to (:input textarea msg rows=10 cols=40:)(:if ! authid:)
Enter value: {$Captcha} (:input captcha:)(:ifend:)\\
(:input submit name=post value="$[Add comment]":)
And that's it. Anonymous users are shown the captcha field and need to fill it to post a comment, authorised users never see it and don't need it to post comments. Editing pages, blog posts or comments is in no way affected. Should I add this to the bundle by default, with a toggle Actually, ignore the above if you're using version 2009-08-28 or later, as in that case you should instead just set SteP 2009-08-27: Aside note: the ShortUrl link on http://aut-web.hut.fi/bloge/Blog/Blog is broken. Really? Can you re-check this and say specifically which link doesn't work? —Eemeli Aro August 28, 2009, at 03:55 AM
SteP 2009-08-31 Thanks for the captcha stuff. The ShortUrl link is broken. Excerpt from the page:
This site has a pretty default configuration, but with Bloge-LinkbackClient, Bloge-LinkbackServer and ShortUrl enabled.
Aargau3 2009-10-22 Justin 2010-02-19 I would like to add a Facebook-like option for users to post something to my "wall" of blog posts. The idea is that I can modify a NewPost form so that they are essentially just posting a blog post, only they don't see the entire form, just the Title and Text fields. The rest of the fields I can have filled with some default value, such as "now" for the time field. Make sense? Any thoughts? |