X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/736b4f3dad7647c0f269f6d6f342fd951aa393a6..86564b20464b43d174792934812b5c1300b70415:/doc/index/discussion.mdwn diff --git a/doc/index/discussion.mdwn b/doc/index/discussion.mdwn index e60ab0f50..374391cda 100644 --- a/doc/index/discussion.mdwn +++ b/doc/index/discussion.mdwn @@ -165,18 +165,26 @@ Clicking on an old "?" or going to a create link but new Markdown content exists ---- -# Discuss without login? Or feedback forum? Or fine-tuned per-page access control? +# User database tools? -Any plugin or option for allowing website visitors to edit the discuss page without logging in (without having ikiwiki accounts)? +Any tool to view user database? -Or any plugin to add a feedback form (and maybe threads) to extend a Wiki webpage? +Any tool to edit the user database? -Or is there per-page access control that can be fine-tuned to lock some users or groups for specific pages? -(The [[pagespec]] does show a way to lock all pages except for Discussion pages, but I want some users to also be able to edit other pages.) +> No, but it's fairly easy to write such tools in perl. For example, to +> list all users in the user database: -I want a way for website visitors to be able to give feedback on the wiki pages without having to sign up or log in. -I don't want them to be able to edit the exiting wiki pages except maybe Discussion page. + joey@kodama:~/src/joeywiki/.ikiwiki>perl -le 'use Storable; my $userinfo=Storable::retrieve("userdb"); print $_ foreach keys %$userinfo' + http://joey.kitenet.net/ + foo -(For some reason, it seems like I asked this before ...) +> To list each user's email address: ---JeremyReed \ No newline at end of file + joey@kodama:~/src/joeywiki/.ikiwiki>perl -le 'use Storable; my $userinfo=Storable::retrieve("userdb"); print $userinfo->{$_}->{email} foreach keys %$userinfo' + + joey@kitenet.net + +> Editing is simply a matter of changing values and calling Storable::store(). +> I've not written actual utilities to do this yet because I've only needed +> to do it rarely, and the data I've wanted has been different each time. +> --[[Joey]]