WikiMatrix
  • Forum
  •  » PmWiki
  •  » step by step installation of the register form

#1 2010-01-08 11:33:57

febrarian
Member
Registered: 2010-01-08
Posts: 4

step by step installation of the register form

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

Offline

 

#2 2010-01-08 20:01:43

UberGeek
Member
Registered: 2009-11-24
Posts: 43

Re: step by step installation of the register form

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

 

#3 2010-01-11 01:53:06

febrarian
Member
Registered: 2010-01-08
Posts: 4

Re: step by step installation of the register form

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

Offline

 

#4 2010-01-11 19:54:48

UberGeek
Member
Registered: 2009-11-24
Posts: 43

Re: step by step installation of the register form

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

 
  • Forum
  •  » PmWiki
  •  » step by step installation of the register form

You are not logged in.


Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB