doc/developer/ClosedNetwork

Version 1 (modified by Andrew Hodel, 14 years ago)

Initial Creation

Introduction

Wifidog works great for open networks where you would allow anyone to connect and register. This may not always be the desired result you are looking for.

With this in mind I have made a few very minor changes which allow Wifidog to operate in this manner, while not disturbing the original way in which Wifidog is supposed to operate. My goal is to work to improve this, and hopefully collaborate in order to expand the area in which Wifidog is used.

This document will assume the reader understands the normal operation of a Wifidog network and is wanting to apply this configuration to an already operational network.

The original Author, Andrew Hodel can be contacted at andrewhodel _@_ gmail.com.


First Step - Authenticator:

Initially you must set the Network authenticator class for the default network to "AuthenticatorLocalUserNoSignup"

Second Step - Code Changes:

Below is a list of files, a list of changes for each file with the reasoning behind it, and a copy of the modified file. For the time being you can simply copy the files to your installation of Wifidog.

* File 1

* File 2

* File 3

Third Step - Theme Pack which hides the free signup button:

As noted for the file "templates/classes/Authenticator_getLoginForm.tpl", it is ideal to remove the "Free User Registration Button" from the login page for our purposes. With the addition of a "submitnewaccount" class on the login form, we can easily do this in a Closed Network theme with css.

*Work in Progress*

Attachments