Settings - Script options
Before installing the script, a few options must be updated: review the installation instructions here.
Please read:
- Your website will be fully operational without changing any of the settings below, and they are only provided for completeness
- There is no need to understand or review this page and most installations do never need any changes made to any of the below settings
- The settings explained on this page allow customisation of your website, and can be changed at any time after installation of your goldroo software
Most of the goldroo script options are controlled from the wdcfg.php file.
The table below lists all the options and an explanation.
The table also lists the default values if the option is used in the standard installation of the script.
Options which are not used in the standard installation do not have a default value shown. These options are commented in the wdcfg.php file.
This page is a work in progress ... Contact us if you want to know more about one of the options.
| Option | Information | Default |
|---|---|---|
| WDDBUSER | Database user name, see installation. | |
| WDDBPASSWD | Database user password, see installation. | |
| WDDBHOST | Server, see installation. | localhost |
| WDDBNAME | Database name, see installation. | |
| WDDBPREFIX | Prefix for the database table, see installation. | dir_ |
| WDEMAIL | Your email address, see installation. Used to send notifications to you and to your customers. |
|
| WDDOMAIN | Full address (URL) of your directory, see installation. | |
| WDNAME | Name of your website, see installation. This name will be used on confirmation pages of your website and in emails sent by the script. |
|
| WDTOP_NAME | Name used for website navigation, see installation. This name is used for the breadcrumb trail on every page, and for some other navigation. Examples are Home or you could use the name of your website. |
Home |
| WDFEEDDESC | Short description of your site, see installation. This is used as a subtitle to the name of your website on every page, in the top section. | |
| WDMODREWRITE | 4 | |
| WDMODREWRITENAME | wdir | |
| WDCOOKIEPREFIX | goldroo | |
| WDLINKTGT | ||
| WDDOMAIN | ||
| WDNOCACHE | To reduce server load, and to improve the performance and lower the number of database queries, the script uses a page cache. If you want to disable the page caching, for example when testing or customising pages, uncomment this setting. |
commented |
| WDLIVENEWSFEEDDESC | ||
| WDNOCURL | ||
| WDIPDELAY | ||
| WDWHATSNEW | ||
| WDDISABLEGZIP | ||
| WDNOTIFYNEW | Your goldroo script will normally notify you once a day if there are standard submissions waiting for review, and will send you a notification immediately if there are priority submissions received. You can change this setting to 0: if you do not want to receive any notifications, or 1: if you want to be notified of every submission |
2 |
| WDBCSEP | Separator in the breadcrumb trail on every page, for example: Home > Accommodation > Hotels |
> |
| WDSHOWPSTATS | ||
| WDCURCATNAMESEP | ||
| WDTOPCATSON | ||
| WDNOAUTOFILL | ||
| WDWITHRECIPROCAL | ||
| WDWITHRECIPOPT | ||
| WDDESCLENGTH | You can change the limit of characters allowed in the description. You can also comment this setting to allow any amount of characters in the description |
500 |
| WDFULLDESCLENGTH | ||
| WDURLOPTIONAL | Customers can add a listing without having a website. WDNOAUTOFILL needs to be defined and set to 1. |
1 |
| WDUSEUTF8 | Uncomment to use UTF-8 instead of iso-8859-1. Note: this setting needs to be uncommented for non-English installations. |
uncommented |
| NOCATCOUNT | If commented, then the number of listings in the category will be shown, for example: Accommodation (17) |
1 |
| WDURLREPLACEMENT | ||
| WDEMAILCALLOUTS | ||
| WDREJECTLIST | ||
| WDUSEVERIFICATIONQ | ||
| WDSEARCHBOOLEAN | ||
| Search term history settings | ||
| WDWITHLASTSEARCHES | ||
| WDWITHTOPSEARCHES | ||
| WDSEARCHLOGAGE | ||
| WDWITHLASTSEARCHESPAGE | ||
| WDWITHTOPSEARCHESPAGE | ||
| WDNUMCLOUDSTYLES | ||
| WDSEARCHCLOUDNAME | ||
| WDSEARCHCLOUDINCATS | ||
| WDNOBBCODE | Replaces raw input fields with an HTML editor, in both the admin area and your customers' submission pages. WDALLOWDETAIL and WDALLOWDETAILSUBMIT both need to be set to 1. |
1 |
| WDREMOTEPUB | 1 | |
| WDWITHLIVENEWS | 1 | |
| WDLIVENEWSONLY | If uncommented then listings which are linked to a website, will not be able to post news directly onto their detail page. | |
| WDREMOTEPUBRATE | ||
| WDREMOTEPUBCLEAN | ||
| WDREMOTEPUBNOFOLLOW | ||
| WDARTICLEROTATE | ||
| WDLIVENEWSHPITEMS | ||
| WDLIVENEWSITEMS | ||
| WDLIVENEWSTAGS | ||
| WDLIVENEWSHISTSIZE | ||
| WDLIVENEWSHTML | ||
| WDEXPRESSLIMIT | ||
| WDTHROTTLE_MAXPAGELOADS | ||
| WDTHROTTLE_INTERVAL | ||
| WDTHROTTLE_BLOCKFOR | ||
| WDFEATURE | This setting can have the following values: 1: rotates priority listings on the home page 2: rotates all listings on the home page 0: disables featuring any listings on the homepage |
1 |
| WDAUTODERANK | When a priority listing expires it de-ranks to a standard listing if this setting is set to 0. If you want priority listings to be permanent, then change this setting to 1. | 0 |
| WDCLS_HIGH | ||
| WDCLS_ENTRY | ||
| WDHIGHENT | ||
| WDHIGHTXT | ||
| WDMAXRANKS | ||
| WDRANKNAME1 | ||
| WDRANKNAME2 | ||
| WDRANKNAME3 | ||
| WDRANKNAME4 | ||
| WDSTDENT | ||
| WDDELONEXPIRE | ||
| WDSITEMAPWITHLISTINGS | Uncomment if sitemaps submitted to Google Webmaster Tools and Yahoo Explorer should contain links to detail pages and not just categories. | |
| WDNORANKORDER | The script will normally order any listings in the following order:
|
|
| WDBIDRANK | ||
| WDLISTINGORDER | Listings are ordered firstly by group, Priority listings first and then Standard listings. Within their group the listings are ordered alphabetically. You can order the listings within their group by age by uncommenting this setting. | 1 |
| WDCOUNTARTICLES | ||
| WDEMAILBLOCKSIZE | ||
| WDALLOWDETAIL | Creates a detail page for all listings. This option needs to be set to 1 in a standard installation. |
1 |
| WDALLOWVOTE | It is possible to allow visitors to rate and vote for listings. If changing this setting, then changes are also needed to the extensions/extensioninfo.php file. |
0 |
| WDNOVOTEORDER | ||
| WDALLOWDETAILSUBMIT | Allows all customers to submit optional information for their detail page. This option needs to be set to 1 in a standard installation. |
1 |
| Thumbnails | ||
| WDENTRYTH | All listings will have a thumbnail showing. Change value to 0 to turn off. |
1 |
| WDTHUMBW | Maximum width of a thumbnail uploaded will be 120 pixels. | 120 |
| WDTHUMBH | Maximum height of a thumbnail uploaded will be 90 pixels. | 90 |
| WDCATTH | Change value to 1 if you want to show a picture next to a category which is linked from the home page. | 0 |
| WDCATTHW | Maximum width of a thumbnail uploaded will be 70 pixels. | 70 |
| WDCATTHH | Maximum height of a thumbnail uploaded will be 70 pixels. | 70 |
| WDBANNERADS | ||
| WDIMGBANNER1 | ||
| WDIMGBANNER2 | ||
| WDIMGBANNER3 | ||
| WDIMGBANNER4 | ||
| WDNOPROPADS | ||
| WDSPONSSTART | ||
| WDSPONSEND | ||
| WDSPONSITMSTART | ||
| WDSPONSITMEND | ||
| WDSPONSSEP | ||
| WDPAYDONEPAGE | ||
| WDPAYPALACC | ||
| WDCOSTCURRENCY | ||
| WDVATREG | ||
| WDVATRATE | ||
| WDDEFCOUNTRY | ||
| WD2COSELLER | ||
| WD2COSECRET | ||
| WD2COC_PROD | ||
| WD2COID_TYPE | ||
| WDNOPAYPAL | ||
| WDNOCHEX | ||
| WDNOCHEXTEST | ||
| WDREMOTEALWAYSQ | ||
| WDSMTPHOST | ||
| WDSMTPPORT | ||
| WDSMTPUSER | ||
| WDSMTPPWD | ||
| WDPPSERV | ||
| WDED_DATAPATH | ||
| WDVIEW_DATAPATH | ||
| WDCATCOLS | Sets the number of columns used to list the categories on the homepage. | 1 |
| WDCATLNK1 | These 3 options create the link coding for the categories: <a href="CategoryURL">CategoryName</a>, for example <a href="hotels">Hotels</a>, and should usually not be adjusted. |
'<a href="' |
| WDCATLNK2 | '">' | |
| WDCATLNK3 | '</a>' | |
| WDCATLNK3L | '</a>' | |
| WDCATCOLSHOME | Sets the number of columns used to list the categories on the homepage. |
1 |
| WDTOPLINKS | ||
| WDROOTSEP | ||
| WDROOTSEP2 | ||
| WDROOTCATLNK1 | ||
| WDROOTCATLNK2 | ||
| WDROOTCATLNK3 | ||
| WDROOTSUBCATLNK1 | ||
| WDROOTSUBCATLNK2 | ||
| WDROOTSUBCATLNK3 | ||
| WDSEARCHSIZE | ||
| WDSEARCHSEP | ||
| WDSRCHLNKCLS | ||
| WDSRCHPREV | ||
| WDSRCHNEXT | ||
| WDSRCHPRE | ||
| WDSRCHCATSEP | ||
| WDSRCHCATCLS | ||
| WDENTPPAGE | ||
| WDENTPPSEP | ||
| WDENTPPLNKCLS | ||
| WDENTPPPREV | ||
| WDENTPPNEXT | ||
| WDENTPPPRE | ||
| WDVOTEDELAY | ||
| WDCATGROUPS | ||
| WDONCLUSTER | ||
| WDDEMO | ||
