Re: [pmwiki-users] Blogit (:includesection:) problem after upgrade

2017-05-12 Thread DaveG

> if you replace your sidebar inclusion text with (:if equal
> {$bi_BlogIt_Enabled} 1:)XXX(:include Site.BlogIt-SideBar:)  so you see
> the XXX?  If not, then very likely the BlogIt code isn't loading (and
> bi_BlogIt_Enabled hasn't been set to true).
As Peter suggests, from a quick look at your site, it doesn't look like 
BlogIt is actually being activated, which explains why you just see the 
untranslated BlogIt markup. So first, work out why it's not being activated.


Also, depending what version of bBlogIt you're upgrading from, make sure 
you take a look at the upgrade steps. Might be a few things you have to do.


 ~ ~ Dave

On 5/12/2017 12:17 PM, Peter Kay wrote:

if you replace your sidebar inclusion text with (:if equal
{$bi_BlogIt_Enabled} 1:)XXX(:include Site.BlogIt-SideBar:)  so you see
the XXX?  If not, then very likely the BlogIt code isn't loading (and
bi_BlogIt_Enabled hasn't been set to true).

Do you have access to the php/web server error logs?  They might tell you more.

Hopefully someone else will have better ideas!

--Peter

On Fri, May 12, 2017 at 8:17 AM, Caissa  wrote:

Hi PmWiki users,

after a php server upgrade and a following PMwiki and BlogIt upgrade I
suspect, that (:includesection:) is broken.

The Startpage is "Main" and most other pages are in the main-group.
The blog has its own group "Blog" and the Blog-entries shall be shown in
Blog.Main.

now after the pmwiki and blogit upgrade Blog.Main shows:

