|
Configure
CONFIGURATION of phpYellow Pro Edition version 4.x
Application configuration may be done at either of 2 interfaces:
- point and click interface - admin > Setup > Edit Configuration
- manual code interface - edit util.php in code view with a noninvasive text or html editor
For common configuration solutions see the FAQ.
Listing expiry dates are calculated with ./calculate_expiry.php . How the listing expiry date is calculated varies with the date event used:
manager event - Work with single listing
The manager 'Work with single listing' tool uses MONTHS, not days, to calculate an expiry date. The resulting expiration date for the listing is nn months from todays date. nn is a positive integer value, example: 3.
data_in event - Automatic Gateway payment
Incoming payments from a live payment gateway use MONTHS, not days, to calculate an expiry date. See the variable called 'duration' in the phpYellow payment documentation. The resulting expiration date for the listing is nn months from todays date. nn is a positive integer value, example: 3.
all other events
All other date events including register (new customer and new listing together), loginresult, (customer creates new listing from Client Control Panel 'Add Listing'), and quicksubmit (quick submit by administration) use a default expiration.
Default expiration
The default expiration is a phpYellow constant called DAYSTOEXPIRY. DAYSTOEXPIRY may be changed by edit to util.php or by point and click in admin.php > Setup > Edit Configuration > General directory settings > days to expiry. A positive integer value, example '366', is the default. A value of '366' is (usually) one year plus 1 day grace.
|
|