<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://secure.freeside.biz/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Supaplex</id>
		<title>Freeside - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://secure.freeside.biz/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Supaplex"/>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php/Special:Contributions/Supaplex"/>
		<updated>2026-04-06T08:18:22Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Category:Freeside:1.7:Documentation:Template&amp;diff=3744</id>
		<title>Category:Freeside:1.7:Documentation:Template</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Category:Freeside:1.7:Documentation:Template&amp;diff=3744"/>
				<updated>2008-03-03T22:18:49Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See below for the list of templates that have fill in values (eg Text::Template or similar)&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/perldoc/Text::Template Text::Template Documentation] on [[CPAN]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration]]&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:payment_receipt_email&amp;diff=3743</id>
		<title>Freeside:1.7:Documentation:Template:payment receipt email</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:payment_receipt_email&amp;diff=3743"/>
				<updated>2008-03-03T22:18:39Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
This template is emailed to customers when a manual payment is applied.  A customer or support rep can initiate this.  This applies to '''Process credit card''' and '''Process electronic check ([[ACH]])''' payment links.  If the value is set to '''NO''', the template is ignored.&lt;br /&gt;
&lt;br /&gt;
You may configure this template from '''Configuration''', then '''Settings''' then '''payment_receipt_email'''. You can use &amp;lt;code&amp;gt;ctrl-f&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;cmd-f&amp;lt;/code&amp;gt; on macs) to search on the page.&lt;br /&gt;
&lt;br /&gt;
First, apply a payment to the customer http://420.am/~supaplex/screenshots/post-cash-payment.png&lt;br /&gt;
, then they'll receive the payment email like http://420.am/~supaplex/screenshots/received-payment_receipt_email.png&lt;br /&gt;
&lt;br /&gt;
== Defaults ==&lt;br /&gt;
&lt;br /&gt;
On a new install, the checkbox is ticked (enabled).&lt;br /&gt;
&lt;br /&gt;
Default template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{ $date }&lt;br /&gt;
&lt;br /&gt;
Dear { $name },&lt;br /&gt;
&lt;br /&gt;
This message is to inform you that your payment of ${ $paid } has been&lt;br /&gt;
received.&lt;br /&gt;
&lt;br /&gt;
Payment ID: { $paynum }&lt;br /&gt;
Date:       { $date }&lt;br /&gt;
Amount:     { $paid } &lt;br /&gt;
Type:       { $payby } # { $payinfo }&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  if ( $balance &amp;gt; 0 ) {&lt;br /&gt;
    $OUT .= &amp;quot;Your current balance is now \$$balance.\n\n&amp;quot;;&lt;br /&gt;
  } elsif ( $balance &amp;lt; 0 ) {&lt;br /&gt;
    $OUT .= 'You have a credit balance of $'. sprintf(&amp;quot;%.2f&amp;quot;,0-$balance).&lt;br /&gt;
              &amp;quot;.\n&amp;quot;.&lt;br /&gt;
            &amp;quot;Future charges will be deducted from this balance before billing &amp;quot;.&lt;br /&gt;
              &amp;quot;you again.\n\n&amp;quot;;&lt;br /&gt;
            &lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
Thank you for your business.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&lt;br /&gt;
;$date&lt;br /&gt;
:The date&lt;br /&gt;
;$name&lt;br /&gt;
:Customer name&lt;br /&gt;
;$paynum&lt;br /&gt;
:Freeside payment number&lt;br /&gt;
;$paid&lt;br /&gt;
:Amount of payment&lt;br /&gt;
;$payby&lt;br /&gt;
:Payment type (Card, Check, Electronic check, etc.)&lt;br /&gt;
;$payinfo&lt;br /&gt;
:Masked credit card number or check number&lt;br /&gt;
;$balance&lt;br /&gt;
:New balance&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Administration&amp;diff=3742</id>
		<title>Freeside:1.7:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Administration&amp;diff=3742"/>
				<updated>2008-03-03T22:10:26Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: /* Payment Receipts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Exports (provisioning) =&lt;br /&gt;
&lt;br /&gt;
'''Exports''' allow you to provision services to remote machines, databases and APIs.  Some exports, such as ''sqlradius'' and ''sqlradius_withdomain'',  enable a feed for retrieving rating/usage data.&lt;br /&gt;
&lt;br /&gt;
Exports can be added and edited under&lt;br /&gt;
: Configuration -&amp;gt; Provisioning, services and packages -&amp;gt; View/edit exports&lt;br /&gt;
&lt;br /&gt;
Most exports place jobs in the job queue for new, modified or deleted services.  Jobs are run by [[Freeside:1.7:Documentation:Developer/bin/freeside-queued|freeside-queued]].  This [[Freeside:1.7:Documentation:backend_service|service]] needs to be running before exports are acted upon.&lt;br /&gt;
&lt;br /&gt;
Click on ''Add a new export'' to create a new export.  Select exports from the dropdown to show more information on each export, including available options, setup and usage.&lt;br /&gt;
&lt;br /&gt;
Exports are activated by associating them with one or more '''service definitions'''.&lt;br /&gt;
&lt;br /&gt;
Following is a list of which exports can be associated with each type of service.&lt;br /&gt;
&lt;br /&gt;
==svc_acct==&lt;br /&gt;
* acct_plesk.pm:  Real-time export to Plesk managed mail service&lt;br /&gt;
* acct_sql.pm:  Real-time export of accounts to SQL databases .&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* bsdshell.pm: &lt;br /&gt;
* communigate_pro.pm:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* communigate_pro_singledomain.pm: &lt;br /&gt;
* cpanel.pm:  Real-time export to Cpanel control panel.&lt;br /&gt;
* cp.pm:  Real-time export to Critical Path Account Provisioning Protocol&lt;br /&gt;
* cyrus.pm:  Real-time export to Cyrus IMAP server&lt;br /&gt;
* everyone_net.pm:  Real-time export to Everyone.net outsourced mail service&lt;br /&gt;
* infostreet.pm:  Real-time export to InfoStreet streetSmartAPI&lt;br /&gt;
* ldap.pm:  Real-time export to LDAP&lt;br /&gt;
* passwdfile.pm:&lt;br /&gt;
* radiator.pm:  Real-time export to RADIATOR&lt;br /&gt;
* shellcommands.pm: &lt;br /&gt;
* shellcommands_withdomain.pm:  Real-time export via remote SSH (vpopmail, ISPMan)&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
* sqlradius.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)&lt;br /&gt;
* sqlradius_withdomain.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms&lt;br /&gt;
* sysvshell.pm: &lt;br /&gt;
* textradius.pm: &lt;br /&gt;
* vpopmail.pm:  Real-time export to vpopmail text files&lt;br /&gt;
&lt;br /&gt;
==svc_domain==&lt;br /&gt;
* bind.pm:  Batch export to BIND named&lt;br /&gt;
* bind_slave.pm: Batch export to slave BIND named&lt;br /&gt;
* domain_shellcommands.pm:  Run remote commands via SSH, for domains (qmail, ISPMan).&lt;br /&gt;
* domain_sql.pm:  Real time export of domains to SQL databases .&lt;br /&gt;
* http.pm:  Send an HTTP or HTTPS GET or POST request&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_forward==&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* forward_shellcommands.pm:  Run remote commands via SSH, for forwards&lt;br /&gt;
* postfix.pm:  Postfix text files&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_www==&lt;br /&gt;
* apache.pm:  Export an Apache httpd.conf file snippet.&lt;br /&gt;
* www_plesk.pm:  Real-time export to Plesk managed hosting service&lt;br /&gt;
* www_shellcommands.pm:  Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)&lt;br /&gt;
&lt;br /&gt;
==svc_broadband==&lt;br /&gt;
* nas_wrapper.pm:  A meta-export that triggers other svc_broadband exports.&lt;br /&gt;
* prizm.pm:  Real-time export to Northbound Interface&lt;br /&gt;
* router.pm:  Send a command to a router.&lt;br /&gt;
* snmp.pm:  Sends SNMP SETs to an SNMP agent.&lt;br /&gt;
* trango.pm:  Sends SNMP SETs to a Trango AP.&lt;br /&gt;
&lt;br /&gt;
==svc_external==&lt;br /&gt;
* artera_turbo.pm:&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
* Some rough notes on setting up [[Freeside:1.7:Documentation:Administration:Services:svc_acct|username-based services]]&lt;br /&gt;
&lt;br /&gt;
= Packages =&lt;br /&gt;
&lt;br /&gt;
* Some notes on [[Freeside:1.7:Documentation:Administration:Upselling | Upselling]]&lt;br /&gt;
&lt;br /&gt;
= Resellers =&lt;br /&gt;
&lt;br /&gt;
= Employees =&lt;br /&gt;
&lt;br /&gt;
= Billing =&lt;br /&gt;
&lt;br /&gt;
== Invoice events ==&lt;br /&gt;
&lt;br /&gt;
* Use invoice events to implement your business rules for re-sending invoices and late notices, retrying cards, suspending, etc.&lt;br /&gt;
&amp;lt;code&amp;gt;Configuration -&amp;gt; Billing -&amp;gt; View/Edit invoice events&amp;lt;/code&amp;gt;&lt;br /&gt;
* The freeside-daily script should be run daily to bill customers and run invoice collection events.&lt;br /&gt;
** Typically, this is accomplished with an entry in the freeside user's crontab such as: &amp;lt;pre&amp;gt;0 0 * * * /usr/local/bin/freeside-daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
** If running freeside-daily manually, ensure the &amp;lt;code&amp;gt;TZ&amp;lt;/code&amp;gt; variable is set to your timezone with a command such as: &amp;lt;pre&amp;gt;TZ=&amp;quot;US/Pacific&amp;quot; freeside-daily fs_daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If any monthly events are enabled, the freeside-monthly script should be run monthly.&lt;br /&gt;
* Invoice events can also be used to implement agent-virtualized invoices. (add more info)&lt;br /&gt;
&lt;br /&gt;
== Invoice templates ==&lt;br /&gt;
&lt;br /&gt;
=== Typeset (LaTeX) invoice templates ===&lt;br /&gt;
&lt;br /&gt;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
* Almost all distributions include the necessary prerequisites listed here, manual installation is practically never necessary.&lt;br /&gt;
* Install [http://www.ghostscript.com/ Ghostscript] (gs)&lt;br /&gt;
* Install [http://www.tug.org/tetex/ teTeX] or [http://www.tug.org/texlive/ TeX Live]&lt;br /&gt;
* Ensure that the &amp;lt;code&amp;gt;pslatex&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dvips&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;pdflatex&amp;lt;/code&amp;gt; command line utilities were installed&lt;br /&gt;
&lt;br /&gt;
=== Content setup ===&lt;br /&gt;
&lt;br /&gt;
* Edit the invoice_latexreturnaddress, invoice_latexfooter, invoice_latexnotes, and invoice_latexsmallfooter configuration options. If you are adventurous, edit invoice_latex as well.&lt;br /&gt;
&lt;br /&gt;
==== Logo setup ====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Encapsulated Postscript&amp;quot;&amp;gt;EPS&amp;lt;/em&amp;gt; logo is for PDF and printed invoices.&lt;br /&gt;
&lt;br /&gt;
* For best results, save a '''vector format''' logo in EPS (Encapsulated PostScript) format.  &lt;br /&gt;
** Your graphic artist can create vector image from a bitmap (tracing etc).&lt;br /&gt;
** In a pinch, converting a large detailed bitmap can work.  However, it still may not perform well.&lt;br /&gt;
* Resize the logo to 90pt X 36pt: &amp;lt;code&amp;gt;epsffit -c 0 0 90 36 yourlogo.eps &amp;gt;logo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
* Copy the resized logo to &amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''your_datasrc/logo.eps''&amp;lt;/code&amp;gt;&lt;br /&gt;
* Problems?  Try &amp;lt;code&amp;gt;bin/strip-eps &amp;lt;oldlogo.eps &amp;gt;trynewlogo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Portable Network Graphic&amp;quot;&amp;gt;PNG&amp;lt;/em&amp;gt; logo is for emailed and online invoices.&lt;br /&gt;
&lt;br /&gt;
Freeside ships with a logo of 92 x 62.  Any logo close to this size should work. The important factor is how your invoices look.  This may require some trial and error until it looks good everywhere.&lt;br /&gt;
&lt;br /&gt;
=== HTML invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* Place your logo in PNG format at &amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''your_datasrc''/logo.png&amp;lt;/code&amp;gt; &lt;br /&gt;
* Edit the invoice_html configuration option or the &amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''your_datasrc''/invoice_html&amp;lt;/code&amp;gt; file.  HTML invoices use Text::Template with &amp;lt;%= and %&amp;gt; delimiters. &lt;br /&gt;
* The following configuration options can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: invoice_htmlreturnaddress, and invoice_htmlfooter, invoice_htmlnotes. &lt;br /&gt;
&lt;br /&gt;
=== Plaintext invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* See the Text::Template documentation for details on the substitution language.&lt;br /&gt;
* You must call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column. Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).&lt;br /&gt;
* Descriptions of variables are available in [[Freeside:1.7:Documentation:Template:invoice_html|invoice_html]]&lt;br /&gt;
&lt;br /&gt;
=== Payment Receipts ===&lt;br /&gt;
&lt;br /&gt;
The [[Freeside:1.7:Documentation:Template:payment_receipt_email|payment_receipt_email]] template is used for manually applied payments.&lt;br /&gt;
&lt;br /&gt;
== Credit cards and Electronic checks ==&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration:Real-time_Processing | Real-time credit card and electronic check processing]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration:Batch_Processing | Batch credit card and electronic check processing]]&lt;br /&gt;
* Credit card expiration alerts: Customize the ''alerter_template'' configuration option and run &amp;lt;code&amp;gt;freeside-expiration-alerter&amp;lt;/code&amp;gt; daily.&lt;br /&gt;
* Credit card decline alerts: Customize the ''declinetemplate'' configuration option and set the ''emaildecline'' configuration option.&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:VoIP | VoIP]]&lt;br /&gt;
* Need to print to Windows printers?  Follow steps 1-4 of  [http://iharder.sourceforge.net/current/macosx/winmacprinter/ Share Your Windows Printer].&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:Slony | Slony replication and failover]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:payment_receipt_email&amp;diff=3741</id>
		<title>Freeside:1.7:Documentation:Template:payment receipt email</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:payment_receipt_email&amp;diff=3741"/>
				<updated>2008-03-03T22:09:32Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
This template is emailed to customers when a manual payment is applied.  A customer or support rep can initiate this.  This applies to '''Process credit card''' and '''Process electronic check ([[ACH]])''' payment links.  If the value is set to '''NO''', the template is ignored.&lt;br /&gt;
&lt;br /&gt;
You may configure this template from '''Configuration''', then '''Settings''' then '''payment_receipt_email'''. You can use &amp;lt;code&amp;gt;ctrl-f&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;cmd-f&amp;lt;/code&amp;gt; on macs) to search on the page.&lt;br /&gt;
&lt;br /&gt;
First, apply a payment to the customer http://420.am/~supaplex/screenshots/post-cash-payment.png&lt;br /&gt;
, then they'll receive the payment email like http://420.am/~supaplex/screenshots/received-payment_receipt_email.png&lt;br /&gt;
&lt;br /&gt;
== Defaults ==&lt;br /&gt;
&lt;br /&gt;
On a new install, the checkbox is ticked (enabled).&lt;br /&gt;
&lt;br /&gt;
Default template:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{ $date }&lt;br /&gt;
&lt;br /&gt;
Dear { $name },&lt;br /&gt;
&lt;br /&gt;
This message is to inform you that your payment of ${ $paid } has been&lt;br /&gt;
received.&lt;br /&gt;
&lt;br /&gt;
Payment ID: { $paynum }&lt;br /&gt;
Date:       { $date }&lt;br /&gt;
Amount:     { $paid } &lt;br /&gt;
Type:       { $payby } # { $payinfo }&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  if ( $balance &amp;gt; 0 ) {&lt;br /&gt;
    $OUT .= &amp;quot;Your current balance is now \$$balance.\n\n&amp;quot;;&lt;br /&gt;
  } elsif ( $balance &amp;lt; 0 ) {&lt;br /&gt;
    $OUT .= 'You have a credit balance of $'. sprintf(&amp;quot;%.2f&amp;quot;,0-$balance).&lt;br /&gt;
              &amp;quot;.\n&amp;quot;.&lt;br /&gt;
            &amp;quot;Future charges will be deducted from this balance before billing &amp;quot;.&lt;br /&gt;
              &amp;quot;you again.\n\n&amp;quot;;&lt;br /&gt;
            &lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
Thank you for your business.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&lt;br /&gt;
;$date&lt;br /&gt;
:The date&lt;br /&gt;
;$name&lt;br /&gt;
:Customer name&lt;br /&gt;
;$paynum&lt;br /&gt;
:Freeside payment number&lt;br /&gt;
;$paid&lt;br /&gt;
:Amount of payment&lt;br /&gt;
;$payby&lt;br /&gt;
:Payment type (Card, Check, Electronic check, etc.)&lt;br /&gt;
;$payinfo&lt;br /&gt;
:Masked credit card number or check number&lt;br /&gt;
;$balance&lt;br /&gt;
:New balance&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/perldoc/Text::Template Text::Template Documentation] on [[CPAN]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration]]&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=User:Supaplex&amp;diff=3740</id>
		<title>User:Supaplex</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=User:Supaplex&amp;diff=3740"/>
				<updated>2008-03-03T21:56:21Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: /* templates and substitution variables */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;random ideas and stuff&lt;br /&gt;
&lt;br /&gt;
== demo fs appliance ==&lt;br /&gt;
&lt;br /&gt;
a debian-live cd/dvd might be a nice alternative for this practice.  Each guest would include:&lt;br /&gt;
&lt;br /&gt;
# freeside&lt;br /&gt;
# postgresql+mysql servers&lt;br /&gt;
# self signup&lt;br /&gt;
&lt;br /&gt;
The desktop test version would have a wm, and firefox with a homepage of file:///home/freeside/start.html or something.&lt;br /&gt;
&lt;br /&gt;
== css on self signup, others ==&lt;br /&gt;
&lt;br /&gt;
test out sinorcaish from oswd&lt;br /&gt;
&lt;br /&gt;
== full cycle provisioning ==&lt;br /&gt;
&lt;br /&gt;
FS currently has a 'one shot' method of provisioning.  works great when nothing breaks, but in real life breakages are too often.  show off new code w.r.t. EvalOnDemand and how I fixed my email exports between suspend/change/unsuspend operations&lt;br /&gt;
&lt;br /&gt;
== vserver ==&lt;br /&gt;
&lt;br /&gt;
[[User:Supaplex/my_vserver_install_notes|My vserver install notes]]&lt;br /&gt;
&lt;br /&gt;
== pdf paper sizes ==&lt;br /&gt;
&lt;br /&gt;
try a4&lt;br /&gt;
&lt;br /&gt;
=== new $conf howto ===&lt;br /&gt;
&lt;br /&gt;
 system('dvips', '-q', '-t', 'letter' ...&lt;br /&gt;
&lt;br /&gt;
== new bugs ==&lt;br /&gt;
&lt;br /&gt;
I'll be adding a regression hunt + binary search howto for bug hunting&lt;br /&gt;
&lt;br /&gt;
== vim comments in mason files ==&lt;br /&gt;
&lt;br /&gt;
Let's stash &amp;lt;code&amp;gt;vim: syntax=mason&amp;lt;/code&amp;gt; in the mason comments so vim will go &amp;quot;Hey look, it's a mason file&amp;quot; and &amp;lt;code&amp;gt;syntax on&amp;lt;/code&amp;gt; will work first time every time (w/o editing &amp;lt;code&amp;gt;~/.vimrc&amp;lt;/code&amp;gt;)&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer:success.html&amp;diff=3739</id>
		<title>Freeside:1.7:Documentation:Developer:success.html</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer:success.html&amp;diff=3739"/>
				<updated>2008-03-03T21:47:31Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;;$email_name&lt;br /&gt;
:Customer First and Last Name&lt;br /&gt;
;$username&lt;br /&gt;
:Username&lt;br /&gt;
;$password&lt;br /&gt;
:Password&lt;br /&gt;
;$ac&lt;br /&gt;
:Area code (if it applies)&lt;br /&gt;
;$exch - $local&lt;br /&gt;
:Phone number (eg, of dial-up POP)&lt;br /&gt;
;$pkg&lt;br /&gt;
:Name of package&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer:signup.html&amp;diff=3738</id>
		<title>Freeside:1.7:Documentation:Developer:signup.html</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer:signup.html&amp;diff=3738"/>
				<updated>2008-03-03T21:47:03Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Form Values ==&lt;br /&gt;
&lt;br /&gt;
;ss&lt;br /&gt;
:Social Security Number? &lt;br /&gt;
;payby&lt;br /&gt;
:Payment method (see below)&lt;br /&gt;
;invoicing_list_POST&lt;br /&gt;
:Postal Mail Invoice&lt;br /&gt;
:POST = Yes ?&lt;br /&gt;
;invoicing_list&lt;br /&gt;
:Email address&lt;br /&gt;
&lt;br /&gt;
;promo_code&lt;br /&gt;
:Promotional Code (from promocode.html)&lt;br /&gt;
;reg_code&lt;br /&gt;
:Registration code (when referred by regcode.html)&lt;br /&gt;
;pkgpart&lt;br /&gt;
:package number customer is signing up for&lt;br /&gt;
:Corresponds to the View/Edit Package Definitions # listed from the Freeside webui.&lt;br /&gt;
;username&lt;br /&gt;
;_password&lt;br /&gt;
:password&lt;br /&gt;
;_password2&lt;br /&gt;
:password (again, to verify)&lt;br /&gt;
;sec_phrase&lt;br /&gt;
:Security Phrase&lt;br /&gt;
;popnum&lt;br /&gt;
:Access number&lt;br /&gt;
;refnum&lt;br /&gt;
:Customer number of party referring new customer&lt;br /&gt;
;stateid&lt;br /&gt;
:State identification number (eg, drivers license number?)&lt;br /&gt;
;stateid_state&lt;br /&gt;
:State that issued the id&lt;br /&gt;
&lt;br /&gt;
;signup&lt;br /&gt;
:Submit button. value = &amp;quot;Signup&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;action&lt;br /&gt;
:process_signup or process&lt;br /&gt;
:triggers signup of filled in values (if all input checks pass)&lt;br /&gt;
&lt;br /&gt;
=== Pay Methods ===&lt;br /&gt;
&lt;br /&gt;
;CARD&lt;br /&gt;
:Credit Card&lt;br /&gt;
;DCRD&lt;br /&gt;
:Credit Card&lt;br /&gt;
;CHEK&lt;br /&gt;
:Check&lt;br /&gt;
;DCHK&lt;br /&gt;
:Check&lt;br /&gt;
;LECB&lt;br /&gt;
:Phone Bill Billing&lt;br /&gt;
;BILL&lt;br /&gt;
:Billing&lt;br /&gt;
;COMP&lt;br /&gt;
:Complimentary&lt;br /&gt;
;PREPAY&lt;br /&gt;
:Prepaid Card&lt;br /&gt;
&lt;br /&gt;
For all of the (enabled) previous pay methods:  Values will be &amp;quot;method&amp;quot;_something&lt;br /&gt;
&lt;br /&gt;
;_payinfo&lt;br /&gt;
:Card number&lt;br /&gt;
:PO Number (for BILL)&lt;br /&gt;
:Approved by (for COMP)&lt;br /&gt;
;_payinfo1&lt;br /&gt;
;_payinfo2&lt;br /&gt;
;_payname&lt;br /&gt;
:Name on the card&lt;br /&gt;
;_paystate&lt;br /&gt;
;_paytype&lt;br /&gt;
;_paycvv&lt;br /&gt;
:CCV2 #&lt;br /&gt;
;_month&lt;br /&gt;
:Expiry Month&lt;br /&gt;
;_year&lt;br /&gt;
:Expiry Year&lt;br /&gt;
;_type&lt;br /&gt;
:CARD type, eg, Visa&lt;br /&gt;
&lt;br /&gt;
=== Address ===&lt;br /&gt;
&lt;br /&gt;
A prefix of ship_ is for shipping address info. Otherwise, it's billing (or both if shipping addresses are not enabled)&lt;br /&gt;
&lt;br /&gt;
;last&lt;br /&gt;
:Customer last name&lt;br /&gt;
;first&lt;br /&gt;
:Customer First name&lt;br /&gt;
;company&lt;br /&gt;
:Company Name&lt;br /&gt;
&lt;br /&gt;
;address1&lt;br /&gt;
:Mailing address, line 1&lt;br /&gt;
;address2&lt;br /&gt;
:Mailing address, line 2&lt;br /&gt;
;city&lt;br /&gt;
:City&lt;br /&gt;
;county&lt;br /&gt;
:County&lt;br /&gt;
;state&lt;br /&gt;
:State&lt;br /&gt;
;zip&lt;br /&gt;
:ZIP code or postal code&lt;br /&gt;
;country&lt;br /&gt;
:Country&lt;br /&gt;
&lt;br /&gt;
;daytime&lt;br /&gt;
:Day time phone number&lt;br /&gt;
;night&lt;br /&gt;
:Night time phone number&lt;br /&gt;
;fax&lt;br /&gt;
:Fax number&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer:signup.cgi&amp;diff=3737</id>
		<title>Freeside:1.7:Documentation:Developer:signup.cgi</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer:signup.cgi&amp;diff=3737"/>
				<updated>2008-03-03T21:46:34Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Variables ==&lt;br /&gt;
&lt;br /&gt;
;$agent&lt;br /&gt;
:Agent number&lt;br /&gt;
;$error&lt;br /&gt;
:Error message (if any)&lt;br /&gt;
;$self_url&lt;br /&gt;
:possibly unused. appears to be $cgi-&amp;gt;self_url now.&lt;br /&gt;
;$session_id&lt;br /&gt;
:session id&lt;br /&gt;
;$referral_custnum&lt;br /&gt;
:referring customer number&lt;br /&gt;
;$ieak_file&lt;br /&gt;
:ieak template filename (internet explorer setup)&lt;br /&gt;
;$ieak_template&lt;br /&gt;
:contents of $ieak_file after processing.&lt;br /&gt;
;$signup_html&lt;br /&gt;
:Location of signup.html&lt;br /&gt;
;$success_html&lt;br /&gt;
:Location of success.html&lt;br /&gt;
;$decline_html&lt;br /&gt;
:Location of decline.html&lt;br /&gt;
;$signup_template, $success_template, $decline_template&lt;br /&gt;
:Working copies (in memory) of each template.&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer&amp;diff=3736</id>
		<title>Freeside:1.7:Documentation:Developer</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer&amp;diff=3736"/>
				<updated>2008-03-03T21:45:59Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: /* Signup and self-service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction = &lt;br /&gt;
&lt;br /&gt;
= Signup and self-service =&lt;br /&gt;
&lt;br /&gt;
You can of course customize the signup and self-service templates as well as plug into the self-service API from Perl, PHP or any other language via XML-RPC.  See the [[Freeside:1.7:Documentation:Developer/FS/SelfService|FS::SelfService API]].  &lt;br /&gt;
&lt;br /&gt;
There are notes for the existing [[Freeside:1.7:Documentation:Developer:signup.cgi|signup.cgi]], [[Freeside:1.7:Documentation:Developer:signup.html|signup.html]] or [[Freeside:1.7:Documentation:Developer:success.html|success.html]] as well.&lt;br /&gt;
&lt;br /&gt;
= Backend plugins =&lt;br /&gt;
&lt;br /&gt;
The backend code is structured to make it easy to add &amp;quot;plugins&amp;quot; of various types.  1.7 allows you to easily add new price plans and exports.  1.9 extends this and additionally allows event plugins (conditions and actions) and new kinds of service tables.&lt;br /&gt;
&lt;br /&gt;
== Price plans ==&lt;br /&gt;
&lt;br /&gt;
[[Freeside:1.7:Documentation:Developer:Price Plans|Price plans]]&lt;br /&gt;
&lt;br /&gt;
== Exports ==&lt;br /&gt;
&lt;br /&gt;
[[Freeside:1.7:Documentation:Developer:Exports|Exports]]&lt;br /&gt;
&lt;br /&gt;
== (Invoice) Events ==&lt;br /&gt;
&lt;br /&gt;
Invoice events have been refactored in 1.9.x and are now just events.  The new events have &amp;quot;Condition&amp;quot; and &amp;quot;Action&amp;quot; plugins.&lt;br /&gt;
&lt;br /&gt;
== Services ==&lt;br /&gt;
&lt;br /&gt;
Service tables are fully &amp;quot;plug-in&amp;quot; able - just create the table (see &amp;quot;Schema changes&amp;quot; below) and define the %info hash.&lt;br /&gt;
&lt;br /&gt;
= Additional developer information =&lt;br /&gt;
&lt;br /&gt;
== Schema changes ==&lt;br /&gt;
&lt;br /&gt;
[[Freeside:1.7:Documentation:Developer:Schema changes|Schema changes]] - Quick documentation on how to make schema changes&lt;br /&gt;
&lt;br /&gt;
== Agent virtualization ==&lt;br /&gt;
&lt;br /&gt;
[[Freeside:1.7:Documentation:Developer:Agent-virtualized Config|Agent-virtualized config]] - Quick notes on how to agent-virtualize new parts of the configuration tables&lt;br /&gt;
&lt;br /&gt;
= API documentation =&lt;br /&gt;
&lt;br /&gt;
[[Freeside:1.7:Documentation:Developer/FS|1.7 API documentation]]&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Administration&amp;diff=3735</id>
		<title>Freeside:1.7:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Administration&amp;diff=3735"/>
				<updated>2008-03-03T21:38:16Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: /* Plaintext invoice templates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Exports (provisioning) =&lt;br /&gt;
&lt;br /&gt;
'''Exports''' allow you to provision services to remote machines, databases and APIs.  Some exports, such as ''sqlradius'' and ''sqlradius_withdomain'',  enable a feed for retrieving rating/usage data.&lt;br /&gt;
&lt;br /&gt;
Exports can be added and edited under&lt;br /&gt;
: Configuration -&amp;gt; Provisioning, services and packages -&amp;gt; View/edit exports&lt;br /&gt;
&lt;br /&gt;
Most exports place jobs in the job queue for new, modified or deleted services.  Jobs are run by [[Freeside:1.7:Documentation:Developer/bin/freeside-queued|freeside-queued]].  This [[Freeside:1.7:Documentation:backend_service|service]] needs to be running before exports are acted upon.&lt;br /&gt;
&lt;br /&gt;
Click on ''Add a new export'' to create a new export.  Select exports from the dropdown to show more information on each export, including available options, setup and usage.&lt;br /&gt;
&lt;br /&gt;
Exports are activated by associating them with one or more '''service definitions'''.&lt;br /&gt;
&lt;br /&gt;
Following is a list of which exports can be associated with each type of service.&lt;br /&gt;
&lt;br /&gt;
==svc_acct==&lt;br /&gt;
* acct_plesk.pm:  Real-time export to Plesk managed mail service&lt;br /&gt;
* acct_sql.pm:  Real-time export of accounts to SQL databases .&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* bsdshell.pm: &lt;br /&gt;
* communigate_pro.pm:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* communigate_pro_singledomain.pm: &lt;br /&gt;
* cpanel.pm:  Real-time export to Cpanel control panel.&lt;br /&gt;
* cp.pm:  Real-time export to Critical Path Account Provisioning Protocol&lt;br /&gt;
* cyrus.pm:  Real-time export to Cyrus IMAP server&lt;br /&gt;
* everyone_net.pm:  Real-time export to Everyone.net outsourced mail service&lt;br /&gt;
* infostreet.pm:  Real-time export to InfoStreet streetSmartAPI&lt;br /&gt;
* ldap.pm:  Real-time export to LDAP&lt;br /&gt;
* passwdfile.pm:&lt;br /&gt;
* radiator.pm:  Real-time export to RADIATOR&lt;br /&gt;
* shellcommands.pm: &lt;br /&gt;
* shellcommands_withdomain.pm:  Real-time export via remote SSH (vpopmail, ISPMan)&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
* sqlradius.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)&lt;br /&gt;
* sqlradius_withdomain.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms&lt;br /&gt;
* sysvshell.pm: &lt;br /&gt;
* textradius.pm: &lt;br /&gt;
* vpopmail.pm:  Real-time export to vpopmail text files&lt;br /&gt;
&lt;br /&gt;
==svc_domain==&lt;br /&gt;
* bind.pm:  Batch export to BIND named&lt;br /&gt;
* bind_slave.pm: Batch export to slave BIND named&lt;br /&gt;
* domain_shellcommands.pm:  Run remote commands via SSH, for domains (qmail, ISPMan).&lt;br /&gt;
* domain_sql.pm:  Real time export of domains to SQL databases .&lt;br /&gt;
* http.pm:  Send an HTTP or HTTPS GET or POST request&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_forward==&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* forward_shellcommands.pm:  Run remote commands via SSH, for forwards&lt;br /&gt;
* postfix.pm:  Postfix text files&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_www==&lt;br /&gt;
* apache.pm:  Export an Apache httpd.conf file snippet.&lt;br /&gt;
* www_plesk.pm:  Real-time export to Plesk managed hosting service&lt;br /&gt;
* www_shellcommands.pm:  Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)&lt;br /&gt;
&lt;br /&gt;
==svc_broadband==&lt;br /&gt;
* nas_wrapper.pm:  A meta-export that triggers other svc_broadband exports.&lt;br /&gt;
* prizm.pm:  Real-time export to Northbound Interface&lt;br /&gt;
* router.pm:  Send a command to a router.&lt;br /&gt;
* snmp.pm:  Sends SNMP SETs to an SNMP agent.&lt;br /&gt;
* trango.pm:  Sends SNMP SETs to a Trango AP.&lt;br /&gt;
&lt;br /&gt;
==svc_external==&lt;br /&gt;
* artera_turbo.pm:&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
* Some rough notes on setting up [[Freeside:1.7:Documentation:Administration:Services:svc_acct|username-based services]]&lt;br /&gt;
&lt;br /&gt;
= Packages =&lt;br /&gt;
&lt;br /&gt;
* Some notes on [[Freeside:1.7:Documentation:Administration:Upselling | Upselling]]&lt;br /&gt;
&lt;br /&gt;
= Resellers =&lt;br /&gt;
&lt;br /&gt;
= Employees =&lt;br /&gt;
&lt;br /&gt;
= Billing =&lt;br /&gt;
&lt;br /&gt;
== Invoice events ==&lt;br /&gt;
&lt;br /&gt;
* Use invoice events to implement your business rules for re-sending invoices and late notices, retrying cards, suspending, etc.&lt;br /&gt;
&amp;lt;code&amp;gt;Configuration -&amp;gt; Billing -&amp;gt; View/Edit invoice events&amp;lt;/code&amp;gt;&lt;br /&gt;
* The freeside-daily script should be run daily to bill customers and run invoice collection events.&lt;br /&gt;
** Typically, this is accomplished with an entry in the freeside user's crontab such as: &amp;lt;pre&amp;gt;0 0 * * * /usr/local/bin/freeside-daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
** If running freeside-daily manually, ensure the &amp;lt;code&amp;gt;TZ&amp;lt;/code&amp;gt; variable is set to your timezone with a command such as: &amp;lt;pre&amp;gt;TZ=&amp;quot;US/Pacific&amp;quot; freeside-daily fs_daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If any monthly events are enabled, the freeside-monthly script should be run monthly.&lt;br /&gt;
* Invoice events can also be used to implement agent-virtualized invoices. (add more info)&lt;br /&gt;
&lt;br /&gt;
== Invoice templates ==&lt;br /&gt;
&lt;br /&gt;
=== Typeset (LaTeX) invoice templates ===&lt;br /&gt;
&lt;br /&gt;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
* Almost all distributions include the necessary prerequisites listed here, manual installation is practically never necessary.&lt;br /&gt;
* Install [http://www.ghostscript.com/ Ghostscript] (gs)&lt;br /&gt;
* Install [http://www.tug.org/tetex/ teTeX] or [http://www.tug.org/texlive/ TeX Live]&lt;br /&gt;
* Ensure that the &amp;lt;code&amp;gt;pslatex&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dvips&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;pdflatex&amp;lt;/code&amp;gt; command line utilities were installed&lt;br /&gt;
&lt;br /&gt;
=== Content setup ===&lt;br /&gt;
&lt;br /&gt;
* Edit the invoice_latexreturnaddress, invoice_latexfooter, invoice_latexnotes, and invoice_latexsmallfooter configuration options. If you are adventurous, edit invoice_latex as well.&lt;br /&gt;
&lt;br /&gt;
==== Logo setup ====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Encapsulated Postscript&amp;quot;&amp;gt;EPS&amp;lt;/em&amp;gt; logo is for PDF and printed invoices.&lt;br /&gt;
&lt;br /&gt;
* For best results, save a '''vector format''' logo in EPS (Encapsulated PostScript) format.  &lt;br /&gt;
** Your graphic artist can create vector image from a bitmap (tracing etc).&lt;br /&gt;
** In a pinch, converting a large detailed bitmap can work.  However, it still may not perform well.&lt;br /&gt;
* Resize the logo to 90pt X 36pt: &amp;lt;code&amp;gt;epsffit -c 0 0 90 36 yourlogo.eps &amp;gt;logo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
* Copy the resized logo to &amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''your_datasrc/logo.eps''&amp;lt;/code&amp;gt;&lt;br /&gt;
* Problems?  Try &amp;lt;code&amp;gt;bin/strip-eps &amp;lt;oldlogo.eps &amp;gt;trynewlogo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Portable Network Graphic&amp;quot;&amp;gt;PNG&amp;lt;/em&amp;gt; logo is for emailed and online invoices.&lt;br /&gt;
&lt;br /&gt;
Freeside ships with a logo of 92 x 62.  Any logo close to this size should work. The important factor is how your invoices look.  This may require some trial and error until it looks good everywhere.&lt;br /&gt;
&lt;br /&gt;
=== HTML invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* Place your logo in PNG format at &amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''your_datasrc''/logo.png&amp;lt;/code&amp;gt; &lt;br /&gt;
* Edit the invoice_html configuration option or the &amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''your_datasrc''/invoice_html&amp;lt;/code&amp;gt; file.  HTML invoices use Text::Template with &amp;lt;%= and %&amp;gt; delimiters. &lt;br /&gt;
* The following configuration options can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: invoice_htmlreturnaddress, and invoice_htmlfooter, invoice_htmlnotes. &lt;br /&gt;
&lt;br /&gt;
=== Plaintext invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* See the Text::Template documentation for details on the substitution language.&lt;br /&gt;
* You must call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column. Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).&lt;br /&gt;
* Descriptions of variables are available in [[Freeside:1.7:Documentation:Template:invoice_html|invoice_html]]&lt;br /&gt;
&lt;br /&gt;
=== Payment Receipts ===&lt;br /&gt;
&lt;br /&gt;
The [[Freeside:1.7/Configuration/settings/payment_receipt_email|payment_receipt_email]] template is used for manually applied payments.&lt;br /&gt;
&lt;br /&gt;
== Credit cards and Electronic checks ==&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration:Real-time_Processing | Real-time credit card and electronic check processing]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration:Batch_Processing | Batch credit card and electronic check processing]]&lt;br /&gt;
* Credit card expiration alerts: Customize the ''alerter_template'' configuration option and run &amp;lt;code&amp;gt;freeside-expiration-alerter&amp;lt;/code&amp;gt; daily.&lt;br /&gt;
* Credit card decline alerts: Customize the ''declinetemplate'' configuration option and set the ''emaildecline'' configuration option.&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:VoIP | VoIP]]&lt;br /&gt;
* Need to print to Windows printers?  Follow steps 1-4 of  [http://iharder.sourceforge.net/current/macosx/winmacprinter/ Share Your Windows Printer].&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:Slony | Slony replication and failover]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_html&amp;diff=3734</id>
		<title>Freeside:1.7:Documentation:Template:invoice html</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_html&amp;diff=3734"/>
				<updated>2008-03-03T21:36:42Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$cid&lt;br /&gt;
:The MIME Content-ID used to create a &amp;quot;cid:&amp;quot; URL for the logo image, used&lt;br /&gt;
:when emailing the invoice as part of a multipart/related MIME email.&lt;br /&gt;
;$template&lt;br /&gt;
:controls which logo is provided (based on agent)&lt;br /&gt;
&lt;br /&gt;
See [[Freeside:1.7:Documentation:Template:invoice_latex|latex_invoice]] for the others.  Includes use invoice_html... vs latex_invoice...&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Category:Freeside:1.7:Documentation:Template&amp;diff=3733</id>
		<title>Category:Freeside:1.7:Documentation:Template</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Category:Freeside:1.7:Documentation:Template&amp;diff=3733"/>
				<updated>2008-03-03T21:34:08Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See below for the list of templates that have fill in values (eg Text::Template or similar)&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:warning_email&amp;diff=3732</id>
		<title>Freeside:1.7:Documentation:Template:warning email</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:warning_email&amp;diff=3732"/>
				<updated>2008-03-03T21:33:12Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$username&lt;br /&gt;
:Username of svc_acct&lt;br /&gt;
;$password&lt;br /&gt;
:Password&lt;br /&gt;
;$first&lt;br /&gt;
:Customer first name&lt;br /&gt;
;$last&lt;br /&gt;
:Customer last name&lt;br /&gt;
;$pkg&lt;br /&gt;
:Package name&lt;br /&gt;
;$column&lt;br /&gt;
:seconds, upbytes, downbytes or totalbytes&lt;br /&gt;
;$amount&lt;br /&gt;
:Unit remaining (of $column type)&lt;br /&gt;
;$threshold&lt;br /&gt;
:From svc_acct-usage_threshold&lt;br /&gt;
:The threshold (expressed as percentage) of acct.seconds or acct.up|down|totalbytes at which a warning message is sent to a service holder. Typically used in conjunction with prepaid packages and freeside-sqlradius-radacctd. Defaults to 80.&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:welcome_letter&amp;diff=3731</id>
		<title>Freeside:1.7:Documentation:Template:welcome letter</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:welcome_letter&amp;diff=3731"/>
				<updated>2008-03-03T21:32:44Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$payby&lt;br /&gt;
:a friendler represenation of the field&lt;br /&gt;
;$payinfo&lt;br /&gt;
:the masked payment information&lt;br /&gt;
;$expdate&lt;br /&gt;
:the time at which the payment method expires (a UNIX timestamp)&lt;br /&gt;
;$returnaddress&lt;br /&gt;
:the invoice return address for this customer's agent&lt;br /&gt;
;$conf_dir&lt;br /&gt;
:FS::Conf directory&lt;br /&gt;
;$payname&lt;br /&gt;
:Paid by (cardname, etc)&lt;br /&gt;
;$company&lt;br /&gt;
:Company name&lt;br /&gt;
;$address1&lt;br /&gt;
:Mailing address, first line.&lt;br /&gt;
;$address2&lt;br /&gt;
:Mailing address, second line (if any)&lt;br /&gt;
;$city&lt;br /&gt;
:City&lt;br /&gt;
;$state&lt;br /&gt;
:State&lt;br /&gt;
;$zip&lt;br /&gt;
:ZIP Code or postal code&lt;br /&gt;
;$country&lt;br /&gt;
:Country&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:welcome_email&amp;diff=3730</id>
		<title>Freeside:1.7:Documentation:Template:welcome email</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:welcome_email&amp;diff=3730"/>
				<updated>2008-03-03T21:32:23Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$username&lt;br /&gt;
:Username&lt;br /&gt;
;$password&lt;br /&gt;
:Password&lt;br /&gt;
;$first&lt;br /&gt;
:Customer first name&lt;br /&gt;
;$last&lt;br /&gt;
:Customer last name&lt;br /&gt;
;$pkg&lt;br /&gt;
:Package name&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_latex_statement&amp;diff=3729</id>
		<title>Freeside:1.7:Documentation:Template:invoice latex statement</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_latex_statement&amp;diff=3729"/>
				<updated>2008-03-03T21:32:04Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
See invoice_latex Includes will use invoice_latex_statement.... vs invoice_template....&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_html_statement&amp;diff=3728</id>
		<title>Freeside:1.7:Documentation:Template:invoice html statement</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_html_statement&amp;diff=3728"/>
				<updated>2008-03-03T21:31:47Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
See invoice_html Includes will use invoice_html_statement.... vs invoice_html....&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_template_statement&amp;diff=3727</id>
		<title>Freeside:1.7:Documentation:Template:invoice template statement</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_template_statement&amp;diff=3727"/>
				<updated>2008-03-03T21:31:30Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
See invoice_template. Includes will use invoice_template_statement.... vs invoice_template....&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:impending_recur_template&amp;diff=3726</id>
		<title>Freeside:1.7:Documentation:Template:impending recur template</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:impending_recur_template&amp;diff=3726"/>
				<updated>2008-03-03T21:30:59Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$first&lt;br /&gt;
:Customer First Name&lt;br /&gt;
;$last&lt;br /&gt;
:Customer Last Name&lt;br /&gt;
;$packages-&amp;gt;[0]&lt;br /&gt;
:Name of package&lt;br /&gt;
;$recurdates-&amp;gt;[0]&lt;br /&gt;
:package expiration&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:declinetemplate&amp;diff=3725</id>
		<title>Freeside:1.7:Documentation:Template:declinetemplate</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:declinetemplate&amp;diff=3725"/>
				<updated>2008-03-03T21:30:40Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$error&lt;br /&gt;
:error why credit card wasn't processed&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:payment_receipt_email&amp;diff=3724</id>
		<title>Freeside:1.7:Documentation:Template:payment receipt email</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:payment_receipt_email&amp;diff=3724"/>
				<updated>2008-03-03T21:30:07Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$date&lt;br /&gt;
:The date&lt;br /&gt;
;$name&lt;br /&gt;
:Customer name&lt;br /&gt;
;$paynum&lt;br /&gt;
:Freeside payment number&lt;br /&gt;
;$paid&lt;br /&gt;
:Amount of payment&lt;br /&gt;
;$payby&lt;br /&gt;
:Payment type (Card, Check, Electronic check, etc.)&lt;br /&gt;
;$payinfo&lt;br /&gt;
:Masked credit card number or check number&lt;br /&gt;
;$balance&lt;br /&gt;
:New balance&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_latex&amp;diff=3723</id>
		<title>Freeside:1.7:Documentation:Template:invoice latex</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_latex&amp;diff=3723"/>
				<updated>2008-03-03T21:29:42Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$footer&lt;br /&gt;
:Inclusion of invoice_latexfooter&lt;br /&gt;
;$smallfooter&lt;br /&gt;
:Inclusion of invoice_latexsmallfooter&lt;br /&gt;
;$returnaddress&lt;br /&gt;
:Inclusion of invoice_latexreturnaddress&lt;br /&gt;
;$date&lt;br /&gt;
:The date&lt;br /&gt;
;$invnum&lt;br /&gt;
:Invoice number&lt;br /&gt;
;$custnum&lt;br /&gt;
:Customer number&lt;br /&gt;
;$payname&lt;br /&gt;
:Payee&lt;br /&gt;
;$company&lt;br /&gt;
:Company name&lt;br /&gt;
;$address1&lt;br /&gt;
:Mailing address, first line&lt;br /&gt;
;$address2&lt;br /&gt;
:Second optional mailing address line&lt;br /&gt;
;$city&lt;br /&gt;
:City&lt;br /&gt;
;$state&lt;br /&gt;
:State&lt;br /&gt;
;$zip&lt;br /&gt;
:ZIP code or postal code&lt;br /&gt;
;$country&lt;br /&gt;
:Country&lt;br /&gt;
;$terms&lt;br /&gt;
:Terms: Eg, payable upon receipt.&lt;br /&gt;
;$po_line&lt;br /&gt;
:Purchase Order ?&lt;br /&gt;
&lt;br /&gt;
;@total_items&lt;br /&gt;
:An array of hashrefs.&lt;br /&gt;
:Each item in the array part of the overall total.&lt;br /&gt;
&lt;br /&gt;
;$line-&amp;gt;{total_item}&lt;br /&gt;
:Tax, Sub-total, Total, Credits, Payments, and Balance due. (if any)&lt;br /&gt;
&lt;br /&gt;
;$line-&amp;gt;{total_amount}&lt;br /&gt;
:Monetary amount of each category of your total_item.&lt;br /&gt;
&lt;br /&gt;
;@detail_items&lt;br /&gt;
:An array of line items (arrayrefs)&lt;br /&gt;
&lt;br /&gt;
;$line&amp;gt;{ext_description}&lt;br /&gt;
:Detailed individual svc_acct description (arrayref)&lt;br /&gt;
:One for each svc_acct in this package.&lt;br /&gt;
&lt;br /&gt;
;$line-&amp;gt;{ref}&lt;br /&gt;
:Package number&lt;br /&gt;
&lt;br /&gt;
;$line-&amp;gt;{description}&lt;br /&gt;
:Package description&lt;br /&gt;
:$ext_description&lt;br /&gt;
&lt;br /&gt;
;$line-&amp;gt;{amount}&lt;br /&gt;
:Cost&lt;br /&gt;
&lt;br /&gt;
;$notes&lt;br /&gt;
:Inclusion of invoice_latexnotes&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_html&amp;diff=3722</id>
		<title>Freeside:1.7:Documentation:Template:invoice html</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_html&amp;diff=3722"/>
				<updated>2008-03-03T21:29:04Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$cid&lt;br /&gt;
:The MIME Content-ID used to create a &amp;quot;cid:&amp;quot; URL for the logo image, used&lt;br /&gt;
:when emailing the invoice as part of a multipart/related MIME email.&lt;br /&gt;
;$template&lt;br /&gt;
:controls which logo is provided (based on agent)&lt;br /&gt;
&lt;br /&gt;
See latex_invoice for the others.  Includes use invoice_html... vs latex_invoice...&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:alerter_template&amp;diff=3721</id>
		<title>Freeside:1.7:Documentation:Template:alerter template</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:alerter_template&amp;diff=3721"/>
				<updated>2008-03-03T21:28:00Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;$first&lt;br /&gt;
:Customer first name&lt;br /&gt;
;$last&lt;br /&gt;
:Customer last name&lt;br /&gt;
;$payby&lt;br /&gt;
:Bill method (card, cash, etc)&lt;br /&gt;
;$expdate&lt;br /&gt;
:Expiration date of $payby&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_template&amp;diff=3720</id>
		<title>Freeside:1.7:Documentation:Template:invoice template</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Template:invoice_template&amp;diff=3720"/>
				<updated>2008-03-03T21:26:50Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside:1.7:Documentation:Template]]&lt;br /&gt;
&lt;br /&gt;
;$page&lt;br /&gt;
:What page is this?&lt;br /&gt;
;$total_pages&lt;br /&gt;
:How many pages are there?&lt;br /&gt;
;$date&lt;br /&gt;
:Date (in unixtime)&lt;br /&gt;
;$invnum&lt;br /&gt;
:Invoice number&lt;br /&gt;
;$address[0]..$address[5]&lt;br /&gt;
:Customer address lines&lt;br /&gt;
;$_&lt;br /&gt;
:A two dimensional array(ref) consisting of description, and price.&lt;br /&gt;
:decoupled like ($desc,$price) = @{$_}&lt;br /&gt;
;$desc&lt;br /&gt;
:Line item description&lt;br /&gt;
;$price&lt;br /&gt;
:Line item price&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3719</id>
		<title>Freeside:1.7:Documentation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3719"/>
				<updated>2008-03-03T21:24:53Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: /* Administrator's Guide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation and upgrades =&lt;br /&gt;
&lt;br /&gt;
== Backend Installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Installation|New Installation]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:RT Installation|Integrated RT Installation]]&lt;br /&gt;
* OS-specific installation guides&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnDebian|Debian 3.1 or 4.0]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnCentOS4.4|CentOS 4.4 (and Red Hat Enterprise Linux 4.4?)]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnFreeBSD|FreeBSD]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingUsingRPM|RPM-based install on RedHat, Fedora, CentOS]]&lt;br /&gt;
&lt;br /&gt;
== Signup and Self-service installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Self-Service Installation|Signup/Self-service Installation]]&lt;br /&gt;
&lt;br /&gt;
== Distributor guides ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:CreatingRPMRepo|Creating your own repository with Freeside RPMs]]&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Upgrading|Upgrading to 1.7]]&lt;br /&gt;
* [[Freeside:1.7.3:Documentation:Upgrading|Upgrading to 1.7.3]]&lt;br /&gt;
* [[Freeside:1.7:Changelog|1.7 Changelog]]&lt;br /&gt;
* [[Freeside:1.7.3:Changelog|1.7.3 Changelog]]&lt;br /&gt;
&lt;br /&gt;
= User's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:User|User's Guide]] (help wanted)&lt;br /&gt;
* [http://www.sisd.com/~ivan/freeside-slides Training presentation slides]&lt;br /&gt;
&lt;br /&gt;
= Administrator's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration|Administrator's Guide]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:DisasterRecovery|Disaster Recovery]]&lt;br /&gt;
* [[:Category:Freeside:1.7:Documentation:Template|Templates]] used and their fill in variables.&lt;br /&gt;
&lt;br /&gt;
= Developer's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Developer|Developer's Guide]]&lt;br /&gt;
&lt;br /&gt;
= Accounting Guide =&lt;br /&gt;
&lt;br /&gt;
*[[Freeside:1.7:Documentation:Accounting|Accounting Guide]]&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:Documentation:FAQ|Frequently Asked Questions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3718</id>
		<title>Freeside:1.7:Documentation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3718"/>
				<updated>2008-03-03T21:18:41Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation and upgrades =&lt;br /&gt;
&lt;br /&gt;
== Backend Installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Installation|New Installation]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:RT Installation|Integrated RT Installation]]&lt;br /&gt;
* OS-specific installation guides&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnDebian|Debian 3.1 or 4.0]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnCentOS4.4|CentOS 4.4 (and Red Hat Enterprise Linux 4.4?)]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnFreeBSD|FreeBSD]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingUsingRPM|RPM-based install on RedHat, Fedora, CentOS]]&lt;br /&gt;
&lt;br /&gt;
== Signup and Self-service installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Self-Service Installation|Signup/Self-service Installation]]&lt;br /&gt;
&lt;br /&gt;
== Distributor guides ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:CreatingRPMRepo|Creating your own repository with Freeside RPMs]]&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Upgrading|Upgrading to 1.7]]&lt;br /&gt;
* [[Freeside:1.7.3:Documentation:Upgrading|Upgrading to 1.7.3]]&lt;br /&gt;
* [[Freeside:1.7:Changelog|1.7 Changelog]]&lt;br /&gt;
* [[Freeside:1.7.3:Changelog|1.7.3 Changelog]]&lt;br /&gt;
&lt;br /&gt;
= User's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:User|User's Guide]] (help wanted)&lt;br /&gt;
* [http://www.sisd.com/~ivan/freeside-slides Training presentation slides]&lt;br /&gt;
&lt;br /&gt;
= Administrator's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration|Administrator's Guide]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:DisasterRecovery|Disaster Recovery]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:Template|Templates]] used and their fill in variables.&lt;br /&gt;
&lt;br /&gt;
= Developer's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Developer|Developer's Guide]]&lt;br /&gt;
&lt;br /&gt;
= Accounting Guide =&lt;br /&gt;
&lt;br /&gt;
*[[Freeside:1.7:Documentation:Accounting|Accounting Guide]]&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:Documentation:FAQ|Frequently Asked Questions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3717</id>
		<title>Freeside:1.7:Documentation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3717"/>
				<updated>2008-03-03T20:31:41Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: Reverted edits by Supaplex (Talk); changed back to last version by Ivan&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation and upgrades =&lt;br /&gt;
&lt;br /&gt;
== Backend Installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Installation|New Installation]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:RT Installation|Integrated RT Installation]]&lt;br /&gt;
* OS-specific installation guides&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnDebian|Debian 3.1 or 4.0]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnCentOS4.4|CentOS 4.4 (and Red Hat Enterprise Linux 4.4?)]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnFreeBSD|FreeBSD]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingUsingRPM|RPM-based install on RedHat, Fedora, CentOS]]&lt;br /&gt;
&lt;br /&gt;
== Signup and Self-service installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Self-Service Installation|Signup/Self-service Installation]]&lt;br /&gt;
&lt;br /&gt;
== Distributor guides ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:CreatingRPMRepo|Creating your own repository with Freeside RPMs]]&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Upgrading|Upgrading to 1.7]]&lt;br /&gt;
* [[Freeside:1.7.3:Documentation:Upgrading|Upgrading to 1.7.3]]&lt;br /&gt;
* [[Freeside:1.7:Changelog|1.7 Changelog]]&lt;br /&gt;
* [[Freeside:1.7.3:Changelog|1.7.3 Changelog]]&lt;br /&gt;
&lt;br /&gt;
= User's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:User|User's Guide]] (help wanted)&lt;br /&gt;
* [http://www.sisd.com/~ivan/freeside-slides Training presentation slides]&lt;br /&gt;
&lt;br /&gt;
= Administrator's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration|Administrator's Guide]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:DisasterRecovery|Disaster Recovery]]&lt;br /&gt;
&lt;br /&gt;
= Developer's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Developer|Developer's Guide]]&lt;br /&gt;
&lt;br /&gt;
= Accounting Guide =&lt;br /&gt;
&lt;br /&gt;
*[[Freeside:1.7:Documentation:Accounting|Accounting Guide]]&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:Documentation:FAQ|Frequently Asked Questions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3716</id>
		<title>Freeside:1.7:Documentation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3716"/>
				<updated>2008-03-03T20:26:57Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: /* Administrator's Guide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation and upgrades =&lt;br /&gt;
&lt;br /&gt;
== Backend Installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Installation|New Installation]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:RT Installation|Integrated RT Installation]]&lt;br /&gt;
* OS-specific installation guides&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnDebian|Debian 3.1 or 4.0]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnCentOS4.4|CentOS 4.4 (and Red Hat Enterprise Linux 4.4?)]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnFreeBSD|FreeBSD]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingUsingRPM|RPM-based install on RedHat, Fedora, CentOS]]&lt;br /&gt;
&lt;br /&gt;
== Signup and Self-service installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Self-Service Installation|Signup/Self-service Installation]]&lt;br /&gt;
&lt;br /&gt;
== Distributor guides ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:CreatingRPMRepo|Creating your own repository with Freeside RPMs]]&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Upgrading|Upgrading to 1.7]]&lt;br /&gt;
* [[Freeside:1.7.3:Documentation:Upgrading|Upgrading to 1.7.3]]&lt;br /&gt;
* [[Freeside:1.7:Changelog|1.7 Changelog]]&lt;br /&gt;
* [[Freeside:1.7.3:Changelog|1.7.3 Changelog]]&lt;br /&gt;
&lt;br /&gt;
= User's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:User|User's Guide]] (help wanted)&lt;br /&gt;
* [http://www.sisd.com/~ivan/freeside-slides Training presentation slides]&lt;br /&gt;
&lt;br /&gt;
= Administrator's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration|Administrator's Guide]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:DisasterRecovery|Disaster Recovery]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:Template|Templates]] used and their fill in variables.&lt;br /&gt;
&lt;br /&gt;
= Developer's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Developer|Developer's Guide]]&lt;br /&gt;
&lt;br /&gt;
= Accounting Guide =&lt;br /&gt;
&lt;br /&gt;
*[[Freeside:1.7:Documentation:Accounting|Accounting Guide]]&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:Documentation:FAQ|Frequently Asked Questions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=User:Supaplex&amp;diff=3704</id>
		<title>User:Supaplex</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=User:Supaplex&amp;diff=3704"/>
				<updated>2008-02-29T23:06:42Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;random ideas and stuff&lt;br /&gt;
&lt;br /&gt;
== demo fs appliance ==&lt;br /&gt;
&lt;br /&gt;
a debian-live cd/dvd might be a nice alternative for this practice.  Each guest would include:&lt;br /&gt;
&lt;br /&gt;
# freeside&lt;br /&gt;
# postgresql+mysql servers&lt;br /&gt;
# self signup&lt;br /&gt;
&lt;br /&gt;
The desktop test version would have a wm, and firefox with a homepage of file:///home/freeside/start.html or something.&lt;br /&gt;
&lt;br /&gt;
== css on self signup, others ==&lt;br /&gt;
&lt;br /&gt;
test out sinorcaish from oswd&lt;br /&gt;
&lt;br /&gt;
== full cycle provisioning ==&lt;br /&gt;
&lt;br /&gt;
FS currently has a 'one shot' method of provisioning.  works great when nothing breaks, but in real life breakages are too often.  show off new code w.r.t. EvalOnDemand and how I fixed my email exports between suspend/change/unsuspend operations&lt;br /&gt;
&lt;br /&gt;
== vserver ==&lt;br /&gt;
&lt;br /&gt;
[[User:Supaplex/my_vserver_install_notes|My vserver install notes]]&lt;br /&gt;
&lt;br /&gt;
== pdf paper sizes ==&lt;br /&gt;
&lt;br /&gt;
try a4&lt;br /&gt;
&lt;br /&gt;
=== new $conf howto ===&lt;br /&gt;
&lt;br /&gt;
 system('dvips', '-q', '-t', 'letter' ...&lt;br /&gt;
&lt;br /&gt;
== new bugs ==&lt;br /&gt;
&lt;br /&gt;
I'll be adding a regression hunt + binary search howto for bug hunting&lt;br /&gt;
&lt;br /&gt;
== vim comments in mason files ==&lt;br /&gt;
&lt;br /&gt;
Let's stash &amp;lt;code&amp;gt;vim: syntax=mason&amp;lt;/code&amp;gt; in the mason comments so vim will go &amp;quot;Hey look, it's a mason file&amp;quot; and &amp;lt;code&amp;gt;syntax on&amp;lt;/code&amp;gt; will work first time every time (w/o editing &amp;lt;code&amp;gt;~/.vimrc&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
== templates and substitution variables ==&lt;br /&gt;
&lt;br /&gt;
[[User:Ivan]] &amp;quot;[[User:Supaplex/substitution variables]] for various templates could be better documented&amp;quot;&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Documentation:FAQ&amp;diff=3703</id>
		<title>Freeside:Documentation:FAQ</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:Documentation:FAQ&amp;diff=3703"/>
				<updated>2008-02-29T16:29:46Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: Reverted edits by PaschIrelr (Talk); changed back to last version by Supaplex&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= General Questions =&lt;br /&gt;
&lt;br /&gt;
;Q. What is Freeside's license?&lt;br /&gt;
:As of Freeside 1.7.3, Freeside is licensed under the [http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License (AGPL)], version three or later.  Prior versions were licensed under the terms of the [http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)], version two or later.&lt;br /&gt;
&lt;br /&gt;
:At your option, the '''client side''' of the self-service component (all files in &amp;lt;code&amp;gt;fs_selfservice&amp;lt;/code&amp;gt;) may also be licensed under the [http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)], version three or later.&lt;br /&gt;
&lt;br /&gt;
;Q. What databases are supported by Freeside?&lt;br /&gt;
:[http://www.postgresql.org PostgreSQL] 7.x/8.x is recommended.&lt;br /&gt;
&lt;br /&gt;
:[http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported starting with Freeside 1.7.3. DBIx::DBSchema 0.35 is required.&lt;br /&gt;
&lt;br /&gt;
:''Note: the above only applies to the database used by the Freeside software itself.  Freeside can integrate with RADIUS and other servers running a different database than the backend.''&lt;br /&gt;
&lt;br /&gt;
= Installation Questions =&lt;br /&gt;
&lt;br /&gt;
;Q. Using &amp;lt;nowiki&amp;gt;DBD::Pg 1.40&amp;lt;/nowiki&amp;gt;, I receive an &amp;lt;code&amp;gt;Use of uninitialized value in die&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;syntax error at or near &amp;quot;$1&amp;quot;&amp;lt;/code&amp;gt; error when running freeside-setup or after upgrading &amp;lt;nowiki&amp;gt;DBD::Pg&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;DBD::Pg 1.40&amp;lt;/nowiki&amp;gt; has a grave bug (http://rt.cpan.org/NoAuth/Bug.html?id=12004) which causes these errors.  Please use 1.41 or later (1.32 is also okay).&lt;br /&gt;
&lt;br /&gt;
;Q. How do I avoid &amp;quot;&amp;lt;code&amp;gt;Badly formed sub country data&amp;lt;/code&amp;gt;&amp;quot; errors from freeside-setup?&lt;br /&gt;
:Before running freeside-setup, run:&lt;br /&gt;
    &amp;lt;code&amp;gt;export LANG=C&amp;lt;/code&amp;gt; &amp;lt;i&amp;gt;(sh, bash, zsh, etc. shells)&amp;lt;/i&amp;gt;&lt;br /&gt;
    &amp;lt;code&amp;gt;setenv LANG C&amp;lt;/code&amp;gt; &amp;lt;i&amp;gt;(csh or tcsh shell)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Q. Using &amp;lt;nowiki&amp;gt;Apache::ASP&amp;lt;/nowiki&amp;gt;, the information entered in forms is getting lost.  What is wrong?&lt;br /&gt;
:try adding: &amp;lt;code&amp;gt;PerlSetVar RequestBinaryRead Off&amp;lt;/code&amp;gt; to your apache config file.&lt;br /&gt;
&lt;br /&gt;
;Q. Is mod_perl version 2 (1.99) (and its associated Apache 2.x) officially supported by Freeside?&lt;br /&gt;
:mod_perl version 2 is supported starting with Freeside v1.7.2.  &lt;br /&gt;
&lt;br /&gt;
;Q. I'm running Red Hat 9 and it comes with Apache 2 / mod_perl 1.99 installed already!  How do I downgrade? &amp;lt;/b&amp;gt;&lt;br /&gt;
:These days, [http://www.apachetoolbox.com/ ApacheToolbox] is probably your best bet.  Pointers to a well-maintained source of Apache 1 RPMs for RH9 (or any Fedora versions too, in fact) would be appreciated.&lt;br /&gt;
&lt;br /&gt;
;Q. I'm trying to run Freeside on a &amp;lt;nowiki&amp;gt;VirtualHost&amp;lt;/nowiki&amp;gt;, and I get &amp;quot;not running uid freeside&amp;quot; errors.&lt;br /&gt;
:Your mod_perl-enabled Apache instance must run as user &amp;quot;freeside.&amp;quot;  This means that the entire server instance must be running as user &amp;quot;freeside,&amp;quot; which is accomplished through a server-level &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;gt; directive.  You ''cannot'' just put &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;gt; within a &amp;lt;code&amp;gt;VirtualHost&amp;lt;/code&amp;gt; block (try running &amp;lt;code&amp;gt;ps -auxwww&amp;lt;/code&amp;gt; and you'll see that the apache processes are owned by the server-level specified user, not the virtual host-level specified user).&lt;br /&gt;
&lt;br /&gt;
:Since &amp;quot;scripts&amp;quot; run under mod_perl are run in-process by the embedded perl interpreter and are not executed in a separate process as CGI scripts, you cannot use suEXEC to obtain a different username in &amp;lt;nowiki&amp;gt;VirtualHost&amp;lt;/nowiki&amp;gt; context.&lt;br /&gt;
&lt;br /&gt;
:The recommended configuration is to run a '''separate''', mod_perl-enabled Apache instance on a private, firewalled backend server, '''not''' on a public webserver.&lt;br /&gt;
&lt;br /&gt;
;Q. My Apache logs say (or a command says): &amp;lt;code&amp;gt;Can't locate &amp;lt;SomeModule&amp;gt;.pm in @INC (...)&amp;lt;/code&amp;gt;&lt;br /&gt;
:Install the Perl module the error references.  If the module is not listed in the [[Freeside:1.7:Documentation:Installation#Perl_modules|installation instructions]], edit the documentation and add it.&lt;br /&gt;
&lt;br /&gt;
;Q. After installing mod_perl, my Apache logs &amp;lt;nowiki&amp;gt;say:&amp;lt;/nowiki&amp;gt; [error] Can't locate Apache.pm in @INC (...)&lt;br /&gt;
:Install Apache::Request&lt;br /&gt;
&lt;br /&gt;
;Q. After installing mod_perl, my Apache logs &amp;lt;nowiki&amp;gt;say:&amp;lt;/nowiki&amp;gt; &amp;quot;Can't locate mod_perl.pm in @INC&amp;quot; (...)&lt;br /&gt;
:Include the path to mod_perl.pm by editing apachectl and specifying it.&lt;br /&gt;
:An example is below (adjust to your needs):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-- near the top of apachectl --&lt;br /&gt;
PERL5LIB=$PERL5LIB:/more/paths/to/search:/directory/of/mod_perl:/even/more/places&lt;br /&gt;
export PERL5LIB&lt;br /&gt;
-- end of apachectl modifications --&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Q. When building software prererquisites for Freeside, which combinations are known to break/fail?&amp;lt;/b&amp;gt;&lt;br /&gt;
:Any: DBD::Pg 1.32 with DBI 1.42 fails &amp;quot;make test&amp;quot;.  DBI 1.41 is ok.  ''Update: Test failures are harmless, DBI::Pg 1.32 works fine with DBI 1.42.''&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;FreeBSD&amp;lt;/nowiki&amp;gt; ports sometimes has trouble with perl and modules:&lt;br /&gt;
# &amp;lt;nowiki&amp;gt;IPC::ShareLite&amp;lt;/nowiki&amp;gt; (used in selfservice for 1.5.x) may coredump.  Reported on &amp;lt;nowiki&amp;gt;FreeBSD&amp;lt;/nowiki&amp;gt; 4 and 5 with various perl versions.  &amp;lt;i&amp;gt;Update: as of 1.5.7, &amp;quot;selfservice_server-session_module&amp;quot; configuration value can be set to &amp;quot;&amp;lt;nowiki&amp;gt;Cache::FileCache&amp;lt;/nowiki&amp;gt;&amp;quot;  instead and &amp;lt;nowiki&amp;gt;IPC::ShareLite&amp;lt;/nowiki&amp;gt; will not be necessary.&amp;lt;/i&amp;gt;&lt;br /&gt;
# &amp;lt;nowiki&amp;gt;Storable&amp;lt;/nowiki&amp;gt; may be broken due to the new &amp;quot;-D64bitint&amp;quot; flag that is compiled into perl.  Reported on &amp;lt;nowiki&amp;gt;FreeBSD&amp;lt;/nowiki&amp;gt; 4.10 and perl 5.8.4.&lt;br /&gt;
&lt;br /&gt;
;Q. &amp;quot;Host Key Verification Failed&amp;quot; errors, how do I resolve these?&lt;br /&gt;
&lt;br /&gt;
:This error occurs when freeside tries an unattended login via ssh.  The .ssh/known_hosts file on the freeside host must contain entries for the target host(s).  You must ssh into the target host as users root and freeside using the IP or hostname/fqdn specified in the export and/or server commands (passwd, sign-up, self-service).  You cannot have an IP based entry in the known_hosts file and then use a hostname for the exports etc., the verification will fail. Or you can change the sshd_config file directive &amp;lt;nowiki&amp;gt;IgnoreUserKnownHosts&amp;lt;/nowiki&amp;gt; from no to yes.  But caution, this will expose your system to security threats if your keys are compromised.&lt;br /&gt;
&lt;br /&gt;
;Q. I cannot add a user account.  I see &amp;lt;nowiki&amp;gt;Error:&amp;lt;/nowiki&amp;gt; Can't find svc_acct.domsvc in svc_domain.svcnum.  What do I do?&lt;br /&gt;
:Follow the directions in docs/admin.html exactly.  You have failed to &amp;quot;Add your own domain.&amp;quot;  Create a package containing a svc_domain service.  Sell it to yourself.  Provision it with your domain.  Edit the service definition for the svc_acct service and set it to Default or Fixed and your domain.  ''Note: Freeside-setup in 1.7.X will have added the first domain already.''&lt;br /&gt;
&lt;br /&gt;
= Misc Questions =&lt;br /&gt;
&lt;br /&gt;
;Q. freeside-daily emits warnings like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     WARNING:  Skipping &amp;quot;pg_group&amp;quot; --- only table or database owner can VACUUM it&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:;Should I be concerned?&lt;br /&gt;
::No. These messages are harmless.&lt;br /&gt;
&lt;br /&gt;
;Q. Isn't it insecure to use rsync?&lt;br /&gt;
:Sometimes.  But in the case of freeside, it uses rsync over ssh, so this is not a problem here.  &lt;br /&gt;
&lt;br /&gt;
;Q. What's the purpose of the Session Server?&lt;br /&gt;
:It records sessions (ie. login + logout, etc), so that the database can tell who is logged on at any given time.  These days, most folks use a RADIUS server such as [http://www.freeradius.org/ FreeRADIUS] which includes an SQL session database instead of using the Freeside session server.&lt;br /&gt;
&lt;br /&gt;
;Q. What's the purpose of the Self-Service Server and how does it work?&lt;br /&gt;
:The Self-Service server is run on a separate, public box.  The Freeside server connects to it via SSH.  When a user comes to the Self-Service Server, he logs in and his username and password are authenticated against a Service (svc_acct) in a Package that is active for his Freeside customer record.  The Self-Service Server then gets a session ID which it uses in communicating with the Freeside server for purposes of working on this user's customer record.&lt;br /&gt;
&lt;br /&gt;
:It is intended to provide, out of the box, a way to have users sign up for a package and cancel that package.  Recent additions have begun to make it possible also to add packages to an existing user and list those packages that user has purchased.  The Self-Service Server system comes with some ready-made CGIs that handle the most basic of these tasks for you.  The main thing to realize about it is that the customer must have a Package with a Service of type account set up with a username and password so that he may log in.&lt;br /&gt;
&lt;br /&gt;
;Q. Using Cisco NAS devices, RADIUS session history does not show IP addresses, and search by IP address does not work.  What's wrong?&lt;br /&gt;
:Use the &amp;quot;&amp;lt;code&amp;gt;aaa accounting delay-start&amp;lt;/code&amp;gt;&amp;quot; command on Cisco NAS devices to instruct them to report IP addresses to RADIUS.&lt;br /&gt;
&lt;br /&gt;
;Q. HTML invoices have extra characters (typically boxes or diamond-shaped question marks).  What is the cause and how do I fix this?&lt;br /&gt;
:Remove the Apache configuration directive &amp;lt;code&amp;gt;AddDefaultCharset UTF-8&amp;lt;/code&amp;gt; from your configuration.  Note that on current Debian installs (4.0/etch) this may have been added as a default in /etc/apache2/conf.d/charset&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;Q. Why are some packages unavailable as a ''first package'' for a new customer?&lt;br /&gt;
:Packages with no [[svc_acct]] type services are ignored.  Add the customer without a first package, then use &amp;quot;Order New Package&amp;quot; on the customer view page.&lt;br /&gt;
:Packages with more than one [[svc_acct]] type service need one of them set as the default service (it's a radio button during setup/configuring the package)&lt;br /&gt;
&lt;br /&gt;
= Configuration Questions =&lt;br /&gt;
&lt;br /&gt;
;Q. How do I set a minimum UID/GID?&lt;br /&gt;
:Edit /usr/local/etc/freeside/counters.[datasource]/svc_acct.uid .  This is Freeside-wide, not specific to any export driver.&lt;br /&gt;
&lt;br /&gt;
;Q. How do I enable a second address (service/shipping address) in an existing database?&amp;lt;/b&amp;gt;&lt;br /&gt;
:For 1.7.X, freeside-upgrade should enable shipping addresses automatically.&lt;br /&gt;
&lt;br /&gt;
:For older versions, apply the following changes to your database:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_last varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_first varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_company varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_address1 varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_address2 varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_city varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_county varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_state varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_zip varchar(10) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_country char(2) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_daytime varchar(20) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_night varchar(20) NULL;&lt;br /&gt;
     ALTER TABLE cust_main ADD COLUMN ship_fax varchar(12) NULL;&lt;br /&gt;
     CREATE INDEX cust_main4s ON cust_main ( ship_last );&lt;br /&gt;
     CREATE INDEX cust_main5s ON cust_main ( ship_company );&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_last varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_first varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_company varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_address1 varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_address2 varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_city varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_county varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_state varchar(80) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_zip varchar(10) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_country char(2) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_daytime varchar(20) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_night varchar(20) NULL;&lt;br /&gt;
     ALTER TABLE h_cust_main ADD COLUMN ship_fax varchar(12) NULL;&lt;br /&gt;
     CREATE INDEX h_cust_main4s ON h_cust_main ( ship_last );&lt;br /&gt;
     CREATE INDEX h_cust_main5s ON h_cust_main ( ship_company );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:And run &amp;lt;code&amp;gt;bin/dbdef-create&amp;lt;/code&amp;gt; &amp;lt;i&amp;gt;username&amp;lt;/i&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;Q. How do I setup prepaid packages?&lt;br /&gt;
:Minimum verison 1.5.8 is required.&lt;br /&gt;
&lt;br /&gt;
:To create a package with one hour of '''usage''', set &amp;quot;seconds&amp;quot; in the service definition to &amp;quot;default&amp;quot; and &amp;quot;3600&amp;quot;, OR, use prepaid cards with the desired duration.  You also need to a usage-capable export setup (currently sqlradius, sqlradius_withdomain or radiator), and you need to make sure &amp;quot;freeside-sqlradius-radacctd&amp;quot; is running (uncomment the section that starts it in your init script).&lt;br /&gt;
&lt;br /&gt;
:To create a pacakge with one week of '''availability''', set the package definition to the &amp;quot;Prepaid, flat rate&amp;quot; price plan, and set the Recurring fee frequence to &amp;quot;weekly&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
:These can be used separately or together.&lt;br /&gt;
&lt;br /&gt;
;Q. How do I limit the type of credit-cards displayed on the sign-up form (and elsewhere)?&lt;br /&gt;
&lt;br /&gt;
:* Go to the Configuration -&amp;gt; Settings page&lt;br /&gt;
:* Click on Edit Configuration&lt;br /&gt;
:* Click on the Billing section&lt;br /&gt;
:* Edit the &amp;quot;card-types&amp;quot; configuration value  (make sure not to edit the cvv2-save configuration value by accident)&lt;br /&gt;
:* On the Freeside machine, run &amp;quot;/etc/init.d/freeside restart&amp;quot;&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Main_Page&amp;diff=3701</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Main_Page&amp;diff=3701"/>
				<updated>2008-02-28T21:26:26Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: this article count is only picking up one namespace.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Freeside ==&lt;br /&gt;
=== Versions ===&lt;br /&gt;
&lt;br /&gt;
:'''Current Version:''' 1.7.2&lt;br /&gt;
::released Feb 16th, 2007&lt;br /&gt;
&lt;br /&gt;
:'''Next Version:''' 1.7.3&lt;br /&gt;
::releasing Real Soon Now - expected Q1 2008&lt;br /&gt;
&lt;br /&gt;
:'''Development Version:''' 1.9.0 / CVS HEAD&lt;br /&gt;
::''not yet recommended for production use''&lt;br /&gt;
:: development snapshot expected Q1 2008&lt;br /&gt;
&lt;br /&gt;
=== Turn Key Solutions ===&lt;br /&gt;
*[http://www.sisd.com/freeside/services.html#install Installation]&lt;br /&gt;
*[http://www.sisd.com/freeside/products.html Freeside Appliance]&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation|1.7 Documentation]]&lt;br /&gt;
* [[Freeside:1.9:Documentation|1.9 Documentation]]&lt;br /&gt;
&lt;br /&gt;
=== Support ===&lt;br /&gt;
*[http://www.sisd.com/freeside/services.html#support Freeside Internet Services Inc.]&lt;br /&gt;
*[[FreeSide:Support:Consultants | Freeside Consultants]]&lt;br /&gt;
*[[FreeSide:Support:HelpWanted | Help Wanted]]&lt;br /&gt;
&lt;br /&gt;
=== Specs in progress ===&lt;br /&gt;
* [[Use Cases]]&lt;br /&gt;
* [[Batch_Refactor]]&lt;br /&gt;
* [[Broadband_Services_Spec]]&lt;br /&gt;
* [[Business::FraudDetect]]&lt;br /&gt;
* [[Event_Refactor]]&lt;br /&gt;
* [[Virtual_to_Real_Fields]]&lt;br /&gt;
* [[UI_Refactor]]&lt;br /&gt;
* [[Website_Refactor]]&lt;br /&gt;
* [[part_pkg Mixin Refactor]]&lt;br /&gt;
&lt;br /&gt;
= Third party software =&lt;br /&gt;
&lt;br /&gt;
A category of [[:Category:3rd_party_software|Third party software]] related to Freeside.&lt;br /&gt;
&lt;br /&gt;
= WIKI Reference =&lt;br /&gt;
&lt;br /&gt;
[http://meta.wikimedia.org/wiki/Help:Editing How to edit pages (wiki markup, etc)]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.mediawiki.org/wiki/Help:Configuration_settings Configuration settings list]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide]&lt;br /&gt;
&lt;br /&gt;
[[Sandbox]] &amp;amp;larr; Use this page to test out editing, [http://www.phrases.org.uk/meanings/225200.html learn the ropes], etc.&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside_talk:1.7/Configuration/settings/payment_receipt_email&amp;diff=3688</id>
		<title>Freeside talk:1.7/Configuration/settings/payment receipt email</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside_talk:1.7/Configuration/settings/payment_receipt_email&amp;diff=3688"/>
				<updated>2008-02-27T19:59:41Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A statement will be sent if the right config values are set.&lt;br /&gt;
It will be formatted like an invoice with different notes and will read &amp;quot;Statement&amp;quot;.&lt;br /&gt;
Automatic payments via [[freeside-daily]] and the &amp;quot;Bill Now&amp;quot; link will trigger these.&lt;br /&gt;
&lt;br /&gt;
== Refactoring ... ==&lt;br /&gt;
&lt;br /&gt;
For automatic payments (those triggered by the daily process or &amp;quot;Bill&lt;br /&gt;
now&amp;quot; link), a &amp;quot;statement&amp;quot; formatted just like an invoice (except saying&lt;br /&gt;
&amp;quot;Statement&amp;quot; and with different notes) is sent instead, if the config&lt;br /&gt;
files exist for it. Otherwise, &amp;quot;payment_receipts_email&amp;quot; is also used&lt;br /&gt;
for automatic payments, if it exists. Config options for these&lt;br /&gt;
statements for automatic payments:&lt;br /&gt;
&lt;br /&gt;
invoice_html_statement (main statement email)&lt;br /&gt;
invoice_latexnotes_statement (notes for the bottom of HTML and typeset&lt;br /&gt;
statements)&lt;br /&gt;
invoice_template_statement (plaintext alternate)&lt;br /&gt;
invoice_latex_statement (not normally used - only if invoice_email_pdf&lt;br /&gt;
config option is enabled adding a PDF copy to emailed invoices)&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Category:Freeside_Configuration_Settings&amp;diff=3687</id>
		<title>Category:Freeside Configuration Settings</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Category:Freeside_Configuration_Settings&amp;diff=3687"/>
				<updated>2008-02-27T19:34:25Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These categories are intended to group each release of [[Freeside]] and their respective configuration settings.&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Category:Freeside:1.7_Configuration_Settings&amp;diff=3686</id>
		<title>Category:Freeside:1.7 Configuration Settings</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Category:Freeside:1.7_Configuration_Settings&amp;diff=3686"/>
				<updated>2008-02-27T19:29:45Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Freeside Configuration Settings]]&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3684</id>
		<title>Template:ContextSensitiveHelp</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3684"/>
				<updated>2008-02-27T17:40:21Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: /* Discuss when in doubt */ external links only need one [] (wikimedia is just strange, dunno why they like it that way)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div style=&amp;quot;background: #F7FAFA; padding: 0.5em; margin: 0.5em; border: dashed 2px green;&amp;quot;&amp;gt;This page is part of the [[Freeside]] Context Sensitive Help.  Please review the [[:Template:ContextSensitiveHelp#Editing_Guidelines|Editing Guidelines]] before making modifications to this page.&amp;lt;/div&amp;gt;[[Category:Context sensitive help]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template, included by &amp;lt;em&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;{{ContextSensitiveHelp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/em&amp;gt; is for inclusion on pages where an installed [[Freeside]] instance may reference the wiki for &amp;lt;em&amp;gt;Context Sensitive Help&amp;lt;/em&amp;gt;.  This should make it more clear which pages are sensitive to specific changes.&lt;br /&gt;
&lt;br /&gt;
== Editing Guidelines ==&lt;br /&gt;
&lt;br /&gt;
There are a few issues of concern while editing pages containing this template.&lt;br /&gt;
&lt;br /&gt;
=== Topic Names ===&lt;br /&gt;
&lt;br /&gt;
It's especially important to not modify names of topic headers &amp;lt;nowiki&amp;gt;( such as &amp;lt;/nowiki&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;== Topic ==&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;nowiki&amp;gt; )&amp;lt;/nowiki&amp;gt;.  Freeside help relies upon wiki generated html anchors (Eg. &amp;lt;pre style=&amp;quot;padding: inherit; border: none; display: inline;&amp;quot;&amp;gt;&amp;lt;a name=&amp;quot;topic&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/pre&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Discuss when in doubt ===&lt;br /&gt;
&lt;br /&gt;
Please do not edit the documentation lightly, just because you have an installation problem.&lt;br /&gt;
&lt;br /&gt;
Comments and proposed changes are still most welcome on the Discussion page.  You may also want to ask on the [http://www.freeside.biz/cgi-bin/mailman/listinfo/freeside-users/ mailing list] or [http://www.freeside.biz/forum/forum forum] to reach a larger fraction of the community.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3681</id>
		<title>Freeside:1.7:Documentation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation&amp;diff=3681"/>
				<updated>2008-02-27T17:23:31Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ContextSensitiveHelp}}&lt;br /&gt;
= Installation and upgrades =&lt;br /&gt;
&lt;br /&gt;
== Backend Installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Installation|New Installation]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:RT Installation|Integrated RT Installation]]&lt;br /&gt;
* OS-specific installation guides&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnDebian|Debian 3.1 or 4.0]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnCentOS4.4|CentOS 4.4 (and Red Hat Enterprise Linux 4.4?)]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingOnFreeBSD|FreeBSD]]&lt;br /&gt;
** [[Freeside:1.7:Documentation:InstallingUsingRPM|RPM-based install on RedHat, Fedora, CentOS]]&lt;br /&gt;
&lt;br /&gt;
== Signup and Self-service installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Self-Service Installation|Signup/Self-service Installation]]&lt;br /&gt;
&lt;br /&gt;
== Distributor guides ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:CreatingRPMRepo|Creating your own repository with Freeside RPMs]]&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Upgrading|Upgrading to 1.7]]&lt;br /&gt;
* [[Freeside:1.7.3:Documentation:Upgrading|Upgrading to 1.7.3]]&lt;br /&gt;
* [[Freeside:1.7:Changelog|1.7 Changelog]]&lt;br /&gt;
* [[Freeside:1.7.3:Changelog|1.7.3 Changelog]]&lt;br /&gt;
&lt;br /&gt;
= User's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:User|User's Guide]] (help wanted)&lt;br /&gt;
* [http://www.sisd.com/~ivan/freeside-slides Training presentation slides]&lt;br /&gt;
&lt;br /&gt;
= Administrator's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration|Administrator's Guide]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:DisasterRecovery|Disaster Recovery]]&lt;br /&gt;
&lt;br /&gt;
= Developer's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Documentation:Developer|Developer's Guide]]&lt;br /&gt;
&lt;br /&gt;
= Accounting Guide =&lt;br /&gt;
&lt;br /&gt;
*[[Freeside:1.7:Documentation:Accounting|Accounting Guide]]&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:Documentation:FAQ|Frequently Asked Questions]]&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Supported:Documentation&amp;diff=3680</id>
		<title>Supported:Documentation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Supported:Documentation&amp;diff=3680"/>
				<updated>2008-02-27T17:20:26Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ContextSensitiveHelp}}&lt;br /&gt;
