Hi all, I want to install the register form in my pmwiki, I downloaded the userauth cookbook and was able to install the login page. but I do not know how to install the register page, so please help if you have an idea. Thanks. ![]()
Offline
Ok, did you create the correct page and add the text (:newuser:) to it?
Last edited by UberGeek (2010-01-08 20:03:35)
Offline
Hi ubergeek, yes, i have created the newuser.php file with (:newuser:) in it. What do i do next? Do i have to create a link for it in login page? What would be the url? Thanks.![]()
Offline
Ok, you created the newuser.php page? The only step should be adding
include_once("$FarmD/scripts/authuser.php");
Then, create the page SiteAdmin/AuthUser and add the text (:newuser:) to it. That will give you the login form (Which is customizable).
The following needs to be in your config.php:
$GuestUserName = 'Anonymous';
$AuthUser['htpasswd'] = 'local/.htpasswd';
$AuthUser['htgroup'] = 'local/.htgroup';
$HtpasswordDefaultType = 1;
include_once("$FarmD/scripts/authuser.php");
include_once("$FarmD/cookbook/htpasswdform.php");
htpasswdform.php is a "nice to have", so you can admin user accounts right from the wiki with no FTP.
You should rely on this page here for more help:
http://www.pmwiki.org/wiki/PmWiki/AuthUser
If you like, I can configure your site to use the login capabilities of PmWiki. You can PM me for the details.
Offline
You are not logged in.