Directory Script
Directory Script Version History
Changes for V4.0.2
- PayPal IPN messages for Refunded and Reversed now automatically hide the associated listing.
- PayPal IPN message Canceled_Reversal makes a previously hidden listing visible again.
- Added ability to manually change bid price of listings.
- When in bid mode, express updates are automatically accepted on payment. The fields are made read only so that the user can verify they are bidding on the correct listing but not change information.
- Improvements to http client code.
- Added ability to order listings by age.
- Search terms now have the bad word list defined for submissions applied to them and any terms found to contain bad words are changed to empty searches.
- The submission filter can now check for the presence of required words in the title and description of the submission.
- Corrected a bug in the version 4 series which could corrupt listings when linking either articles or listings to locked categories.
Changes for V4.0.1
- Corrects issue of missing permalink and article body with article rotation enabled and only one article in the category.
- Added highlighting for category group numbers in the admin interface.
- Corrected submission filter detecting I. as being in the 3rd person rather than an abbreviation.
- Corrected issue with forwarding between directories failing.
- Enhancements to the dead link checker.
- Added ability to limit the number of express submissions per category.
Changes for V4.0.0
- Changed all dates to show in the format day-month-year, e.g. 30-Mar-2007.
- Bad words filter changed to accept phrases as well as individual words.
- Added Yahoo notification of sitemap updates.
- Fixed problem with RSS feeds when the directory doesn't have detail pages.
- Changed to a single cron job running at a 5 minute interval to allow simpler install and more flexibility.
- Changed link checker to run as a cron job with multiple checkers allowed. Results are no longer emailed but shown in a list where they can be manually checked and validated or deleted.
- Dead link checker now always runs on the 1st of the month.
- Dead linker checker can be restarted to just recheck the links that have been flagged as broken.
- Improved detection of parked pages.
- New friendlier administration interface.
- Better support for hosts that rate limit email. WDEMAILBLOCKSIZE is now the number of emails per hour that can be sent.
WDEMAILWAIT is nolonger used. - The script now periodically checks for new versions and displays a notification on the dashboard when a new version is available.
- Better error message for submitters when the URL is already included, under review or pending payment.
- Submission filter can now be controlled via the admin interface with finer control. WDNOSUBMISSIONFILTER is no longer used, instead the filter can be disabled via the admin interface.
- Banned words can now be added via the submission filter interface in the admin interface. The file badwords.txt is no longer used.
- Both the home page and search pages can now show the latest and top searches as a tag cloud. To enable when upgrading requires changes to t!wdviewhome.hml, t!wdsearch.html, the CSS, .htaccess and wdcfg.php
- Added standalone page to show large clouds of search terms.
- Added display of terms to the start of submission and update process which can be edited via the admin interface.
- Editors can now link listings into multiple categories.
- Reported links are now queued to the broken link area in the admin interface instead of sending and email for each. Only the first report for a link is accepted.
- Sitemaps changed to use the protocol as described at http://www.sitemaps.org/
- Sitemaps now contain last modified date information.
- Yahoo, Google and Ask.com are now pinged once the sitemaps have been rebuilt.
- Listing rank can now be set during review.
- Event and extension system added to allow easy expansion of the script functionality.
- Payment notifications from 3rd party gateways now returns via lib/paygateway.php allowing for new gateways to be added as extensions.
- Welcome text can now be edited via the admin interface and is displayed as {$welcomeText} within the template t!wdviewhome.html
- Category suggestions are now queued within the admin interface.
- All hidden links in the directory can be viewed on a single page.
- Added support for article pages within categories, uses new template t!wdarticle.html.
- Submissions can be deleted from the review queue without having to first view all their information.
- Added interface to allow remote publication of HTML within directory listings e.g. press releases.
- If defined WDFULLDESCLENGTH now controls the number of characters allowed in the full description.
- Added live news feeds, listed sites can push a short news article for publication within the directory.
Changes for V3.8.7
- Added support for sending email by SMTP or mail command.
- Fixed issue where an unknown encoding could cause an error to be shown during submission.
- Added checks for parked domains.
- Changed data being passed to 2Checkout to supply optional parameters that are being flagged as missing.
- Added option to disable ordering by rank.
- Added option to bid for position in place of voting.
- Added new template tag, {$!file.php}, to include an external file into the cached page, {$#file.php} continues to include an external file within caching it.
- Added per category RSS feeds of the latest listings.
Changes for V3.8.6
- Added bulk discard option.
- Corrected an issue where voting on a listing would not update the results in the category list immediately.
- Changed input verifier to allow support for map references.
- Added optional human operator test for broken link reporting and category suggestions.
define('WDUSEVERIFICATIONQ', 1); needs to be defined in wdcfg.php and the templates t!wdreport.html and t!wdsuggestcat.html need to be updated with the extra fields. - Improved support for Windows hosts.
Changes for V3.8.5
- If the file extsitemap.txt is present in the directory root then each line is treated as a URL to add to the sitemap.
- Added option to use boolean search on the public interface by defining WDSEARCHBOOLEAN in wdcfg.php
- Fixed problem with mod_rewrite modes 3 and 4 not correctly verifying the paths to detail pages.
Changes for V3.8.4
- Changed category cloning function to attempt to not duplicate existing categories in the target category.
- Changed submission sequencing code.
- Changed category description to display only on the 1st page of a multiple page category to avoid duplicate content.
- Fixed bug in ad renewal code.
Changes for V3.8.3
- Fixed a bug affecting all version of 3.8.x where cloning categories could result in non-functional clones.
Changes for V3.8.2
- Added the ability to specify banned words in the file badwords.txt, if found in the submissions title or description the submissions will not be allowed. Requires the submission filter be enabled.
- Corrected error when using csvconvert.php
Changes for V3.8.1
- Fixed a warning on creating category links
- Changed search function to try to improve relevancy of returned results.
- WDTOPLINKS Can now be set to the number of additional category groups you require, e.g. 2 will be the main group plus 2 additional groups.
- Updated Google sitemap generator.
Changes for V3.8.0
- Improvements to sitemap generation for categories spanning multiple pages.
- Code restructured to improve performance of the script.
- Added the ability to select a template on a per category basis, detail pages inherit their categories template variation.
- Corrected an issue that could, depending on the email address block list in use, stop some people reporting broken links.
- Added callout option for verification of email addresses provided with submissions, see WDEMAILCALLOUTS in wdcfg.php
- Added option to display the listings rejected in the last 24 hour period, see WDREJECTLIST in wdcfg.php
- Added support for NOCHEX payment gateway.
- Added the ability to view a domains whois record while reviewing its submission.
- Extended the time the script will try to access a site for before declaring the site is offline.
Changes for V3.7.2
- Improved handling of 2Checkout payment notifications.
Changes for V3.7.1
- Added mode 4 for mod_rewrite which shortens the detail page urls to the form detail,123456.html
- Minor bug fix for manual payment authorisation not working on some installations.
- Added WDURLREPLACEMENT option to wdcfg.php which if defined sets the replacement character to use in URLs
Changes for V3.7.0
- Added ability to specify the keyword string for categories.
- When WDMODREWRITE is set to 3 the folder names used for categories can now be manually set.
- Improved the category suggestion system to offer the visitor possible choices from existing categories.
- Added suggestions for incorrectly spelled words entered as a search term, requires pspell be installed and properly configured on the server.
- The length of the description can now be controlled by the WDDESCLENGTH configuration parameter, the templates t!wdadd.html and t!wdmod.html were changed slightly to accommodate this.
- Added support for HTML acceptance and rejection emails, the template is t!acceptrejmail.html.
- Added support for UTF-8.
- Added RSS 2.0 feed of last items added to the directory, feeds/rss.php generates the feed and WDFEEDDESC holds the description of the feed.
- Display of category counts can be disabled by adding defined('NOCATCOUNT', 1); to wdcfg.php
- Added ability to import Free Biz Directory script databases, install/dsconvert.php.
- Added example script to load categories and listings from CSV files, install/csvconvert.php.
- Added option of WDCATCOLSHOME to wdcfg.php if defined it controls the number of category columns on the home page.
- Added option to add an email address to the ban list during submission review.
- Improved cleaning of failed payments for listings.
- Changed manual payment authorisation page to show all listings pending payment and allow for block authorise or discard.
- Added option to ban domain names either permanently or based on 3 rejections temporarily for 1 year.
- JavaScript added to administration interface to open links to sites in a new, if JavaScript disabled sites will continue to open in the existing window.
- Option, WDNOVOTEORDER, added to wdcfg.php where if defined listings won't be ordered by visitors votes.
- Added an optional template page to be used when returning 404 errors. t!wd404.html is used if present otherwise the directory home page is drawn.
- Added automatic generation of Yahoo and Google site map files, sitemap.gz and sitemapindex.xml respectively. Generation of these files occurs during the daily directory clean up process.
- Category suggestions now honour banned email addresses and domains.
Changes for V3.6.1
- Fixed issue where listings could not always be forwarded from the review queue.
Changes for V3.6.0
- Updated validate.js to fix up some characters pasted from Microsoft Word.
- Added a 3rd mod_rewrite mode that create virtual folders into which the pages are stored.
- Changed the page selection for large search results to be more user friendly.
- Updates to submission filter.
- Added the ability to manually enter invoice numbers to authorise payments for cases where PayPal or 2CO notifications are lost or delayed.
- Included category and listing URLs in the acceptance email.
Changes for V3.5.3
- Fixed issue where with WDMODREWRITE set to 2 could cause file names like a_-_-_b.html, this will now be created as a_b.html
- Allowed URLs to contain the + character
- Fixed problem when auto deleting listings of the renewal of free listing sometimes asking for the owner to pay a fee of 0.00
- Added rate limiting of renew emails through the configuration options WDEMAILWAIT and WDEMAILBLOCKSIZE
Changes for V3.5.2
- Changed some CURL parameters for updates in the library.
- Added the configuration option WDNOCURL which if defined stops the script using CURL and instead uses sockets.
- Increased minimum description length to 10 words.
- Fixed bug affecting standard submissions/updates not having their expire times updated, this is only a problem when deleting submissions on expire.
Changes for V3.5.1
- Internal release.
Changes for V3.5.0
- Added ability to move a listing that is under review without loosing editor lock on it.
- When reviewing a submission the next 20 submissions from the same email address are also displayed.
- Reviewers can lock multiple review items at once, the reviewer can unlock some or all the locked listings. Listings are automatically unlocked after 4 hours.
- >Added listing search from within the admin interface.
- Added a rate limit for submissions from any given IP address, WDIPDELAY controls the minimum delay between submissions from an IP address in minutes, or 0 to disable.
- >Added a second block of category description text as {$description2}
- Added ability for admin to block individual email addresses or whole domains from submitting.
- Added ability to use an IP to country database such as www.ip2location.com, www.maxmind.com or software77.net/cgi-bin/ip-country/geo-ip.pl to ban submissions by country or limit submissions so that the submitter or web host must be in an accepted country.
- Added ability to disabled free submissions from the control panel, existing sites require a small modification to the template file t!wdadd.html
Changes for V3.4.8
- Added a filtering system to analyse the submission title and description for different characteristics and refuse to allow the submission to proceed if the text fails the filter. Can be disabled be defining WDNOSUBMISSIONFILTER.
Changes for V3.4.7
- Fixed issue with some servers returning the wrong path data.
Version V3.4.6
- Added ability to delete listings when they expire. In this mode users are sent to a renew page, and charged the SUBMISSION PRICE NOT the update price!
For existing installs choosing to use this t!wdrenew.html needs updating. - Fixed issue where external files pulled into the template with {$#file.php} or {$#html.php} were cached and not reloaded on each view.
- Added forced reciprocal link submission with optional auto checking. See WDWITHRECIPROCAL in wdcfg.php. For existing installs t!wdadd.html and t!wdmod.html need updating.
Version V3.4.5
- Fixed issue where checking a site is live during submit sometimes incorrectly reported the site as offline.
Version V3.4.4
- Fixed bug in submission of sites with titles that contained a '/' character showing an error.
Version V3.4.3
- Added a link from the categories in the admin interface to the corresponding public category.
- Fixed typo in template files t!wdadd.html and t!wdmod.html which caused the preview title to be a link
- Updated to work with PHP5
Version V3.4.2
- Can now rotate all listings onto the home page, by setting WDFEATURE to 2 in wdcfg.php
- Improved site detection during submission.
- Added option to disable automatic filling of site submission information from site meta data, by adding define('WDNOAUTOFILL', 1); to wdcfg.php
Version V3.4.1
- Fixed validate.js not accepting underscore characters on Mac computers.
- Fixed bug that could cause some servers to refuse to accept completed payment notifications from PayPal as being valid.
- Other minor code clean up.
Version 3.4
- TAX_Number__txt_max50 can be used instead of the field name Vat_Number__txt_max50
- Fixed bug where Express + Reciprocal that has been deranked didn’t always return to Express + Reciprocal after renewal.
- Added support for alphabetical category index, requires t!wdidx.html template and <ul class="alphaIdx">{$alphaIdx}</ul> added to t!wdviewhome.html
- Added a page cache to reduce database queries, can be disabled by adding define('WDNOCACHE', 1); to wdcfg.php.
- Improved meta data reader:
- Multiple spaces are removed.
- Keywords are forced to lower case and attempts are made to format them as a comma space separated list.
- Where the page title matches the start of the description both are returned as blank to force the submitter to type both in the hope that the entered information will be more meaningful.
- Added the ability to preview basic listing information, requires t!wdmod.html and t!wdadd.html to be updated.
- If define('WDTOPCATSON', 1); is in the wdcfg.php file then a list of the top level categories is available as <ul>{$topCatList}</ul>
Version 3.3
- Banners now shown during submission, category suggestions, modifications and broken link reporting.
- Detail pages now use the short description for meta description instead of listing title.
- Fixed paid listings when URL is optional, not always appearing as paid.
- Country now shown on invoices.
- Added option to use category/title names as part of the page name including ending in .html, WDMODREWRITE = 2.
- Added ability to send listings to remote directories, including automatic forwarding on submission.
- Added ability to have free + paid submit or paid + paid or free only or paid only submissions.
- Extended functionality of admin interface to reduce the need to edit wdcfg.php.
- Added a requirement of a minimum 3 characters before categories with matching names show.
- Added support for directory wide sponsors.
- Added payment renewal for sponsors and ads, new template page t!wdrenew.html.
- Added additional 2 banner groups, existing templates require {$bannerAd1} and {$bannerAd2} to be added to templates that currently have {$bannerAd} in them.
- Added ability to set banner groups to show all ads in group or rotate banners.
- Payment values can be controlled from the admin interface.
- Fixed http:// redirecting to https:// not always allowing submission.
- Changed search to only show some of the categories that match the search term with the option of viewing the rest.
- Payment return page can be set by defining WDPAYDONEPAGE with the full URL of the page to return to.
- Modification fees are controlled independently to submission fees.
- <!--@showDisabled-->{$disabledText}<!--/showDisabled--> on the t!wdadd.html and t!wdmod.html templates are now replaced with a message when submission is disabled.
Version 3.2
- When WDCURCATNAMESEP defined category page titles & heading {$curCatName} show parent cat name + current category name.
- Fixed problem where the review counts of an editor could not always be cleared.
- Fixed HTML encoded symbols appearing in reviewer's comments.
- Paid submissions are now highlighted in the admin interface.
- Added JavaScript to confirm deletion of categories, entries and ads.
- Added ability to stop listings in some categories rotating to home page.
- Improved performance of large review queues.
- Page 1 of search results now shows a list of categories that match the search term, if any.
- Tightened up checking of duplicate site submissions.
- Added option of submission of detail information on paid submissions and paid modifications only.
Version 3.1
- WDLINKTGT can be defined so that link checker can look for links to this address instead of the directories domain WDDOMAIN.
Version 3.0
- Added global ads these are rotated randomly, but can be overridden by category specific ads.
- Multiple category specific ads per category, these are rotated in a random order.
- Added reciprocal link checking.
- Date listing added is now shown in the admin area.
- Categories can be grouped into Main and Secondary groups within a parent category these are then show separately to the visitor.
- Listing passwords can be reset by entering the email address used for submission as the password when modifying a listing.
- Pending reviews can be bumped from their position in the review queue to a lower position.
- The default thumbnail for listings can be overridden by placing a file call wddefpic.jpg into the uploads folder.
- Added ability to clone the category structure from one area of the directory to another.
- Added support for taking payment via 2Checkout.
- Added support for tracking the number of reviews performed by an editor.
- Added number of pending reviews and waiting times to submission and modification pages.
Version 2.1
- Added locking of review items to an editor to stop multiple editors reviewing the same listing at the same time.
- Added a version of the dead link checker that can be run from Admin panel.
- Optimised admin interface database calls.
Version 2.0
- A different CSS style to be applied to each entry rating along with a text label, see WDCLS_ETYPE* and WDHIGHTXT* in wdcfg.php for more information.
- Updated [b] and [i] tags to generate the emphasise tags <strong> and <em>.
- Added [bb] and [ii] tags to generate the styling tags <b> and <i>.
- Added superscript tag [sup] and subscript tag [sub].
- Added [ ] to insert characters.
- Improved authentication routines to use only cookies rather than sessions.
- Configuration item WDCOOKIEPREFIX added to allow a prefix to be set for cookies so that multiple directories can be run per domain.
- Improved speed of directory engine.
- Added support for mod_rewrite.
- Improved meta data reader used for reading title, description and keywords from submitted sites, as well as testing their existence.
- Added dead link checker script 'admin/linkchk.php' which can be run from the command line or cron job.
- Votes limited to once in a 24 hour period.
- Express listings can be set to be displayed on the front page, a single listing is picked at random.
- Other minor updates and documentation corrections.
Version 1.1
The first official release 14-August-2004.
