Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory usw-pr-cvs1:/tmp/cvs-serv15777
Added Files:
UserPage.php
Log Message:
This is an alternative sign-in scheme that uses a Plugin page instead of
HTTP authentication. This is just a first draft, but it works. For now it
can exist side by side with the HTTP auth methods built into WikiUser. To
set it up on your system, do this:
1) Create a new page called "UserPage" which contains:
<?plugin UserPage?>
2) Modify your templates so that, if there is no one logged on, the various
edit buttons point to something like "${BROWSE}UserPage&edit=${PAGEURL}" (or
use a <?plugin-link UserPage?> tag) instead of "${ACTION}edit". You can
replace the "SignOn" link with a link to UserPage, too.
UserPage is a copy of the "clublet" wikis sign-on scheme. Check out
<http://why.clublet.com>.
Soon UserPage will also serve as a mechanism for setting hidden email
addresses and other UserPreferences.
KNOWN ISSUES
needs gettext()ification
UnknownWikiWord links still go directly to edit
COMING SOON
email address collection
distinction between new and returning users (based on Page metadata)
***** Error reading new file: [Errno 2] No such file or directory: 'UserPage.php'
|