= User's Guide =&lt;br /&gt;
&lt;br /&gt;
*[[Freeside:1.7:Documentation:User|User's Guide]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Administrator's Guide =&lt;br /&gt;
&lt;br /&gt;
* [[FreeSide:1.7:Documentation:Administration|Administrator's Guide]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Accounting Guide =&lt;br /&gt;
&lt;br /&gt;
*[[Freeside:1.7:Documentation:Accounting|Accounting Guide]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Changelog =&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.7:Changelog|1.7 Changelog]]&lt;br /&gt;
* [[Freeside:1.7.3:Changelog|1.7.3 Changelog]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Support =&lt;br /&gt;
&lt;br /&gt;
== Normal / non-emergency support ==&lt;br /&gt;
&lt;br /&gt;
=== All support contracts ===&lt;br /&gt;
&lt;br /&gt;
* Email [mailto:support@sisd.com support@sisd.com]&lt;br /&gt;
&lt;br /&gt;
=== Support contracts which include IM + phone support ===&lt;br /&gt;
&lt;br /&gt;
*  IM (AIM, Yahoo or MSN)&lt;br /&gt;
*  +1 415 462 1624, Mon-Fri 9-5 US/Pacific&lt;br /&gt;
&lt;br /&gt;
== Emergency support ==&lt;br /&gt;
&lt;br /&gt;
* Call the main office number at +1 415 462 1624.  '''Always call this number first.'''&lt;br /&gt;
* The main office voicemail will have the cell phone number of the engineer currently on-call for emergencies.&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Installation&amp;diff=3679</id>
		<title>Freeside:1.7:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Installation&amp;diff=3679"/>
				<updated>2008-02-27T17:19:37Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ContextSensitiveHelp}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.&lt;br /&gt;
&lt;br /&gt;
Please note that these are the 1.7 installation instructions.  Do not attempt to use them to install 1.5/1.6, or edit them to correct differences with those releases.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.perl.org/ Perl], minimum version 5.8.4&lt;br /&gt;
* [http://httpd.apache.org/ Apache], SSL highly recommended)&lt;br /&gt;
* [http://perl.apache.org/ mod_perl]&lt;br /&gt;
** mod_perl v2 is now supported.&lt;br /&gt;
** If compiling your own mod_perl, make sure you set the EVERYTHING=1 compile-time option&lt;br /&gt;
* A '''transactional''' database engine [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A supported] by Perl's [http://dbi.perl.org/ DBI]. &lt;br /&gt;
** [http://www.postgresql.org PostgreSQL] is recommended (v7.2 or later, v7.4 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported starting with Freeside 1.7.3.  DBIx::DBSchema 0.35 or later is required.&lt;br /&gt;
&lt;br /&gt;
''Note: the above only applies to the database used by the Freeside software itself. Freeside can integrate with RADIUS and other servers running a different database than the backend.''&lt;br /&gt;
&lt;br /&gt;
* teTeX and Ghostscript (included with most distributions) (Optional, enables typeset invoices)&lt;br /&gt;
&lt;br /&gt;
=== Perl modules ===&lt;br /&gt;
&lt;br /&gt;
==== Popular modules you might want to check your distribution for ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libnet/ libnet] (CPAN: &amp;quot;install Net::Cmd&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/libwww-perl libwww-perl] (CPAN: &amp;quot;install Bundle::LWP&amp;quot;)&lt;br /&gt;
** [http://search.cpan.org/dist/URI URI]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Tagset HTML::Tagset]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Parser HTML::Parser]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&lt;br /&gt;
* [http://search.cpan.org/dist/DBI DBI]&lt;br /&gt;
** [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A DBD] for your database engine ([http://search.cpan.org/dist/DBD-Pg DBD::Pg] for PostgreSQL or [http://search.cpan.org/dist/DBD-mysql DBD::mysql] for MySQL)&lt;br /&gt;
* [http://search.cpan.org/dist/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;) (Freeside v1.7.2: use MailTools v1.77, not later versions) (Freeside 1.7.3: use MailTools v2.00 or later)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use v5.423.  Versions from 5.424 and later should be okay, as well as versions from 5.420 and older. Status of 5.421 and 5.422 is unknown.)&lt;br /&gt;
* [http://search.cpan.org/dist/TimeDate TimeDate] (CPAN: &amp;quot;install Date::Format&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
&lt;br /&gt;
==== Modules of Indeterminate Popularity ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Chart Chart] (CPAN: &amp;quot;install Chart::Base&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Cache-Cache Cache::Cache]&lt;br /&gt;
* [http://search.cpan.org/dist/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
&lt;br /&gt;
==== Less common modules likely not included in anything but Debian? ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema] (Freeside v1.7.2: use DBIx::DBSchema v0.32, not later versions) (Freeside 1.7.3: use current DBIx::DBSchema)&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt::PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run3 IPC::Run3]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-NameParse Lingua::EN::NameParse]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-Inflect Lingua::EN::Inflect]&lt;br /&gt;
&lt;br /&gt;
==== Optional modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Fax-Hylafax-Client Fax::Hylafax::Client] ''(Required if faxing invoices)''&lt;br /&gt;
* [http://search.cpan.org/dist/Apache-DBI Apache::DBI] ''(recommended for better web interface performance)''&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Add the user and group `freeside' to your system.&lt;br /&gt;
* Allow the freeside user full access to the freeside database. &lt;br /&gt;
with PostgreSQL&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su postgres (pgsql on some distributions)&lt;br /&gt;
$ createuser -P freeside&lt;br /&gt;
Enter password for user &amp;quot;freeside&amp;quot;: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new user be allowed to create databases? (y/n) y&lt;br /&gt;
Shall the new user be allowed to create more new users? (y/n) n&lt;br /&gt;
CREATE USER&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u root password 'set_a_root_database_password'&lt;br /&gt;
$ mysql -u root -p&lt;br /&gt;
mysql&amp;gt; GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Set DATASOURCE to your DBI data source, for example, &amp;lt;code&amp;gt;DBI:Pg:dbname=freeside&amp;lt;/code&amp;gt; for PostgresSQL or &amp;lt;code&amp;gt;DBI:mysql:freeside&amp;lt;/code&amp;gt; for MySQL. See the DBI manpage and the manpage for your DBD for the exact syntax of your DBI data source. &lt;br /&gt;
** Set DB_PASSWORD to the freeside database user's password. &lt;br /&gt;
&lt;br /&gt;
* Add the freeside database to your database engine: &lt;br /&gt;
with Postgres: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ createdb -E sql_ascii freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u freeside -p create freeside &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Build and install the Perl modules: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ make perl-modules&lt;br /&gt;
$ su&lt;br /&gt;
# make install-perl-modules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create the necessary configuration files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make create-config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Ensure Apache has mod_perl enabled and is set to run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;gt;.  If you have other things being served by Apache on this machine (hopefully internal things), it is recommended to run a '''separate''' iteration of Apache as the freeside user.&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;FREESIDE_DOCUMENT_ROOT&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
* Run &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_VERSION&amp;lt;/code&amp;gt; to '''1''' (mod_perl v1.XX), '''1.99''' (mod_perl v2 prereleases up to and including 1.999_21, shipped with Debian 3.1, CentOS/RHEL 4, others), or '''2''' (mod_perl v2 proper and prereleases 1.999_22 and later).&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_CONF&amp;lt;/code&amp;gt; to the location of an Apache include directory (not a file).  (If your Apache doesn't have an existing include directory, create one and add a line such as &amp;quot;&amp;lt;code&amp;gt;Include /etc/apache/conf.d&amp;lt;/code&amp;gt;&amp;quot; to httpd.conf.)&lt;br /&gt;
&lt;br /&gt;
* Run &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&lt;br /&gt;
* As the freeside UNIX user, run &amp;lt;code&amp;gt;freeside-setup -d your.domain.name&amp;lt;/code&amp;gt; to create the database tables and initial data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create the Freeside system users: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-adduser -g 1 fs_queue&lt;br /&gt;
$ freeside-adduser -g 1 fs_daily&lt;br /&gt;
$ freeside-adduser -g 1 fs_selfservice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create one or more Freeside users (your internal sales/tech folks, not customer accounts):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-adduser -g 1 username&lt;br /&gt;
$ htpasswd /usr/local/etc/freeside/htpasswd username&lt;br /&gt;
Password: &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Additional users can be added using the same command or from the web interface.&lt;br /&gt;
&lt;br /&gt;
* freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup (Do this manually, or edit the top-level Makefile, replacing &amp;lt;code&amp;gt;INIT_FILE&amp;lt;/code&amp;gt; with the appropriate location on your system and &amp;lt;code&amp;gt;QUEUED_USER&amp;lt;/code&amp;gt; with the username of a Freeside user you created above, and run &amp;lt;code&amp;gt;make install-init&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
* Either [[Freeside:1.7:Documentation:RT_Installation|install the integrated RT ticketing system]], or delete the &amp;lt;code&amp;gt;ticket_system&amp;lt;/code&amp;gt; file from your configuration directory (&amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''datasrc''&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
* Restart Apache (httpd) and log into the web interface using the username and password you entered above.&lt;br /&gt;
&lt;br /&gt;
* Now proceed to the initial [[Freeside:1.7:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:RT_Installation&amp;diff=3678</id>
		<title>Freeside:1.7:Documentation:RT Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:RT_Installation&amp;diff=3678"/>
				<updated>2008-02-27T17:19:11Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ContextSensitiveHelp}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
These instructions document installation of the integrated internal RT ticketing system.  &lt;br /&gt;
&lt;br /&gt;
There is also support for running this integration against an external RT installation, but it is not (yet) documented.&lt;br /&gt;
&lt;br /&gt;
Documentation contributions are welcome.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Apache-Session Apache::Session]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Tree HTML::TreeBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Format HTML-Format] (CPAN: &amp;quot;install HTML::FormatText&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Test-Inline Test::Inline]&lt;br /&gt;
* [http://search.cpan.org/dist/Class-ReturnValue Class::ReturnValue]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-SearchBuilder DBIx::SearchBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/Log-Dispatch Log::Dispatch]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Maketext-Lexicon Locale::Maketext::Lexicon]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Maketext-Fuzzy Locale::Maketext::Fuzzy]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Wrapper Text::Wrapper]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-modules Time-modules] (CPAN: &amp;quot;install Time::ParseDate&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/TermReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Autoformat Text::Autoformat]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Quoted Text::Quoted]&lt;br /&gt;
* [http://search.cpan.org/dist/Regexp-Common Regexp::Common]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Scrubber HTML::Scrubber]&lt;br /&gt;
* [http://search.cpan.org/dist/Tree-Simple Tree::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-SSLeay Crypt::SSLeay]&lt;br /&gt;
* [http://search.cpan.org/dist/GDGraph GD::Graph]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Create a new Unix group called 'rt'&lt;br /&gt;
* Edit the top-level Makefile, set RT_ENABLED to 1 and set the RT_DOMAIN, RT_TIMEZONE, and FREESIDE_URL variables.&lt;br /&gt;
* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;$ make configure-rt&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# make create-rt&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** ''Authentication errors?''&lt;br /&gt;
*** ''Edit &amp;lt;code&amp;gt;pg_hba.conf&amp;lt;/code&amp;gt;, change &amp;quot;&amp;lt;code&amp;gt;ident sameuser&amp;lt;/code&amp;gt;&amp;quot; auth to &amp;quot;&amp;lt;code&amp;gt;trust&amp;lt;/code&amp;gt;&amp;quot; for the line starting with &amp;quot;&amp;lt;code&amp;gt;local all all&amp;lt;/code&amp;gt;&amp;quot;''&lt;br /&gt;
*** ''Restart Pg''&lt;br /&gt;
*** ''Revert the change back and restart Pg after this installation step''&lt;br /&gt;
* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;make install-rt&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add the following to your httpd.conf: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/NoAuth&amp;gt;&lt;br /&gt;
&amp;lt;Limit GET POST&amp;gt;&lt;br /&gt;
allow from all&lt;br /&gt;
Satisfy any   &lt;br /&gt;
SetHandler perl-script&lt;br /&gt;
PerlHandler HTML::Mason&lt;br /&gt;
&amp;lt;/Limit&amp;gt;&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/REST/1.0/NoAuth&amp;gt;&lt;br /&gt;
&amp;lt;Limit GET POST&amp;gt;&lt;br /&gt;
allow from all&lt;br /&gt;
Satisfy any   &lt;br /&gt;
SetHandler perl-script&lt;br /&gt;
PerlHandler HTML::Mason&lt;br /&gt;
&amp;lt;/Limit&amp;gt;&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;DirectoryMatch &amp;quot;^%/var/www/freeside/rt/.*NoAuth/images&amp;quot;&amp;gt;&lt;br /&gt;
SetHandler None&lt;br /&gt;
&amp;lt;/DirectoryMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/Ticket/Attachment&amp;gt; &lt;br /&gt;
SetHandler perl-script &lt;br /&gt;
PerlHandler HTML::Mason &lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/Search&amp;gt; &lt;br /&gt;
SetHandler perl-script &lt;br /&gt;
PerlHandler HTML::Mason &lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart Apache (httpd) and log into the Freeside web interface using the username and password you created during the first part of the installation.&lt;br /&gt;
&lt;br /&gt;
* Set the '''ticket_system''' configuration value to &amp;lt;code&amp;gt;RT_Internal&amp;lt;/code&amp;gt;.  (You may also wish to set '''ticket_system-default_queueid''' once you have RT configured.)&lt;br /&gt;
&lt;br /&gt;
* Bootstrap RT's permissions:&lt;br /&gt;
**Click on &amp;quot;Ticketing Main&amp;quot; on the Freeside main menu to auto-create an RT login for your username&lt;br /&gt;
**From &amp;quot;Billing Main&amp;quot;, go to Configuration | Employees | View/Edit employees and add a temporary &amp;quot;root&amp;quot; user.  Note: the user name must be &amp;quot;root&amp;quot; (without the quotes).&lt;br /&gt;
** Log into your Freeside installation as the &amp;quot;root&amp;quot; user you just created, by closing all of your browser windows, or by using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://root@yourmachone/freeside/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; syntax if your browser supports it.&lt;br /&gt;
** Click on &amp;quot;Ticketing Main&amp;quot; on the Freeside main menu.  Click on &amp;quot;Configuration&amp;quot;, then &amp;quot;Global&amp;quot;, and then &amp;quot;User Rights&amp;quot;.  Grant the &amp;quot;SuperUser&amp;quot; right to your RT login.&lt;br /&gt;
** Disable the temporary &amp;quot;root&amp;quot; user.&lt;br /&gt;
&lt;br /&gt;
* Follow the [http://wiki.bestpractical.com/ regular RT documentation] to configure RT, setup the mailgate, etc.&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Self-Service_Installation&amp;diff=3677</id>
		<title>Freeside:1.7:Documentation:Self-Service Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Self-Service_Installation&amp;diff=3677"/>
				<updated>2008-02-27T17:18:29Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: {{ContextSensitiveHelp}}&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ContextSensitiveHelp}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
It is recommended to run the self-service interface on a public web server, not the backend Freeside server.  The Freeside server will open an SSH connection to one or more web servers to process signups and self-service requests.&lt;br /&gt;
&lt;br /&gt;
== Backend setup ==&lt;br /&gt;
&lt;br /&gt;
Go to Configuration -&amp;gt; Settings and click on Edit Configuration&lt;br /&gt;
&lt;br /&gt;
Find and setup the following:&lt;br /&gt;
&lt;br /&gt;
* Set the '''signup_server-default_agentnum''' configuration value to a default agent number (i.e. 1).&lt;br /&gt;
* Set the '''signup_server-default_refnum''' configuration value to a default advertising source (i.e. 1).&lt;br /&gt;
* Set the '''signup_server-payby''' configuration value to the acceptable payment types for signups.&lt;br /&gt;
* Set the '''signup_server-realtime''' configuration value to run billing for signups immediately.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== API access (Perl, PHP, XML-RPC) ===&lt;br /&gt;
&lt;br /&gt;
* Perl&lt;br /&gt;
* [http://openssh.com SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Storable Storable] [[3rd_party_software/Perl#Stroable|3rd_party_software/Perl]]&lt;br /&gt;
* [http://search.cpan.org/dist/SOAP-Lite SOAP::Lite] for access from PHP or via the XML-RPC API&lt;br /&gt;
&lt;br /&gt;
=== Signup and self-service pages ===&lt;br /&gt;
&lt;br /&gt;
In addition to the above:&lt;br /&gt;
* A web server that can execute CGIs, such as [http://httpd.apache.org Apache].  SSL is highly recommended.&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/HTTP-BrowserDetect HTTP::BrowserDetect]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Parser HTML::Parser]&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/TimeDate TimeDate] (CPAN: &amp;quot;install Date::Format&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
&lt;br /&gt;
== Installing FS::SelfService ==&lt;br /&gt;
&lt;br /&gt;
* Copy the fs_selfservice/FS-SelfService directory to the public web server&lt;br /&gt;
* &amp;lt;code&amp;gt;perl Makefile.PL&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;mkdir /usr/local/freeside; chown freeside /usr/local/freeside&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;touch /usr/local/freeside/selfservice_socket; chown freeside /usr/local/freeside/selfservice_socket&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;chmod 600 /usr/local/freeside/selfservice_socket&amp;lt;/code&amp;gt;&lt;br /&gt;
'''OR'''&lt;br /&gt;
* &amp;lt;code&amp;gt;chown freeside:your-www-group /usr/local/freeside/selfservice_socket; chmod 660 /usr/local/freeside/selfservice_socket&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing web interface ==&lt;br /&gt;
&lt;br /&gt;
* Copy the fs_selfservice/FS-SelfService/cgi/ directory into the web server's document space.&lt;br /&gt;
* Enable CGI execution for files with the `.cgi' extenstion.  With Apache, for example:&lt;br /&gt;
  #directory where selfservice .cgi scripts and .html templates are located&lt;br /&gt;
  &amp;lt;Directory /var/www/selfservice&amp;gt;&lt;br /&gt;
  AddHandler cgi-script .cgi&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Use [http://httpd.apache.org/docs/1.3/suexec.html suEXEC] or suidperl&lt;br /&gt;
'''OR'''&lt;br /&gt;
* As per above, &amp;lt;code&amp;gt;chown freeside:your-www-group /usr/local/freeside/selfservice_socket; chmod 660 /usr/local/freeside/selfservice_socket&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Optionally, customize the .html templates.&lt;br /&gt;
* Useful &amp;quot;entry points&amp;quot; to link to are:&lt;br /&gt;
** signup.cgi - Signup&lt;br /&gt;
** selfservice.cgi - Customer self-service&lt;br /&gt;
** agent.cgi - Reseller interface&lt;br /&gt;
** passwd.cgi - Simple password-changin ginterface&lt;br /&gt;
** promocode.html - Promotional code pre-signup&lt;br /&gt;
** regcode.html - Registration code pre-signup&lt;br /&gt;
** stateselect.html - State selection pre-signup&lt;br /&gt;
&lt;br /&gt;
Verify it's really running as freeside.  Delete or chmod -x this after you know it's freeside or your-www-group running your cgi.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ echo '#!/bin/sh&lt;br /&gt;
echo -e &amp;quot;Content-Type: text/html\n&amp;quot;&lt;br /&gt;
id' &amp;gt; w.cgi ; chmod 755 w.cgi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SSH setup ==&lt;br /&gt;
&lt;br /&gt;
* On your backend Freeside server, generate SSH keys for the &amp;quot;freeside&amp;quot; user with &amp;lt;code&amp;gt;ssh-keygen&amp;lt;/code&amp;gt;.  Either use a passphrase-less key, or arrange for &amp;lt;code&amp;gt;ssh-agent&amp;lt;/code&amp;gt; to provide keys to &amp;lt;code&amp;gt;freeside-selfservice-server&amp;lt;/code&amp;gt;&lt;br /&gt;
* Add a &amp;quot;freeside&amp;quot; user to the public web server&lt;br /&gt;
* Append the contents of /home/freeside/.ssh/id_rsa.pub (or id_dsa.pub) on your freeside machine to the /home/freeside/.ssh/authorized_keys file on the public web server.&lt;br /&gt;
* As the freeside user, ensure you can SSH from your freeside machine to the public web server, without being prompted for a password.&lt;br /&gt;
* From the back end shell, ssh to the sign up server manually to populate the known hosts, and to verify the new key works.&lt;br /&gt;
&lt;br /&gt;
== Daemon setup ==&lt;br /&gt;
&lt;br /&gt;
* Run an instance of &amp;lt;code&amp;gt;freeside-selfservice-server ''user'' ''machine''&amp;lt;/code&amp;gt; on the Freeside machine for each external machine.&lt;br /&gt;
** ''user'' is an employee username.&lt;br /&gt;
** ''machine'' is the name or IP of the public web server.&lt;br /&gt;
&lt;br /&gt;
== Optional ==&lt;br /&gt;
&lt;br /&gt;
* You can install the files in the fs_selfservice/FS-SelfService/cgi/ directory multiple places in your web server's document space, and customize the .html templates differently for each. You can set the agentnum used for each signup by editing signup.html and including a hidden field with the agentnum: &lt;br /&gt;
  &amp;lt;INPUT TYPE=&amp;quot;hidden&amp;quot; NAME=&amp;quot;agentnum&amp;quot; VALUE=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 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 &lt;br /&gt;
&lt;br /&gt;
* 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_selfservice/FS-SelfService/ieak.template) See the section on internet settings files in the IEAK documentation for more information.  Also see [http://support.microsoft.com/default.aspx?scid=kb;en-us;170802 Internet Explorer Prompts to Download Files] in the Microsoft Knowledge Base if you have difficulty with IE prompting to download the signup's .ins file instead of processing it.&lt;br /&gt;
  &lt;br /&gt;
* Variable substitutions available in ieak.template and success.html: &lt;br /&gt;
** $ac - area code of selected POP &lt;br /&gt;
** $exch - exchange of selected POP &lt;br /&gt;
** $loc - local part of selected POP &lt;br /&gt;
** $username &lt;br /&gt;
** $password &lt;br /&gt;
** $email_name - first and last name &lt;br /&gt;
** $pkg - package name&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Upgrading&amp;diff=3676</id>
		<title>Freeside:1.7:Documentation:Upgrading</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Upgrading&amp;diff=3676"/>
				<updated>2008-02-27T17:17:01Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ContextSensitiveHelp}}&lt;br /&gt;
* Perl 5.8.0 or newer is required.  Perl 5.8.3 or newer is required if using RT.&lt;br /&gt;
* Install DBIx::DBSchema 0.31 (or later)&lt;br /&gt;
* Install HTML::Widgets::SelectLayers 0.06 (or later)&lt;br /&gt;
* Install DBIx::SearchBuilder 1.34 (or later)&lt;br /&gt;
* Install Color::Scheme&lt;br /&gt;
* Install Data::Table&lt;br /&gt;
* Install Lingua::EN::NameParse&lt;br /&gt;
* Install Lingua::EN::Inflect&lt;br /&gt;
* Install DateTime&lt;br /&gt;
* Install DateTime::Format::Strptime&lt;br /&gt;
* Install Number::Format 1.50 (or later)&lt;br /&gt;
* Apply the following changes to your database: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ALTER TABLE cust_pay_batch ADD COLUMN payinfo varchar(512);&lt;br /&gt;
UPDATE cust_pay_batch SET payinfo = cardnum;&lt;br /&gt;
ALTER TABLE cust_pay_batch DROP COLUMN cardnum;&lt;br /&gt;
ALTER TABLE cust_pay_batch ALTER COLUMN exp DROP NOT NULL;&lt;br /&gt;
&lt;br /&gt;
ALTER TABLE h_cust_pay_batch ADD COLUMN payinfo varchar(512);&lt;br /&gt;
UPDATE h_cust_pay_batch SET payinfo = cardnum;&lt;br /&gt;
ALTER TABLE h_cust_pay_batch DROP COLUMN cardnum;&lt;br /&gt;
ALTER TABLE h_cust_pay_batch ALTER COLUMN exp DROP NOT NULL;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Apply the following changes to your database (if you have a paymask column): &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPDATE cust_main SET paymask = NULL WHERE paymask LIKE 'x%';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;make install-perl-modules&amp;lt;/code&amp;gt;&lt;br /&gt;
* As the freeside UNIX user, run &amp;lt;code&amp;gt;freeside-upgrade username&amp;lt;/code&amp;gt;, passing the username of an internal Freeside user.&lt;br /&gt;
* If freeside-upgrade hangs, try stopping Apache, all Freeside processes, and anything else connected to your database, especially on older PostgreSQL versions.&lt;br /&gt;
* &amp;lt;code&amp;gt;pg_attribute: permission denied executing: UPDATE pg_attribute&amp;lt;/code&amp;gt; when running freeside-upgrade with Pg 7.3 or older?  Try this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ALTER TABLE cust_pay_batch ADD COLUMN payby char(4);&lt;br /&gt;
ALTER TABLE h_cust_pay_batch ADD COLUMN payby char(4);&lt;br /&gt;
ALTER TABLE cust_pay_batch ALTER COLUMN payby SET NOT NULL;&lt;br /&gt;
ALTER TABLE h_cust_pay_batch ALTER COLUMN payby SET NOT NULL;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ACL bootstrapping:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su&lt;br /&gt;
cd /usr/local/etc/freeside&lt;br /&gt;
chown freeside mapsecrets htpasswd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
** As the freeside UNIX user, run &amp;lt;code&amp;gt;bin/mapsecrets2access_user username&amp;lt;/code&amp;gt;, passing the username of an internal Freeside user.&lt;br /&gt;
** Using the web interface you can add more restrictive groups and move your employees into them.&lt;br /&gt;
* If you have any records in the cust_tax_exempt table, you *MUST* migrate them to the new cust_tax_exempt_pkg table.  An example script to get you started is in &amp;lt;code&amp;gt;bin/fs-migrate-cust_tax_exempt&amp;lt;/code&amp;gt; - it may need to be customized for your specific data.&lt;br /&gt;
* Optional for better zip code report performance: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CREATE INDEX cust_main16 on cust_main ( zip );&lt;br /&gt;
CREATE INDEX cust_main17 on cust_main ( ship_zip );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Optional if you're using the new agent cust ref#s: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CREATE UNIQUE INDEX cust_main18 ON cust_main ( agentnum, agent_custid );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Optional to eliminate harmless but noisy warnings: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPDATE cust_main_county SET exempt_amount = 0 WHERE exempt_amount IS NULL;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;make install-docs&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;make deploy&amp;lt;/code&amp;gt; if you've got everything setup for that in the Makefile)&lt;br /&gt;
* Perl module errors?  Try &amp;lt;code&amp;gt;make clean&amp;lt;/code&amp;gt; then &amp;lt;code&amp;gt;make install-perl-modules&amp;lt;/code&amp;gt; then &amp;lt;code&amp;gt;make install-docs&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;make deploy&amp;lt;/code&amp;gt; again&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3675</id>
		<title>Template:ContextSensitiveHelp</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3675"/>
				<updated>2008-02-27T17:13:51Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: /* Topic Names */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div style=&amp;quot;background: #F7FAFA; padding: 0.5em; margin: 0.5em; border: dashed 2px green;&amp;quot;&amp;gt;This page is part of the [[Freeside]] Context Sensitive Help.  Please review the [[:Template:ContextSensitiveHelp#Editing_Guidelines|Editing Guidelines]] before making modifications to this page.&amp;lt;/div&amp;gt;[[Category:Context sensitive help]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template, included by &amp;lt;em&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;{{ContextSensitiveHelp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/em&amp;gt; is for inclusion on pages where an installed [[Freeside]] instance may reference the wiki for &amp;lt;em&amp;gt;Context Sensitive Help&amp;lt;/em&amp;gt;.  This should make it more clear which pages are sensitive to specific changes.&lt;br /&gt;
&lt;br /&gt;
== Editing Guidelines ==&lt;br /&gt;
&lt;br /&gt;
There are a few issues of concern while editing pages containing this template.&lt;br /&gt;
&lt;br /&gt;
=== Topic Names ===&lt;br /&gt;
&lt;br /&gt;
It's especially important to not modify names of topic headers &amp;lt;nowiki&amp;gt;( such as &amp;lt;/nowiki&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;== Topic ==&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;nowiki&amp;gt; )&amp;lt;/nowiki&amp;gt;.  Freeside help relies upon wiki generated html anchors (Eg. &amp;lt;pre style=&amp;quot;padding: inherit; border: none; display: inline;&amp;quot;&amp;gt;&amp;lt;a name=&amp;quot;topic&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/pre&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Discuss when in doubt ===&lt;br /&gt;
&lt;br /&gt;
Please do not edit the documentation lightly, just because you have an installation problem. (Thanks Ivan)&lt;br /&gt;
&lt;br /&gt;
Your comments in the Discussion page is still welcome.  However, it will only be seen by a fraction of the [[Freeside:Community_Portal|Freeside community]].&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3674</id>
		<title>Template:ContextSensitiveHelp</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3674"/>
				<updated>2008-02-27T17:12:03Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div style=&amp;quot;background: #F7FAFA; padding: 0.5em; margin: 0.5em; border: dashed 2px green;&amp;quot;&amp;gt;This page is part of the [[Freeside]] Context Sensitive Help.  Please review the [[:Template:ContextSensitiveHelp#Editing_Guidelines|Editing Guidelines]] before making modifications to this page.&amp;lt;/div&amp;gt;[[Category:Context sensitive help]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template, included by &amp;lt;em&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;{{ContextSensitiveHelp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/em&amp;gt; is for inclusion on pages where an installed [[Freeside]] instance may reference the wiki for &amp;lt;em&amp;gt;Context Sensitive Help&amp;lt;/em&amp;gt;.  This should make it more clear which pages are sensitive to specific changes.&lt;br /&gt;
&lt;br /&gt;
== Editing Guidelines ==&lt;br /&gt;
&lt;br /&gt;
There are a few issues of concern while editing pages containing this template.&lt;br /&gt;
&lt;br /&gt;
=== Topic Names ===&lt;br /&gt;
&lt;br /&gt;
It's especially important to not modify names of topic headers &amp;lt;nowiki&amp;gt;( such as &amp;lt;/nowiki&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;== Topic ==&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;nowiki&amp;gt; )&amp;lt;/nowiki&amp;gt;.  Freeside help relies upon wiki generated &amp;lt;pre style=&amp;quot;padding: inherit; border: none; display: inline;&amp;quot;&amp;gt;&amp;lt;a name=&amp;quot;topic&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/pre&amp;gt; html anchors.&lt;br /&gt;
&lt;br /&gt;
=== Discuss when in doubt ===&lt;br /&gt;
&lt;br /&gt;
Please do not edit the documentation lightly, just because you have an installation problem. (Thanks Ivan)&lt;br /&gt;
&lt;br /&gt;
Your comments in the Discussion page is still welcome.  However, it will only be seen by a fraction of the [[Freeside:Community_Portal|Freeside community]].&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3673</id>
		<title>Template:ContextSensitiveHelp</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3673"/>
				<updated>2008-02-27T17:10:28Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div style=&amp;quot;background: #F7FAFA; padding: 0.5em; margin: 0.5em; border: dashed 1.5px green;&amp;quot;&amp;gt;This page is part of the [[Freeside]] Context Sensitive Help.  Please review the [[:Template:ContextSensitiveHelp#Editing_Guidelines|Editing Guidelines]] before making modifications to this page.&amp;lt;/div&amp;gt;[[Category:Context sensitive help]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template, included by &amp;lt;em&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;{{ContextSensitiveHelp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/em&amp;gt; is for inclusion on pages where an installed [[Freeside]] instance may reference the wiki for &amp;lt;em&amp;gt;Context Sensitive Help&amp;lt;/em&amp;gt;.  This should make it more clear which pages are sensitive to specific changes.&lt;br /&gt;
&lt;br /&gt;
== Editing Guidelines ==&lt;br /&gt;
&lt;br /&gt;
There are a few issues of concern while editing pages containing this template.&lt;br /&gt;
&lt;br /&gt;
=== Topic Names ===&lt;br /&gt;
&lt;br /&gt;
It's especially important to not modify names of topic headers &amp;lt;nowiki&amp;gt;( such as &amp;lt;/nowiki&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;== Topic ==&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;nowiki&amp;gt; )&amp;lt;/nowiki&amp;gt;.  Freeside help relies upon wiki generated &amp;lt;pre style=&amp;quot;padding: inherit; border: none; display: inline;&amp;quot;&amp;gt;&amp;lt;a name=&amp;quot;topic&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/pre&amp;gt; html anchors.&lt;br /&gt;
&lt;br /&gt;
=== Discuss when in doubt ===&lt;br /&gt;
&lt;br /&gt;
Please do not edit the documentation lightly, just because you have an installation problem. (Thanks Ivan)&lt;br /&gt;
&lt;br /&gt;
Your comments in the Discussion page is still welcome.  However, it will only be seen by a fraction of the [[Freeside:Community_Portal|Freeside community]].&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3672</id>
		<title>Template:ContextSensitiveHelp</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3672"/>
				<updated>2008-02-27T17:10:02Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div style=&amp;quot;background: #F7FAFA; margin: 0.5em; border: dashed 1.5px green;&amp;quot;&amp;gt;This page is part of the [[Freeside]] Context Sensitive Help.  Please review the [[:Template:ContextSensitiveHelp#Editing_Guidelines|Editing Guidelines]] before making modifications to this page.&amp;lt;/div&amp;gt;[[Category:Context sensitive help]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template, included by &amp;lt;em&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;{{ContextSensitiveHelp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/em&amp;gt; is for inclusion on pages where an installed [[Freeside]] instance may reference the wiki for &amp;lt;em&amp;gt;Context Sensitive Help&amp;lt;/em&amp;gt;.  This should make it more clear which pages are sensitive to specific changes.&lt;br /&gt;
&lt;br /&gt;
== Editing Guidelines ==&lt;br /&gt;
&lt;br /&gt;
There are a few issues of concern while editing pages containing this template.&lt;br /&gt;
&lt;br /&gt;
=== Topic Names ===&lt;br /&gt;
&lt;br /&gt;
It's especially important to not modify names of topic headers &amp;lt;nowiki&amp;gt;( such as &amp;lt;/nowiki&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;== Topic ==&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;nowiki&amp;gt; )&amp;lt;/nowiki&amp;gt;.  Freeside help relies upon wiki generated &amp;lt;pre style=&amp;quot;padding: inherit; border: none; display: inline;&amp;quot;&amp;gt;&amp;lt;a name=&amp;quot;topic&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/pre&amp;gt; html anchors.&lt;br /&gt;
&lt;br /&gt;
=== Discuss when in doubt ===&lt;br /&gt;
&lt;br /&gt;
Please do not edit the documentation lightly, just because you have an installation problem. (Thanks Ivan)&lt;br /&gt;
&lt;br /&gt;
Your comments in the Discussion page is still welcome.  However, it will only be seen by a fraction of the [[Freeside:Community_Portal|Freeside community]].&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3671</id>
		<title>Template:ContextSensitiveHelp</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3671"/>
				<updated>2008-02-27T17:05:48Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div style=&amp;quot;background: #F7FAFA;&amp;quot;&amp;gt;This page is part of the [[Freeside]] Context Sensitive Help.  Please review the [[:Template:ContextSensitiveHelp#Editing_Guidelines|Editing Guidelines]] before making modifications to this page.&amp;lt;/div&amp;gt;[[Category:Context sensitive help]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template, included by &amp;lt;em&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;{{ContextSensitiveHelp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/em&amp;gt; is for inclusion on pages where an installed [[Freeside]] instance may reference the wiki for &amp;lt;em&amp;gt;Context Sensitive Help&amp;lt;/em&amp;gt;.  This should make it more clear which pages are sensitive to specific changes.&lt;br /&gt;
&lt;br /&gt;
== Editing Guidelines ==&lt;br /&gt;
&lt;br /&gt;
There are a few issues of concern while editing pages containing this template.&lt;br /&gt;
&lt;br /&gt;
=== Topic Names ===&lt;br /&gt;
&lt;br /&gt;
It's especially important to not modify names of topic headers &amp;lt;nowiki&amp;gt;( such as &amp;lt;/nowiki&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;== Topic ==&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;nowiki&amp;gt; )&amp;lt;/nowiki&amp;gt;.  Freeside help relies upon wiki generated &amp;lt;pre style=&amp;quot;padding: inherit; border: none; display: inline;&amp;quot;&amp;gt;&amp;lt;a name=&amp;quot;topic&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/pre&amp;gt; html anchors.&lt;br /&gt;
&lt;br /&gt;
=== Discuss when in doubt ===&lt;br /&gt;
&lt;br /&gt;
Please do not edit the documentation lightly, just because you have an installation problem. (Thanks Ivan)&lt;br /&gt;
&lt;br /&gt;
Your comments in the Discussion page is still welcome.  However, it will only be seen by a fraction of the [[Freeside:Community_Portal|Freeside community]].&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Category:Context_sensitive_help&amp;diff=3670</id>
		<title>Category:Context sensitive help</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Category:Context_sensitive_help&amp;diff=3670"/>
				<updated>2008-02-27T17:03:35Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pages in this category include the &amp;lt;b&amp;gt;&amp;lt;em&amp;gt;&amp;lt;nowiki&amp;gt;{{ContextSensitiveHelp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/b&amp;gt; template.  Please see [[Template:ContextSensitiveHelp]] for editing guidelines and template use.&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3669</id>
		<title>Template:ContextSensitiveHelp</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Template:ContextSensitiveHelp&amp;diff=3669"/>
				<updated>2008-02-27T17:01:43Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div style=&amp;quot;background: #F0F0F0;&amp;quot;&amp;gt;This page is part of the [[Freeside]] Context Sensitive Help.  Please review the [[:Template:ContextSensitiveHelp#Editing_Guidelines|Editing Guidelines]] before making modifications to this page.&amp;lt;/div&amp;gt;[[Category:Context sensitive help]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template, included by &amp;lt;em&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;{{ContextSensitiveHelp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/em&amp;gt; is for inclusion on pages where an installed [[Freeside]] instance may reference the wiki for &amp;lt;em&amp;gt;Context Sensitive Help&amp;lt;/em&amp;gt;.  This should make it more clear which pages are sensitive to specific changes.&lt;br /&gt;
&lt;br /&gt;
== Editing Guidelines ==&lt;br /&gt;
&lt;br /&gt;
There are a few issues of concern while editing pages containing this template.&lt;br /&gt;
&lt;br /&gt;
=== Topic Names ===&lt;br /&gt;
&lt;br /&gt;
It's especially important to not modify names of topic headers &amp;lt;nowiki&amp;gt;( such as &amp;lt;/nowiki&amp;gt;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;== Topic ==&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;nowiki&amp;gt; )&amp;lt;/nowiki&amp;gt;.  Freeside help relies upon wiki generated &amp;lt;pre style=&amp;quot;padding: inherit; border: none; display: inline;&amp;quot;&amp;gt;&amp;lt;a name=&amp;quot;topic&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/pre&amp;gt; html anchors.&lt;br /&gt;
&lt;br /&gt;
=== Discuss when in doubt ===&lt;br /&gt;
&lt;br /&gt;
Please do not edit the documentation lightly, just because you have an installation problem. (Thanks Ivan)&lt;br /&gt;
&lt;br /&gt;
Your comments in the Discussion page is still welcome.  However, it will only be seen by a fraction of the [[Freeside:Community_Portal|Freeside community]].&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Administration&amp;diff=3668</id>
		<title>Freeside:1.7:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Administration&amp;diff=3668"/>
				<updated>2008-02-27T17:01:16Z</updated>
		
		<summary type="html">&lt;p&gt;Supaplex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ContextSensitiveHelp}}&lt;br /&gt;
= Exports (provisioning) =&lt;br /&gt;
&lt;br /&gt;
'''Exports''' allow you to provision services to remote machines, databases and APIs.  Some exports, such as ''sqlradius'' and ''sqlradius_withdomain'',  enable a feed for retrieving rating/usage data.&lt;br /&gt;
&lt;br /&gt;
Exports can be added and edited under&lt;br /&gt;
: Configuration -&amp;gt; Provisioning, services and packages -&amp;gt; View/edit exports&lt;br /&gt;
&lt;br /&gt;
Most exports place jobs in the job queue for new, modified or deleted services.  Jobs are run by [[Freeside:1.7:Documentation:Developer/bin/freeside-queued|freeside-queued]].  This [[Freeside:1.7:Documentation:backend_service|service]] needs to be running before exports are acted upon.&lt;br /&gt;
&lt;br /&gt;
Click on ''Add a new export'' to create a new export.  Select exports from the dropdown to show more information on each export, including available options, setup and usage.&lt;br /&gt;
&lt;br /&gt;
Exports are activated by associating them with one or more '''service definitions'''.&lt;br /&gt;
&lt;br /&gt;
Following is a list of which exports can be associated with each type of service.&lt;br /&gt;
&lt;br /&gt;
==svc_acct==&lt;br /&gt;
* acct_plesk.pm:  Real-time export to Plesk managed mail service&lt;br /&gt;
* acct_sql.pm:  Real-time export of accounts to SQL databases .&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* bsdshell.pm: &lt;br /&gt;
* communigate_pro.pm:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* communigate_pro_singledomain.pm: &lt;br /&gt;
* cpanel.pm:  Real-time export to Cpanel control panel.&lt;br /&gt;
* cp.pm:  Real-time export to Critical Path Account Provisioning Protocol&lt;br /&gt;
* cyrus.pm:  Real-time export to Cyrus IMAP server&lt;br /&gt;
* everyone_net.pm:  Real-time export to Everyone.net outsourced mail service&lt;br /&gt;
* infostreet.pm:  Real-time export to InfoStreet streetSmartAPI&lt;br /&gt;
* ldap.pm:  Real-time export to LDAP&lt;br /&gt;
* passwdfile.pm:&lt;br /&gt;
* radiator.pm:  Real-time export to RADIATOR&lt;br /&gt;
* shellcommands.pm: &lt;br /&gt;
* shellcommands_withdomain.pm:  Real-time export via remote SSH (vpopmail, ISPMan)&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
* sqlradius.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)&lt;br /&gt;
* sqlradius_withdomain.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms&lt;br /&gt;
* sysvshell.pm: &lt;br /&gt;
* textradius.pm: &lt;br /&gt;
* vpopmail.pm:  Real-time export to vpopmail text files&lt;br /&gt;
&lt;br /&gt;
==svc_domain==&lt;br /&gt;
* bind.pm:  Batch export to BIND named&lt;br /&gt;
* bind_slave.pm: Batch export to slave BIND named&lt;br /&gt;
* domain_shellcommands.pm:  Run remote commands via SSH, for domains (qmail, ISPMan).&lt;br /&gt;
* domain_sql.pm:  Real time export of domains to SQL databases .&lt;br /&gt;
* http.pm:  Send an HTTP or HTTPS GET or POST request&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_forward==&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* forward_shellcommands.pm:  Run remote commands via SSH, for forwards&lt;br /&gt;
* postfix.pm:  Postfix text files&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_www==&lt;br /&gt;
* apache.pm:  Export an Apache httpd.conf file snippet.&lt;br /&gt;
* www_plesk.pm:  Real-time export to Plesk managed hosting service&lt;br /&gt;
* www_shellcommands.pm:  Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)&lt;br /&gt;
&lt;br /&gt;
==svc_broadband==&lt;br /&gt;
* nas_wrapper.pm:  A meta-export that triggers other svc_broadband exports.&lt;br /&gt;
* prizm.pm:  Real-time export to Northbound Interface&lt;br /&gt;
* router.pm:  Send a command to a router.&lt;br /&gt;
* snmp.pm:  Sends SNMP SETs to an SNMP agent.&lt;br /&gt;
* trango.pm:  Sends SNMP SETs to a Trango AP.&lt;br /&gt;
&lt;br /&gt;
==svc_external==&lt;br /&gt;
* artera_turbo.pm:&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
* Some rough notes on setting up [[Freeside:1.7:Documentation:Administration:Services:svc_acct|username-based services]]&lt;br /&gt;
&lt;br /&gt;
= Packages =&lt;br /&gt;
&lt;br /&gt;
* Some notes on [[Freeside:1.7:Documentation:Administration:Upselling | Upselling]]&lt;br /&gt;
&lt;br /&gt;
= Resellers =&lt;br /&gt;
&lt;br /&gt;
= Employees =&lt;br /&gt;
&lt;br /&gt;
= Billing =&lt;br /&gt;
&lt;br /&gt;
== Invoice events ==&lt;br /&gt;
&lt;br /&gt;
* Use invoice events to implement your business rules for re-sending invoices and late notices, retrying cards, suspending, etc.&lt;br /&gt;
&amp;lt;code&amp;gt;Configuration -&amp;gt; Billing -&amp;gt; View/Edit invoice events&amp;lt;/code&amp;gt;&lt;br /&gt;
* The freeside-daily script should be run daily to bill customers and run invoice collection events.&lt;br /&gt;
** Typically, this is accomplished with an entry in the freeside user's crontab such as: &amp;lt;pre&amp;gt;0 0 * * * /usr/local/bin/freeside-daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
** If running freeside-daily manually, ensure the &amp;lt;code&amp;gt;TZ&amp;lt;/code&amp;gt; variable is set to your timezone with a command such as: &amp;lt;pre&amp;gt;TZ=&amp;quot;US/Pacific&amp;quot; freeside-daily fs_daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If any monthly events are enabled, the freeside-monthly script should be run monthly.&lt;br /&gt;
* Invoice events can also be used to implement agent-virtualized invoices. (add more info)&lt;br /&gt;
&lt;br /&gt;
== Invoice templates ==&lt;br /&gt;
&lt;br /&gt;
=== Typeset (LaTeX) invoice templates ===&lt;br /&gt;
&lt;br /&gt;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
* Almost all distributions include the necessary prerequisites listed here, manual installation is practically never necessary.&lt;br /&gt;
* Install [http://www.ghostscript.com/ Ghostscript] (gs)&lt;br /&gt;
* Install [http://www.tug.org/tetex/ teTeX] or [http://www.tug.org/texlive/ TeX Live]&lt;br /&gt;
* Ensure that the &amp;lt;code&amp;gt;pslatex&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dvips&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;pdflatex&amp;lt;/code&amp;gt; command line utilities were installed&lt;br /&gt;
&lt;br /&gt;
=== Content setup ===&lt;br /&gt;
&lt;br /&gt;
* Edit the invoice_latexreturnaddress, invoice_latexfooter, invoice_latexnotes, and invoice_latexsmallfooter configuration options. If you are adventurous, edit invoice_latex as well.&lt;br /&gt;
&lt;br /&gt;
==== Logo setup ====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Encapsulated Postscript&amp;quot;&amp;gt;EPS&amp;lt;/em&amp;gt; logo is for PDF and printed invoices.&lt;br /&gt;
&lt;br /&gt;
* For best results, save a '''vector format''' logo in EPS (Encapsulated PostScript) format.  &lt;br /&gt;
** Your graphic artist can create vector image from a bitmap (tracing etc).&lt;br /&gt;
** In a pinch, converting a large detailed bitmap can work.  However, it still may not perform well.&lt;br /&gt;
* Resize the logo to 90pt X 36pt: &amp;lt;code&amp;gt;epsffit -c 0 0 90 36 yourlogo.eps &amp;gt;logo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
* Copy the resized logo to &amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''your_datasrc/logo.eps''&amp;lt;/code&amp;gt;&lt;br /&gt;
* Problems?  Try &amp;lt;code&amp;gt;bin/strip-eps &amp;lt;oldlogo.eps &amp;gt;trynewlogo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Portable Network Graphic&amp;quot;&amp;gt;PNG&amp;lt;/em&amp;gt; logo is for emailed and online invoices.&lt;br /&gt;
&lt;br /&gt;
Freeside ships with a logo of 92 x 62.  Any logo close to this size should work. The important factor is how your invoices look.  This may require some trial and error until it looks good everywhere.&lt;br /&gt;
&lt;br /&gt;
=== HTML invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* Place your logo in PNG format at &amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''your_datasrc''/logo.png&amp;lt;/code&amp;gt; &lt;br /&gt;
* Edit the invoice_html configuration option or the &amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''your_datasrc''/invoice_html&amp;lt;/code&amp;gt; file.  HTML invoices use Text::Template with &amp;lt;%= and %&amp;gt; delimiters. &lt;br /&gt;
* The following configuration options can be set to override the default behaviour of using the invoice_latex* data transformed to HTML: invoice_htmlreturnaddress, and invoice_htmlfooter, invoice_htmlnotes. &lt;br /&gt;
&lt;br /&gt;
=== Plaintext invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* See the Text::Template documentation for details on the substitution language.&lt;br /&gt;
* You must call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column. Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).&lt;br /&gt;
* In addition, the following variables are available: &lt;br /&gt;
** $invnum - invoice number &lt;br /&gt;
** $date - as a UNIX timestamp (see Date::Format for conversion functions). &lt;br /&gt;
** $page - current page &lt;br /&gt;
** $total_pages - total pages &lt;br /&gt;
** @address - A six-element array containing the customer name, company, and address.&lt;br /&gt;
&lt;br /&gt;
=== Payment Receipts ===&lt;br /&gt;
&lt;br /&gt;
The [[Freeside:1.7/Configuration/settings/payment_receipt_email|payment_receipt_email]] template is used for manually applied payments.&lt;br /&gt;
&lt;br /&gt;
== Credit cards and Electronic checks ==&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration:Real-time_Processing | Real-time credit card and electronic check processing]]&lt;br /&gt;
* [[Freeside:1.7:Documentation:Administration:Batch_Processing | Batch credit card and electronic check processing]]&lt;br /&gt;
* Credit card expiration alerts: Customize the ''alerter_template'' configuration option and run &amp;lt;code&amp;gt;freeside-expiration-alerter&amp;lt;/code&amp;gt; daily.&lt;br /&gt;
* Credit card decline alerts: Customize the ''declinetemplate'' configuration option and set the ''emaildecline'' configuration option.&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:VoIP | VoIP]]&lt;br /&gt;
* Need to print to Windows printers?  Follow steps 1-4 of  [http://iharder.sourceforge.net/current/macosx/winmacprinter/ Share Your Windows Printer].&lt;br /&gt;
* Setting up [[Freeside:1.7:Documentation:Administration:Slony | Slony replication and failover]]&lt;/div&gt;</summary>
		<author><name>Supaplex</name></author>	</entry>

	</feed>