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 | ||
| WDLIVENEWSFEEDDESC | ||
| WDNOCURL | ||
| WDIPDELAY | ||
| WDWHATSNEW | ||
| WDDISABLEGZIP | ||
| WDNOTIFYNEW | ||
| WDBCSEP | Separator in the breadcrumb trail on every page, for example: Home > Accommodation > Hotels |
> |
| WDSHOWPSTATS | ||
| WDCURCATNAMESEP | ||
| WDTOPCATSON | ||
| WDNOAUTOFILL | ||
| WDWITHRECIPROCAL | ||
| WDWITHRECIPOPT | ||
| WDDESCLENGTH | ||
| WDFULLDESCLENGTH | ||
| WDURLOPTIONAL | Customers can add a listing without having a website. WDNOAUTOFILL needs to be defined and set to 1. |
1 |
| WDUSEUTF8 | ||
| 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 lisitngs on the home page 2: rotates all listings on the home page 0: disables featuring any listings on the homepage |
1 |
| WDAUTODERANK | ||
| WDCLS_HIGH | ||
| WDCLS_ENTRY | ||
| WDHIGHENT | ||
| WDHIGHTXT | ||
| WDMAXRANKS | ||
| WDRANKNAME1 | ||
| WDRANKNAME2 | ||
| WDRANKNAME3 | ||
| WDRANKNAME4 | ||
| WDSTDENT | ||
| WDDELONEXPIRE | ||
| WDSITEMAPWITHLISTINGS | ||
| WDNORANKORDER | ||
| 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 | ||
