X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Fsignup.html;h=97d7aa79450d1d8734c65f8afc2c8732fb531837;hb=2888eb3dd278260b3ed6ad4a2d4ae3ba656f6a57;hp=ae5f63f15d9e71813e2598312664a59bb662d51e;hpb=5e99168da38e7616fc726242ce7d85e140f22c6f;p=freeside.git
diff --git a/httemplate/docs/signup.html b/httemplate/docs/signup.html
index ae5f63f15..97d7aa794 100644
--- a/httemplate/docs/signup.html
+++ b/httemplate/docs/signup.html
@@ -9,8 +9,10 @@ webserver. On this machine, install:
A web server, such as Apache-SSL or Apache
SSH
Perl (at least 5.004_05 for the 5.004 series or 5.005_03 for the 5.005 series. Don't enable experimental features like threads or the PerlIO abstraction layer.)
- Text::Template
- HTTP::Headers::UserAgent (version 2.0 or higher; not yet indexed correctly on CPAN)
+ Text::Template
+ Storable
+ Business-CreditCard
+ HTTP::BrowserDetect
FS::SignupClient (copy the fs_signup/FS-SignupClient directory to the external machine, then: perl Makefile.PL; make; make install)
@@ -33,26 +35,20 @@ Then:
Optional:
- - If you create a /usr/local/freeside/ieak.template file on the external machine, it will be sent to IE users with MIME type application/x-Internet-signup. This file will be processed with Text::Template with the following variables available:
-
- - $ac - area code of selected POP
-
- $exch - exchange of selected POP
-
- $loc - local part of selected POP
-
- $username
-
- $password
-
- $email_name - first and last name
-
- (an example file is included as fs_signup/ieak.template)
- - If you create a /usr/local/freeside/cck.template file on the external machine, the variables defined will be sent to Netscape users with MIME type application/x-netscape-autoconfigure-dialer-v2. This file will be processed with Text::Template with the following variables available:
-
- - $ac - area code of selected POP
-
- $exch - exchange of selected POP
-
- $loc - local part of selected POP
-
- $username
-
- $password
-
- $email_name - first and last name
-
- (an example file is included as fs_signup/cck.template). See the Netscape documentation for more information.
+ - If you create a /usr/local/freeside/ieak.template file on the external machine, it will be sent to IE users with MIME type application/x-Internet-signup. This file will be processed with Text::Template with the variables listed below available.
+ (an example file is included as fs_signup/ieak.template) See the section on internet settings files in the IEAK documentation for more information.
+
- If you create a /usr/local/freeside/success.html file on the external machine, it will be used as the success HTML page. Although template substiutions are available, a regular HTML file will work fine here, unlike signup.html. An example file is included as fs_signup/FS-SignupClient/cgi/success.html
+
- Variable substitutions available in ieak.template, cck.template and success.html:
+
+ - $ac - area code of selected POP
+
- $exch - exchange of selected POP
+
- $loc - local part of selected POP
+
- $username
+
- $password
+
- $email_name - first and last name
+
- $pkg - package name
+
+ - If you create a /usr/local/freeside/signup.html file on the external machine, it will be used as a template for the form HTML. This requires the template to be constructed appropriately; probably best to start with the example file included as fs_signup/FS-SignupClient/cgi/signup.html.
- If there are any entries in the prepay_credit table, a user can enter a string matching the identifier column to receive the credit specified in the amount column, and/or the time specified in the seconds column (for use with the session monitor), after which that identifier is no longer valid. This can be used to implement pre-paid "calling card" type signups. The bin/generate-prepay script can be used to populate the prepay_credit table.