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


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

<>

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 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

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
 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


[pmwiki-users] Absence Congés / Absent Holidays

2010-08-08 Thread philippe . krait
  -  The following is an automated response
  -  to your message generated on behalf of philippe.kr...@thalesgroup.com


Bonjour, je suis en congés entre le vendredi 30 juillet au soir et le mercredi 
1 Septembre au matin. Mon intérim est assuré par Philippe Dailly.
Je serais probablement très difficile à joindre, mais en cas d'urgence, vous 
pouvez essayer de me contacter sur mon mobile au +33 6 30 16 14 28 
begin_of_the_skype_highlighting  +33 6 30 16 14 
28  end_of_the_skype_highlighting 
begin_of_the_skype_highlighting  +33 6 30 16 14 
28  end_of_the_skype_highlighting. Sinon, contactez Philippe Dailly (+33 6 
24 21 16 75).
Hello, I am on holidays from Friday the 30th of July evening, and back on 
Wednesday, the 1st of September. My deputy during this period of time is 
Philippe Dailly.
I will probably be very hard to reach but, in case of emergency, you can try to 
contact me on my mobile: +33 6 30 16 14 28. Otherwise, please contact Philippe 
Dailly (+33 6 24 21 16 75).

___
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=gst&q=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