X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Fsignup.html;h=262b697bbfa0ace6bcf05523622d71655c249a8a;hb=68a1b014aea963c2c94316fa34ec9a5dd135d102;hp=a40b1f9631868d3cb271a08b9030a620595a3183;hpb=51984ac3d3da3006809c6866fdecd4ad83610731;p=freeside.git
diff --git a/httemplate/docs/signup.html b/httemplate/docs/signup.html
index a40b1f963..262b697bb 100644
--- a/httemplate/docs/signup.html
+++ b/httemplate/docs/signup.html
@@ -18,6 +18,7 @@ Then:
- Add the user `freeside' to the the external machine.
- Copy or symlink fs_signup/FS-SignupClient/cgi/signup.cgi into the web server's document space.
+
- When linking to signup.cgi, you can include a referring custnum in the URL as follows:
http://public.web.server/path/signup.cgi?ref=1542
- Enable CGI execution for files with the `.cgi' extension. (with Apache)
- Create the /usr/local/freeside directory on the external machine (owned by the freeside user).
- touch /usr/local/freeside/fs_signupd_socket; chown freeside /usr/local/freeside/fs_signupd_socket; chmod 600 /usr/local/freeside/fs_signupd_socket
@@ -41,7 +42,7 @@ Optional:
- $password
- $email_name - first and last name
- (an example file is included as fs_signup/ieak.template)
+ (an example file is included as fs_signup/ieak.template) See the IEAK documentation for more information.
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
@@ -52,6 +53,8 @@ Optional:
- $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/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 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
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.