X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fdocs%2Fsignup.html;h=e7472158a038b97146e06e1f00620b7a5f5056ba;hp=ae5f63f15d9e71813e2598312664a59bb662d51e;hb=8fc4118f1f055195d280b3250b39a3b5fcdf13dc;hpb=5e99168da38e7616fc726242ce7d85e140f22c6f diff --git a/httemplate/docs/signup.html b/httemplate/docs/signup.html index ae5f63f15..e7472158a 100644 --- a/httemplate/docs/signup.html +++ b/httemplate/docs/signup.html @@ -9,7 +9,8 @@ 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 +
  • Text::Template +
  • Storable
  • HTTP::Headers::UserAgent (version 2.0 or higher; not yet indexed correctly on CPAN)
  • FS::SignupClient (copy the fs_signup/FS-SignupClient directory to the external machine, then: perl Makefile.PL; make; make install) @@ -42,7 +43,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: (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.