[pmwiki-users] private consult

Simon nzskiwi at gmail.com
Tue Nov 25 01:02:30 CST 2008


Here is the start of an answer.

1) To set All public pages read onlyin config.php set
$DefaultPasswords<http://pmwiki.org/wiki/PmWiki/SecurityVariables#DefaultPasswords>['edit']
= crypt('edit_password');
(See http://pmwiki.org/wiki/PmWiki/PasswordsAdmin#settingsitewidepasswords)<http://pmwiki.org/wiki/PmWiki/PasswordsAdmin#settingsitewidepasswords>

2) Edit the Site.PagesActionPage
using if auth edit (see also
http://pmwiki.org/wiki/PmWiki/ConditionalMarkup)<http://pmwiki.org/wiki/PmWiki/ConditionalMarkup>
eg
(:if auth edit:) * %item rel=nofollow class=browse accesskey=$[ak_view]%
[[{*$FullName} | $[View] ]] * %item rel=nofollow class=edit
accesskey=$[ak_edit]% [[{*$FullName}?action=edit | $[Edit] ]] * %item
rel=nofollow class=diff accesskey=$[ak_history]% [[{*$FullName}?action=diff
| $[History] ]] * %item rel=nofollow class=upload accesskey=$[ak_attach]%
[[{*$FullName}?action=upload | $[Attach] ]] * %item rel=nofollow
class=backlinks accesskey='$[ak_backlinks]'%
[[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:else:) *
%item rel=nofollow class=login accesskey='$[ak_login]'%
''[-[[{*$FullName}?action=login | $[login] ]]-]'' (:ifend:) (:if enabled
AuthPw:) * %item rel=nofollow class=logout accesskey='$[ak_logout]'%''
[-[[{*$FullName}?action=logout | $[logout] ]]-]'' (:ifend:)

This is used for example at http://hvnzda.org.nz/<http://www.hvnzda.org.nz/>

3) Its easy to get rid of the wikihead (Search/Recent Changes) and Footer by
deleting them from /pub/skins/yourskin/pmwiki.tmpl
by deleting the text between and including <div id='wikihead'> and the
matching </div>
and <div id='wikifoot'> and the matching </div>

Because they are part of the template I don't know of a way of hiding them
unless you are authorised to edit, but...
you can make them wiki pages and thegen use AuthEdit. If you want to do this
et back to me

Hope this helps
Your request is absolutely legitimate too.

Simon


2008/11/25 Sofia M <sofiam at gmail.com>

> Hi
> I'm not sure if this is frowned upon in this usergroup, but I'm at my wits'
> end setting up what seems to be a simple set-up.  I need to get it going,
> and I get stuck at every little step..
> Can I ask for a (paid) private consult from someone who can help me set
> PMWiki in the following way (as well as answer some questions about page
> structure, usernames, authentication, etc...)  I'd prefer a 'voice' and
> 'email' consultation, meaning skype or gmail voice chat - those are much
> faster and more effective than email alone
>
> all 'public' pages are read-only,

there's no 'edit-search-history' bar visible - noone can tell that this is a
> wiki and not a normal html page.
> under the menu bar on left-hand side, there's a 'login' link
> once there, user is prompted for username/password, and once he's logged
> in, he sees the 'edit-search-history' options
>
> Again, if this goes against the list-group rules, I appologize, it's just
> that I knew nothing about PMWiki (or any other Wiki) when I was asked to set
> this up, and it's already taking me waay too long with virtually no results.
> thanks,
> Sofia
>
>
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>


-- 

http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081125/edfe2efd/attachment.html 


More information about the pmwiki-users mailing list