(:includesection "#blog-summary-pagelist blogid=blog1 status=sticky":)
(:includesection "#blog-summary-pagelist count=12 blogid=blog1
status=publish":)


instead of including the section.
The same goes for the Startpage, where (:includesection:) is used to inform
about new blog-entries as well as the sidebar, where

(:if equal {$bi_BlogIt_Enabled} 1:)(:include Site.BlogIt-SideBar:)
(:else:)
(:if:)


displays nothing.
I suspect PMwiki doesn't know where the blog is!?

It might be a basic question, but after 2 hours searching and trying I am
still unseccessful.

thx guys and girls
Caissa


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users



___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users



___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Blogit (:includesection:) problem after upgrade

2017-05-12 Thread Peter Kay
if you replace your sidebar inclusion text with (:if equal
{$bi_BlogIt_Enabled} 1:)XXX(:include Site.BlogIt-SideBar:)  so you see
the XXX?  If not, then very likely the BlogIt code isn't loading (and
bi_BlogIt_Enabled hasn't been set to true).

Do you have access to the php/web server error logs?  They might tell you more.

Hopefully someone else will have better ideas!

--Peter

On Fri, May 12, 2017 at 8:17 AM, Caissa  wrote:
> Hi PmWiki users,
>
> after a php server upgrade and a following PMwiki and BlogIt upgrade I
> suspect, that (:includesection:) is broken.
>
> The Startpage is "Main" and most other pages are in the main-group.
> The blog has its own group "Blog" and the Blog-entries shall be shown in
> Blog.Main.
>
> now after the pmwiki and blogit upgrade Blog.Main shows:
>
> (:includesection "#blog-summary-pagelist blogid=blog1 status=sticky":)
> (:includesection "#blog-summary-pagelist count=12 blogid=blog1
> status=publish":)
>
>
> instead of including the section.
> The same goes for the Startpage, where (:includesection:) is used to inform
> about new blog-entries as well as the sidebar, where
>
> (:if equal {$bi_BlogIt_Enabled} 1:)(:include Site.BlogIt-SideBar:)
> (:else:)
> (:if:)
>
>
> displays nothing.
> I suspect PMwiki doesn't know where the blog is!?
>
> It might be a basic question, but after 2 hours searching and trying I am
> still unseccessful.
>
> thx guys and girls
> Caissa
>
>
> ___
> pmwiki-users mailing list
> pmwiki-users@pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Blogit (:includesection:) problem after upgrade

2017-05-12 Thread Caissa
Hi PmWiki users,

after a php server upgrade and a following PMwiki and BlogIt upgrade I
suspect, that (:includesection:) is broken.

The Startpage is "Main" and most other pages are in the main-group.
The blog has its own group "Blog" and the Blog-entries shall be shown in
Blog.Main.

now after the pmwiki and blogit upgrade Blog.Main
 shows:

> (:includesection "#blog-summary-pagelist blogid=blog1 status=sticky":)
> (:includesection "#blog-summary-pagelist count=12 blogid=blog1
> status=publish":)

instead of including the section.
The same goes for the Startpage
, where (:includesection:) is
used to inform about new blog-entries as well as the sidebar, where

> (:if equal {$bi_BlogIt_Enabled} 1:)(:include Site.BlogIt-SideBar:)
> (:else:)
> (:if:)

displays nothing.
I suspect PMwiki doesn't know where the blog is!?

It might be a basic question, but after 2 hours searching and trying I
am still unseccessful.

thx guys and girls
Caissa

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Blogit Tags

2016-10-27 Thread DaveG



On 10/26/2016 11:45 PM, michael paulukonis wrote:

After I've upgraded from 1.7.0 to the Blogit 1.9.5 (running on
pmwiki-2.2.91 and PHP 5.6), my Tags stop displaying in the posts.

I haven't tested this with a default theme yet - I'm using a custom one,
but tags displayed prior to update.
There were a lot of changes between 1.7 and 1.9.5, particularly to 
BlogIt-CoreTemplate in 1.9.0, so this is where you should probably start 
(ref http://www.pmwiki.org/wiki/BlogIt/ReleaseHistory). There were also 
a bunch of tag related fixes as well.


Use a default theme, and see what you get. Compare CoreTemplate against 
your theme specific changes.



 ~ ~ David

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Blogit Tags

2016-10-26 Thread michael paulukonis
After I've upgraded from 1.7.0 to the Blogit 1.9.5 (running on
pmwiki-2.2.91 and PHP 5.6), my Tags stop displaying in the posts.

I haven't tested this with a default theme yet - I'm using a custom one,
but tags displayed prior to update.

I am still running php 5.4 if that makes a difference.


For example, the following tags should appear on this page:

(:entrytags:Windows10, Linux, Weirdness:)
http://michaelpaulukonis.com/Blog/2016-09-27

But instead they appear as:

[image: Inline image 1]

Unfortunately, I forgot to get a screenshot prior to the upgrade (I
experienced this on another site a couple of months ago).

-Michael Paulukonis
http://michaelpaulukonis.com
http://www.xradiograph.com

Sent from somewhere in the Cloud
(hearthrug, by the fender)
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt demo links

2016-04-20 Thread DaveG



On 4/20/2016 9:15 AM, michael paulukonis wrote:

The main BlogIt page (http://www.pmwiki.org/wiki/Cookbook/BlogIt) links
to a demo sandbox that is not available:
http://wiki.solidgone.org/BlogIt/Main

Thanks for letting me know. Should now be up and running.



___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt demo links

2016-04-20 Thread michael paulukonis
The main BlogIt page (http://www.pmwiki.org/wiki/Cookbook/BlogIt) links to
a demo sandbox that is not available: http://wiki.solidgone.org/BlogIt/Main

Although I'm getting a 200 response, the page is empty.

If we go to http://solidgone.org the pmwiki-blog is available, but the demo
logins do not seem to work.

-Michael Paulukonis
http://www.xradiograph.com
Interference Patterns (a blog)

@XraysMonaLisa 
http://michaelpaulukonis.com

Sent from somewhere in the Cloud
(hearthrug, by the fender)
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt questions

2014-06-26 Thread DaveG


On 6/24/2014 9:49 AM, michael paulukonis wrote:

Is there a way to redefine the accesskey for ajax-edit? Other than
modifying the core BlogIt code?
I'll try take a look over the weekend. In the meantime, check the talk 
and issues log, as I suspect this has come up before.



 ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt questions

2014-06-24 Thread michael paulukonis
I'm using BlogIt again - http://www.pmwiki.org/wiki/Cookbook/BlogIt.

I am really impressed by the features/functionality this bolts onto PmWiki
(and, as usual, that PmWiki has been engineered to enable). I have so many
years invested into WordPress that I'm not going to switch for my main blog
(uh ... so far), but I'm using it for an engineer's journal at my new
job, and it's a great integration with a wiki for knowledge development
(where are the installs, what's this app do, why does the code for foo do
bar, etc.).


I have a question, though, for those that are using it:

Has anybody gotten the edit accesskey to work?

Even if you take the normal edit links out of the page actions, the edit
links for blogit appear twice -- normal edit, and ajax-edit. EACH ONE has
the same accesskey. And since accesskeys fail to auto-execute when defined
more than once, these fail to auto-execute.

Is there a way to redefine the accesskey for ajax-edit? Other than
modifying the core BlogIt code?






-Michael Paulukonis
http://www.xradiograph.com
 http://goog_2112721603Interference Patterns (a blog)
http://www.xradiograph.com%5Cinterference
@XraysMonaLisa https://twitter.com/XraysMonaLisa
http://michaelpaulukonis.com
http://www.BestAndroidResources.com

Sent from somewhere in the Cloud
(hearthrug, by the fender)
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] blogit and pmcalendar issues

2013-11-14 Thread Jason Counsel
I'm having some issues on my site since I included the blogit recipe yesterday. 
 My calendar (pmcalendar) has dropped it's styling.  When I comment out the 
blogit include in my config file, the styling returns to normal.  Here is the 
page I'm referring to: http://www.placentiabay.ca/pub/Events/EventSubmission

If anyone has some sort of workaround for this it would be greatly appreciated.

Thanks - Jason___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] blogit and pmcalendar issues

2013-11-14 Thread Jason Counsel
I figured something out - if I use the (:pmcal styles=:) my calendar gets 
displayed properly, even though I didn't need that before the blogit install.  
But I'm happy, everything seems to be back in order on my site.  If anyone is 
interested in looking into this more let me know, I'm going to turn diagnostics 
off in the meantime.

Cheers - Jason___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt

2012-01-02 Thread Wade Lee Hudson
I'm setting up a new site with pmwiki and the Blix skin and am 
interested in adding BlogIt. But I can't find the new entry link on 
the demo at http://wiki.solidgone.org/BlogIt/Main, which I'd like to do.


Any thoughts?

--Wade

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt

2012-01-02 Thread DaveG


On 1/2/2012 9:26 PM, Wade Lee Hudson wrote:

I'm setting up a new site with pmwiki and the Blix skin and am
interested in adding BlogIt. But I can't find the new entry link on
the demo at http://wiki.solidgone.org/BlogIt/Main, which I'd like to do.

Any thoughts?
Security permissions are now fixed on the demo site. Login as blogadmin 
or blogedit (has comment approval permissions).



 ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt Vulnerability

2011-07-05 Thread ki...@kirpi.it
Thank you twice, Dave: for your prompt fix, and also for having mailed
me off-list (I was not aware of the problem yet).

Luigi

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt Vulnerability

2011-07-03 Thread DaveG
A vulnerability in BlogIt (http://www.pmwiki.org/wiki/PITS/01258) was 
identified which could allow a an attacker access to the account hosting 
PmWiki.


A fix will be posted as soon as possible. In the meantime please 
'''disable''' BlogIt entirely by commenting out the BlogIt include 
statement.


Apologies for the inconvenience this will cause.


 ~ ~ DaveG

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] blogit difficulties

2011-02-07 Thread Peter Bowers
Some time in the last 6 weeks or so my main page (which should list
the most recent blog entries) became a blank page.

I'm sure it's something I've done myself ... but I don't have a clue
how to go about troubleshooting problems in BlogIt...  I'd rather not
go code-reading as that's a pretty significant chunk of code...

Any suggestions where to begin?

http://lutje.org/pmwiki/index.php?n=Blog.Main

-Peter

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt Installation Problems

2010-12-08 Thread Olga Lositsky
Dear PmWiki Users,

I'm having a problem installing BlogIt on my Wiki, and I think I must have
missed some step of the installation, but can't quite figure out what it is.
When I followed the steps in the recipe (unzipped the cookbook and pub
files, added the necessary code to my local/config.php file, created
Main.Blog and added the Blog code to my SideBar), three headers appeared in
my Sidebar : Recently Written, Recent Comments and Categories (with a login
underneath). This is my current test Wiki:
http://compmem.princeton.edu/tests/test1/

Unfortunately, there is no New Entry link in the SideBar and the
Site.BlogIt-NewEntry page does not exist. The only problem I can think of is
that I may have installed PmForm incorrectly. I read on the BlogIt page that
PmForm is a prerequisite, so I downloaded it into the cookbook and wikilib.d
directories, included the code in config.php and created the
Site.LocalTemplates (though I didn't modify it.)

Can anyone think of a step in the installation I may have missed?

Any suggestions would be greatly appreciated!

Thank you,
Olga
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt Installation Problems

2010-12-08 Thread Amos Satterlee
Olga,

I'm using BlogIt. I only get New Entry when I log in. What I'm seeing
at the link you provided is the public face of your site.

Amos



On Wed, Dec 8, 2010 at 4:10 PM, Olga Lositsky olgi...@gmail.com wrote:
 Dear PmWiki Users,

 I'm having a problem installing BlogIt on my Wiki, and I think I must have
 missed some step of the installation, but can't quite figure out what it is.
 When I followed the steps in the recipe (unzipped the cookbook and pub
 files, added the necessary code to my local/config.php file, created
 Main.Blog and added the Blog code to my SideBar), three headers appeared in
 my Sidebar : Recently Written, Recent Comments and Categories (with a login
 underneath). This is my current test Wiki:
 http://compmem.princeton.edu/tests/test1/

 Unfortunately, there is no New Entry link in the SideBar and the
 Site.BlogIt-NewEntry page does not exist. The only problem I can think of is
 that I may have installed PmForm incorrectly. I read on the BlogIt page that
 PmForm is a prerequisite, so I downloaded it into the cookbook and wikilib.d
 directories, included the code in config.php and created the
 Site.LocalTemplates (though I didn't modify it.)

 Can anyone think of a step in the installation I may have missed?

 Any suggestions would be greatly appreciated!

 Thank you,
 Olga

 ___
 pmwiki-users mailing list
 pmwiki-users@pmichaud.com
 http://www.pmichaud.com/mailman/listinfo/pmwiki-users



___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt Installation Problems

2010-12-08 Thread edwin marte
Well, after you logon you should be able to see the New Entry Links.

You should define read and edit password inf your config.

http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin

http://www.pmwiki.org/wiki/PmWiki/PasswordsAdminRegards,
Edwin

On Wed, Dec 8, 2010 at 5:10 PM, Olga Lositsky olgi...@gmail.com wrote:

 Dear PmWiki Users,

 I'm having a problem installing BlogIt on my Wiki, and I think I must have
 missed some step of the installation, but can't quite figure out what it is.
 When I followed the steps in the recipe (unzipped the cookbook and pub
 files, added the necessary code to my local/config.php file, created
 Main.Blog and added the Blog code to my SideBar), three headers appeared in
 my Sidebar : Recently Written, Recent Comments and Categories (with a login
 underneath). This is my current test Wiki:
 http://compmem.princeton.edu/tests/test1/

 Unfortunately, there is no New Entry link in the SideBar and the
 Site.BlogIt-NewEntry page does not exist. The only problem I can think of is
 that I may have installed PmForm incorrectly. I read on the BlogIt page that
 PmForm is a prerequisite, so I downloaded it into the cookbook and wikilib.d
 directories, included the code in config.php and created the
 Site.LocalTemplates (though I didn't modify it.)

 Can anyone think of a step in the installation I may have missed?

 Any suggestions would be greatly appreciated!

 Thank you,
 Olga

 ___
 pmwiki-users mailing list
 pmwiki-users@pmichaud.com
 http://www.pmichaud.com/mailman/listinfo/pmwiki-users


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt Installation Problems

2010-12-08 Thread DaveG



On 12/8/2010 4:10 PM, Olga Lositsky wrote:

Dear PmWiki Users,

I'm having a problem installing BlogIt on my Wiki, and I think I must
have missed some step of the installation, but can't quite figure out
what it is. When I followed the steps in the recipe (unzipped the
cookbook and pub files, added the necessary code to my local/config.php
file, created Main.Blog and added the Blog code to my SideBar), three
headers appeared in my Sidebar : Recently Written, Recent Comments and
Categories (with a login underneath). This is my current test Wiki:
http://compmem.princeton.edu/tests/test1/

Unfortunately, there is no New Entry link in the SideBar
Ensure you have setup the authorizations for read and edit. Then login, 
and you should see the New Entry link. Specifically make sure you're 
declaring the security elements before including BlogIt.



and the
Site.BlogIt-NewEntry page does not exist.

Correct, templates for new blog entries are in Site.BlogIt-CoreTemplate.


The only problem I can think
of is that I may have installed PmForm incorrectly. I read on the BlogIt
page that PmForm is a prerequisite, so I downloaded it into the cookbook
and wikilib.d directories, included the code in config.php and created
the Site.LocalTemplates (though I didn't modify it.)
Downloading PmForm separately is not necessary. Use the version included 
in the BlogIt zip/tar. Simply put pmform.php into the \cookbook directory.



Can anyone think of a step in the installation I may have missed?
If you still have problems feel free to send me the blogit related items 
from your config.



 ~ ~ David

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt configuration -- entries only visible if logged in

2010-08-08 Thread michael paulukonis
I'm trying to set up a BlogIt blog, and while I can get it to work for
myself as the admin, the posts are not visible to anybody else (or
myself, when logged-out).

Additionally, the RecentlyWritten section is always blank, whether
logged-in, or not

I tried the suggestion of adding  $EnableUndefinedTemplateVars = 1; 
(from 
http://groups.google.com/group/pmwiki-users/browse_thread/thread/48add186e8aec239/ab1a85097e2e8ffa?lnk=gstq=blogit#
) but that made no difference.

The BlogIt admin-panel for published entries allows me to see my two
published [hopefully, see note below on status confusion] entries, and
I can navigate there to view the entries. But once I log-out, the
entry is invisible.


I'm using pmwiki-2.2.17, BlogIt 1.5.1, AuthUser, and some other recipes.

I've gone over the configuration steps several times, and I believe I
am setting up .config in the correct order (define roles and
passwords; include authuser; BlogIt configuration; include BlogIt)


I'm a little confused by the authorizations and terminology on the
BlogIt cookbook page... the default AuthUser example is for two users,
I want only one (myself).
Additionally, I'm confused by the differing terminology... at some
points, blog appears to refer to an individual post/page... at other
times, it refers to a group of posts belonging to a person.

Although blogid is required for the main blog page, I can't find
this defined anywhere; I'm assuming that blog1 is the default id for
a single blog.

Does a non-logged in reader need to have view permissions created?
This is confusing, since the recipe page says Most blogs are not
public. I do want my blog to be public; but restrict administration
to myself.

Publish and Published are used at different times to refer to an
post status. Since Publish is a verb, I would think this is the
action required to move a post from Draft to Published (and not a
status itself). So I'm not entirely sure I've actually changed the
entry from draft to published.

However, I do have distinct entires appearing under the Published
and Draft pages. Also slightly confused by the word Publish
appearing under Action on the Published page... this suggests to
me that they are NOT published


Dave -- if you're available, I have created a temporary login for you,
that I can send privately.

The blog itself is available @ http://www.bestandroidresources.com/Bar

The content of which is simply

(:notitle:)
(:includesection #blog-summary-pagelist blogid=blog1 status=publish:)



-Michael Paulukonis
http://www.xradiograph.com
http://www.xradiograph.com/Profiles/Contact
http://www.BestAndroidResources.com

Sent from somewhere in the Cloud

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt configuration -- entries only visible if logged in

2010-08-08 Thread michael paulukonis
I have replicated the behavior on a clean install @
http://www.xradiograph.com/projects/test/wiki/pmwiki.php

I attempted to set up blogit with nothing else installed.

Although AuthUser is said to be an optional component, if it is NOT
included, the wiki fails to load with at error in BlogIt @ line 581 (a
call to AuthUser)

I have set up a sample blog using the sample info @
http://www.pmwiki.org/wiki/Cookbook/BlogIt

with the daveg and step users, in the same roles

The complete text of my config.php is below

If not logged in as one of the two roles, no posts are visible. If
BlogIt is commented-out, then the pages _are_ visible... so this
suggests that it is limited to BlogIt authorization.


Even if logged in, the recently written sections are empty

?php if (!defined('PmWiki')) exit();
$WikiTitle = My New Wiki;

# Uncomment these if needed
#$ScriptUrl = 'http://example.com/pmwiki/pmwiki.php';
#$PubDirUrl = 'http://example.com/pmwiki/pub';

# [1] Define BlogIt roles, and associated actions
# Actions: 'comment-edit', 'comment-approve', 'blog-edit', 'blog-new',
'sidebar', 'blogit-admin'
$bi_Auth = array(
'blogs'=array('comment-edit','blog-edit', 'blog-new',
'sidebar','blogit-admin'),
'comments'=array('comment-approve', 'sidebar','blogit-admin')
);

# [2] Define users passwords
$AuthUser['daveg'] = crypt('daveg');  #set daveg password
$AuthUser['step'] = crypt('step');  #set daveg password

# [3] Add users to the roles
$AuthUser['@blogs'] = array('step');
$AuthUser['@comments'] = array('daveg');

# [4] Assign roles to security groups
$DefaultPasswords['blogs'] = array('@blogs');
$DefaultPasswords['comments'] = array('@comments');

# [5] Assign roles to pmwiki actions
$DefaultPasswords['edit'] = array('@blogs', '@comments');



# if not included, blogit fails @ line 581
include_once($FarmD/scripts/authuser.php);

$HandleAuth['source'] = 'edit';  #Prevents non authorized users from
viewing comment source email address
$HandleAuth['diff'] = 'edit';  #Prevents non authorized users from
viewing comment source email address

$bi_DefaultGroup='Main';

$MaxIncludes=500;  #BlogIt makes heavy use of includes, so this needs
to be increased.
include_once($FarmD/cookbook/blogit/blogit.php);


-Michael Paulukonis
http://www.xradiograph.com
http://www.xradiograph.com/Profiles/Contact
http://www.BestAndroidResources.com

Sent from somewhere in the Cloud



On Sun, Aug 8, 2010 at 12:52 PM, michael paulukonis
xraysmalev...@gmail.com wrote:
 I'm trying to set up a BlogIt blog, and while I can get it to work for
 myself as the admin, the posts are not visible to anybody else (or
 myself, when logged-out).

 Additionally, the RecentlyWritten section is always blank, whether
 logged-in, or not

 [rest snipped out]

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt configuration -- entries only visible if logged in

2010-08-08 Thread DaveG



On 8/8/2010 4:43 PM, michael paulukonis wrote:

I have replicated the behavior on a clean install @
http://www.xradiograph.com/projects/test/wiki/pmwiki.php

I attempted to set up blogit with nothing else installed.

Although AuthUser is said to be an optional component, if it is NOT
included, the wiki fails to load with at error in BlogIt @ line 581 (a
call to AuthUser)

I've logged this as a bug. AuthUser is meant to be optional.



I have set up a sample blog using the sample info @
http://www.pmwiki.org/wiki/Cookbook/BlogIt

with the daveg and step users, in the same roles

The complete text of my config.php is below

snip

Config looks fine, although I would remove the $bi_DefaultGroup line -- 
I suspect it's this which is causing your Recently Written list to be 
empty. This line instructs BlogIt to only look in Main group for blog 
entries. If you created entries in another group they will not be 
listed. If you exclude the definition of $bi_DefaultGroup, all blog 
entries across all groups will be listed.


If it's only you administering the blog, then you can simplify things:
# [1] Define BlogIt roles, and associated actions
# Actions: 'comment-edit', 'comment-approve', 'blog-edit', 
'blog-new','sidebar', 'blogit-admin'
$bi_Auth['blogit'] = array('comment-edit', 'comment-approve', 
'blog-edit', 'blog-new', 'sidebar', 'blogit-admin');


# [2] Define users passwords
$AuthUser['daveg'] = crypt('daveg');  #set daveg password

# [3] Add users to the roles
$AuthUser['@blogit'] = array('daveg');

# [4] Assign roles to security groups
$DefaultPasswords['blogit'] = array('@blogit');

# [5] Assign roles to pmwiki actions
$DefaultPasswords['edit'] = '@blogit';

# if not included, blogit fails @ line 581
include_once($FarmD/scripts/authuser.php);

$HandleAuth['source'] = 'edit';  #Prevents non authorized users from 
viewing comment source email address
$HandleAuth['diff'] = 'edit';  #Prevents non authorized users from 
viewing comment source email address


$MaxIncludes=500;  #BlogIt makes heavy use of includes, so this needs to 
be increased.

include_once($FarmD/cookbook/blogit/blogit.php);


 ~ ~ Dave




___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt configuration -- entries only visible if logged in

2010-08-08 Thread DaveG



On 8/8/2010 12:52 PM, michael paulukonis wrote:

I'm trying to set up a BlogIt blog, and while I can get it to work for
myself as the admin, the posts are not visible to anybody else (or
myself, when logged-out).

Additionally, the RecentlyWritten section is always blank, whether
logged-in, or not
I think this is because you specified $bi_DefaultGroup, and created blog 
entries in another group. (Ref response to your other email)




The BlogIt admin-panel for published entries allows me to see my two
published [hopefully, see note below on status confusion] entries, and
I can navigate there to view the entries. But once I log-out, the
entry is invisible.
If you are not logged in as an admin, then the admin-panel will not be 
visible. Blog entries should be visible to non-authenticated users from 
the main blog list - the page where you put the

  (:includesection #blog-summary-pagelist blogid=blog1 status=publish:)



I'm a little confused by the authorizations and terminology on the
BlogIt cookbook page... the default AuthUser example is for two users,
I want only one (myself).

I've provided a sample as a response to the other email.



Additionally, I'm confused by the differing terminology... at some
points, blog appears to refer to an individual post/page... at other
times, it refers to a group of posts belonging to a person.
I try to use blog-entry to mean a single post, and a blog to mean the 
list of all posts. I may not be consistent, so if you can improve it, 
your help would be welcome.




Although blogid is required for the main blog page, I can't find
this defined anywhere; I'm assuming that blog1 is the default id for
a single blog.
Correct, blog1 is the default if you only have a single blog. If you 
want more than one blog, define:

  $bi_BlogList = array('blog1','blog2')



Does a non-logged in reader need to have view permissions created?

No. The norm is for non-authenticated users to view blog-entries.


This is confusing, since the recipe page says Most blogs are not
public. I do want my blog to be public; but restrict administration
to myself.
The behavior you want is the norm. Blog-entries are public; 
administration requires authentication. Again, if you have an alternate 
phrasing, feel free to propose or change it.




Publish and Published are used at different times to refer to an
post status. Since Publish is a verb, I would think this is the
action required to move a post from Draft to Published (and not a
status itself). So I'm not entirely sure I've actually changed the
entry from draft to published.
The term Published simply refers to blog-entries of status Publish. You 
can view the blog-entry status from a number of places -- probably 
easiest is from the edit screen.




However, I do have distinct entires appearing under the Published
and Draft pages. Also slightly confused by the word Publish
appearing under Action on the Published page... this suggests to
me that they are NOT published
The bold Draft/Publish on the admin-list is meant to be a sub-header. 
the Action header refers to the action-links under that (edit/delete, etc).



  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt tags/categories

2010-06-14 Thread Amos Satterlee
I'm new to PmWiki. I installed it locally on my Windows 7 box very
easily, and installed the BlogIt recipe, also very easily. Now I'm
testing and learning.

I want to have both blogging capabilities and traditional wiki
capabilities in one site. By that I mean I want to be able to create
blog entries through the BlogIt form interface and to write longer
articles as new pages in the traditional way.

I have noticed that when BlogIt is enabled, it seems to override the
PmWiki category engine. I am finding that if I put a category link on
a traditional page [[!category]], the category is not picked up by
either the PmWiki category engine or the BlogIt tag engine.

Am I missing something in my set up, or is this an issue?

Amos Satterlee

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt tags/categories

2010-06-14 Thread DaveG



On 6/14/2010 9:20 AM, Amos Satterlee wrote:

I'm new to PmWiki. I installed it locally on my Windows 7 box very
easily, and installed the BlogIt recipe, also very easily. Now I'm
testing and learning.

I want to have both blogging capabilities and traditional wiki
capabilities in one site. By that I mean I want to be able to create
blog entries through the BlogIt form interface and to write longer
articles as new pages in the traditional way.

I have noticed that when BlogIt is enabled, it seems to override the
PmWiki category engine. I am finding that if I put a category link on
a traditional page [[!category]], the category is not picked up by
either the PmWiki category engine or the BlogIt tag engine.

Am I missing something in my set up, or is this an issue?
You should be able to do exactly what you're describing, but looks like 
something is preventing the category markup from working correctly on 
traditional pages when BlogIt is enabled. I'll take a look. Thanks for 
letting me know.



 ~ ~ Dave


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt does not converts plain wiki pages

2010-02-16 Thread ki...@kirpi.it
I've been positively impressed by the comment handling of the BlogIt
recipe (although something still needs ironing), and after a few
(loose) tests I would like to convert all my wiki to BlogIt.
But as I try to call a page with
 ?action=blogitupgradepattern=.writetofile=true
in order to convert the whole wiki, I get
Fatal error: Function name must be a string in
/web/htdocs/www.kirpi.it/home/wiki/cookbook/blogit/blogit.php on line
472
I made sure to backup wiki.d and login as admin before issuing the command.
What could it be, please?

Bravo Dave, anyway!

Luigi

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt does not converts plain wiki pages

2010-02-16 Thread DaveG


On 2/16/2010 11:05 AM, ki...@kirpi.it wrote:
 I've been positively impressed by the comment handling of the BlogIt
 recipe (although something still needs ironing), and after a few
 (loose) tests I would like to convert all my wiki to BlogIt.
 But as I try to call a page with
   ?action=blogitupgradepattern=.writetofile=true
 in order to convert the whole wiki, I get
 Fatal error: Function name must be a string in
 /web/htdocs/www.kirpi.it/home/wiki/cookbook/blogit/blogit.php on line
 472
Just, an fyi, I can replicate this problem, and I'm looking into a 
solution.

It looks like this error occurs if you use the built-in PmWiki security 
(ie, not AuthUser). Can you confirm that you using the basic PmWiki 
security, and are you running the latest version of BlogIt?

Also, I don't recommend converting *all* pages, as this would also 
convert the PmWiki group pages, and possibly other system pages. I'll 
update the docs to reflect this. Usually use something to delineate the 
group like pattern=Blog\.


  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt does not converts plain wiki pages

2010-02-16 Thread DaveG


On 2/16/2010 3:37 PM, ki...@kirpi.it wrote:
 It looks like this error occurs if you use the built-in PmWiki security (ie,
 not AuthUser). Can you confirm that you using the basic PmWiki security, and
 are you running the latest version of BlogIt?

 Yes, I can confirm.
I'll post an update to correct the problem.


 As a matter of fact, I also have a problem as the standard edit
 password seem not to be enough to save changes, and I am always forced
 to log in ad admin.
 Not a big problem to me personally, but something should be wrong somehow.
You should not need to login as admin. By default you should only need 
'edit' privs. Could you send me the config used to setup blogit security 
(any $bi_Auth statements).

 Also, I don't recommend converting *all* pages, as this would also convert
 the PmWiki group pages, and possibly other system pages. I'll update the
 docs to reflect this. Usually use something to delineate the group like
 pattern=Blog\.

 Ok, I'll follow youe advice.
 Still there should be some filter, maybe, not to change special
 pages like RecentChanges and the like. Or not?
Agreed there should be a filter probably using $SearchPatterns, and this 
is how things started out. Somehow over time, I remove this restriction. 
I'll add it on to the todo list.

  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt does not converts plain wiki pages

2010-02-16 Thread DaveG


On 2/16/2010 11:05 AM, ki...@kirpi.it wrote:
 I've been positively impressed by the comment handling of the BlogIt
 recipe (although something still needs ironing), and after a few
 (loose) tests I would like to convert all my wiki to BlogIt.
 But as I try to call a page with
   ?action=blogitupgradepattern=.writetofile=true
 in order to convert the whole wiki, I get
I just noticed that you don't specify a 'mode' parameter. By default, if 
no mode parameter is specified then an upgrade will be run. Upgrades 
only run on pages that are already BlogIt pages. So you'll need to add 
mode=convert

  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Blogit sidebar Problem

2009-06-17 Thread edwin marte
I am testing the Blogit cookbook with the Equilibrium new Theme to check how
it goes.

I then have in the sidebar the following:

%apply list class=\”blogit-blog-summary-list\”%
Title of the Entry
 %apply list class=\”blogit-blog-summary-list\”%
second Title

In every entry appears the markup showed before every title. It seems to be
there is something which is not acivated or it has not been recognized. any
ideas why ?

In the other hand the comments, I post new comments and I get Post
successful message but I don't see them i the Unapproved Comments in the
side bar. Any reason why ?

-Edwin.
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Blogit sidebar Problem

2009-06-17 Thread DaveG


On Wed, 17 Jun 2009 13:16:38 -0300, edwin marte  wrote: 

 I then have in the sidebar the following:
 %apply list class=blogit-blog-summary-list%
 Title of the Entry
 %apply list class=blogit-blog-summary-list% 

 second Title 

 In every entry appears the markup showed before every title. It seems to
be there is something which is not acivated or it has not been recognized.
any ideas why ? 

The markup you pasted will apply the css-class blogit-blog-summary-list to
a list, but there are a number of problems: 

1] you don't seem to have defined a list 

2] You shouldn't have a backslash before the quotes. 

3] Equilibrium doesn't define a style called blogit-blog-summary-list 

Not sure what effect you are after here -- if you can tell me what you're
trying to achieve I may be able to help. 

 In the other hand the comments, I post new comments and I get Post
successful message 

 but I don't see them i the Unapproved Comments in the side bar. Any
reason why ?


Have you changed any blogit settings in your config.php? Particularly
$bi_BlogList? The control-panel (which displays the Unapproved Comments)
needs this variable set -- by default it's blog1. 

 ~ ~ Dave___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Blogit sidebar Problem

2009-06-17 Thread edwin marte
Thanks to Dave,

Solved with a fresh clean Install !!

Cheers,
Edwin

On Wed, Jun 17, 2009 at 12:16 PM, edwin marte edwin.ma...@leidba.comwrote:

 I am testing the Blogit cookbook with the Equilibrium new Theme to check
 how it goes.

 I then have in the sidebar the following:

 %apply list class=\”blogit-blog-summary-list\”%
 Title of the Entry
  %apply list class=\”blogit-blog-summary-list\”%
 second Title

 In every entry appears the markup showed before every title. It seems to be
 there is something which is not acivated or it has not been recognized. any
 ideas why ?

 In the other hand the comments, I post new comments and I get Post
 successful message but I don't see them i the Unapproved Comments in the
 side bar. Any reason why ?

 -Edwin.


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users