| |
| $config['root'] - The absolute path to the directory. We are using
the $_SERVER super global variable to get the path to your document
root, which will work in most cases. Should this variable be reporting
the wrong path, or it is not being set by your server, you will have
to supply the full path here. Refer to your server/host documentation
for this setting. This variable includes the trailing slash (/) in
the path. |
| |
| $config['mainurl'] - The url to the directories main folder. You
should include the full url path, which includes the 'http://'. |
| |
| $config['admin_email'] - The site administrators e-mail address.
This is where all correspondence to the site will be sent, and all
correspondence from the site will have this return address. |
| |
| $config['admin_name'] - The site administrators name. This is the
name that will be displayed on e-mail correspondence from the site. |
| |
| $config['paypal_email'] - The paypal account e-mail address. This
is the paypal account where all payments will be credited. Refer to
paypals documentation for setting up a merchant account on thier site.
If this is left blank the paypal payment system will not be active. |
| |
| $config['paypal_currency'] - The default currency designator for
payments accepted through paypal. Members can pay in different currencies
and they will be converted to your currency. Refer to the paypal documentation
regarding currency types. |
| |
| $config['deftpl'] - The default template. This template will be used
when no other has been chosen by the user of the site. If a user selects
a different template, a cookie will be placed on thier computer and
display thier chosen template each time they return. |
| |
| $config['add_any_cat'] - Add listings to any category if set to true.
If set to false then members will only be able to add listings in terminating
categories (final categories without children). |
| |
| $config['show_admin'] - Show link to admin area on the sites menu,
if set to true, otherwise the link will not be shown and you can access
the admin area by pointing your browser to the admin.php file. |
| |
| $config['cat_sel_w'] - The width of the category selection boxes
used during registration and listing updates. |
| |
| $config['cat_col'] - The number of category selection boxes to display
in each row, new rows will be created as necessary to display all children
of selected categories. |
| |
| $config['cats_page'] - The number of category titles to display,
per page, on the index. New pages will be created to display all categories
available for browsing. |
| |
| $config['lists_page'] - The number of listings to display, per page,
on the index. New pages will be created to display
all available listings for browsing. |
| |
| $config['users_page'] - The number of user records to display, per
page, in the admin user editor. New pages will be created to display
all available users for editing. |
| |
| $config['search_page'] - The number of listings to display, per page,
in the search results. New pages will be created to display all listings
that match the search criterea. |
| |
| $config['auto_approve'] - Automatically approves listings when
submitted, if set to true, otherwise the administrator will have to
approve each
listing before it appears in the directory. |
| |
| $config['auto_update'] - Automatically approves listings when updated
by the member, if set to true, otherwise the administrator will have
to approve each updated listing before it will re-appear in the directory. |
| |
| $config['free_level'] - The membership level ID that is considered
the free level. Any listing that expires without being renewed will
be set to this membership level. By default a free membership level
is created when phpDirectorySource is installed, and this level is
used. You can change this as needed to reflect the correct membership
level to downgrade listings to. |
| |
| $config['logo_w'] - Maximum listings logo width. When a logo is uploaded
by a member that exceeds this width, it will be resized (maintaining
proportions) to this width. If the GD library is not installed on your
server, this setting has no effect. |
| |
| $config['logo_h'] - Maximum listings logo height. When a logo is
uploaded by a member that exceeds this height, it will be resized (maintaining
proportions) to this height. If the GD library is not installed on
your server, this setting has no effect. |
| |
| $config['bg_light'] - The light background color when sub listings
(list of listings) are displayed. |
| |
| $config['bg_dark'] - The dark background color when sub listings
(list of listings) are displayed. |
| |
| $config['web_target'] - The target option when a listings website
link is clicked. Set 'target = _self' to display the members website
in the same window or 'target = _blank' to display in a new window. |
| |
| $config['admin_chg_pw'] - Allow the admin to change users passwords,
if set to true, otherwise only users can change thier password. |
| |
| $config['disable_empty_cat'] - Disable categories without listings,
making them not selectable, if set to true, otherwise any category
can be followed to the terminating category. |
| |
| $config['rewrite'] - Rewrite page url's using mod-rewrite, if set
to true, otherwise pages will be displayed as they are actually written.
Mod-rewrite, available on apache servers, allows pages to be displayed
in a search engine friendly manner. |
| |
| $config['map_site'] - The mapping site to be used for listing directions.
Currently google and mapquest are supported. |
| |
| $allow_tags - html tags to allow in user submitted information. By
default, no html tags are allowed and will be stripped out of any user
input. If you should want to allow any, include them in the array statement,
quoted and seperated by commas (ex. array('<strong>', '<font>') will
allow strong and font tags). |
| |
| $allow_attr - html attributes to allow in user submitted information.
By default, no html attributes are allowed and will be stripped out
of any user input. If you shouls want to allow any, include then in
the array statement, quoted and sperated by commas (ex. array('bgcolor',
'size') will allow the attributes for background color and size in
a font tag should font tags be allowed). |
| |