HISTORY: 2.7 - 09.11.2008 - fixed basic shop product page to look like premium shop product page (for now) - fixed add <[morecolors]> and <[teaser]> tags to defaults - fixed change default thumbnail size to 150 x 150 - distributed cache folders - blocked dynamic direct linking by default for new installs - added ignore list for stats - fixed default value for cart popup -> same window - fixed default to previous and next links off, with previous & next text boxes hidden when "off" - fixed hooks only working on first page view with output cache enabled - made cpshop.cgi link in cpadmin open in new tab/window - added cpshop-pagelinks class to page numbers to allow styling - added marty.net search box to cpadmin - added cpfilter_sort:storeidrev - add option to ignore popular bots (msnbot, googlebot, slurp, lwp/trivial, etc.) 2.6 - 08.16.2007 - improved affiliate add-to-cart click to better comply with CJ policies - added product type blocking across full installation - added CJ impression pixel - added link and page options to store ID entries (CMS functionality) - added homepage formatting cell template - added option to disable hopeful redirects of legacy links, go to URL or show 404 - added redirect URL wildcard mask support to aliases - added cache file name to page output - added thumbnail greeting for pages with designs only, pages with products only, and pages with both - added confirm dialog for "clear this entry" button - fixed SID support for CJ affiliate tracking - fixed "sorry, down for maintenance" message when local.ip file not yet generated - fixed return false() in link - fixed Jean's problem with + being turned into %20 - fixed sidebar checked moving up and down with other fields - fixed "Size" language code - fixed intermittent maintenance message - fixed multi-page SEO breadcrumb issue - fixed cjpid cookie surviving cpadmin save - fixed cache time dropdown not selecting the correct value - fixed thumbnail page message appearing on homepage - fixed <[pagetitle]> template tag not working - fixed bad template tags not being removed automatically - fixed empty tags when font attributes left empty - fixed conflicting
2.5 - 05.21.2007 - support for CafePress Affiliate Program powered by Commission Junction - optional SEOing of links with designated code/encoded title text - convert product thumbnail grid to optional non-table - added support for arbitrary text in cpshop.cgi.sortorder.txt (think CafeWish without all the bells and whistles) - configurable breadcrumb separators - fixed very large stores sometimes suffered file contention while loading data from CafePress - fixed homepage sometimes-missing tag (occurred with multiple store IDs set to display in rows) - fixed product page hooks requiring store ID in filename - fixed hooks not working correctly in thumbnail grid - fixed hooks not cascading correctly at the product level - fixed cpadmin didn't expand Store IDs section when header link clicked - fixed $producttypeno not set when processing cached product detail pages - added cpadmin Store ID explanations for alias, keywords, etc. - fixed now loading should not show up for product pages - fixed add to cart buttons in basic shops showing up differently than those from premium shops - fixed add to cart pop-up code not working in basic shop product pages - fixed product page corners showing up on basic shop product pages - fixed wrong template used with cpoutput + cpfilter_template + product/thumbnail page template - improved cpshop's cache time support (to make sure CafePress doesn't start blocking cpshop!) 2.4 - 02.14.2007 - updated product image URLs - added cpfilter_type support for negative type filtering (e.g. cpfilter_type:-100) - added <[morecolors]> product thumbnail template tag to display "more colors available" graphic where necessary - added cpshop.cgi.nocolors file to disable <[morecolors]> tag on a per-product basis - added <[linksrc]> thumbnail template tag - fixed many bugs (bad color swatch links; one product missing from each store; Windows server cpadmin bug; broken convert currency link; front and back bug) 2.3 - 10.19.2006 - added hooks feature, allowing page-specific include support - added cpfilter_sort:random - added support for predefined product type number sorting list with both "preset" and "presetrandom" modes - added <[productno]> tag - added support for optional and customizable "now loading" screen - updated code to support stores with more than 20,000 products - fixed hidden sections appearing in sidebar - fixed "page 1 link" pagination issue - improved memory management to aid support of giant stores 2.1 - 02.07.2006 - fixes product page formatting change at CafePress - fixed affiliate pid doubling under some circumstances - re-added dynamic direct linking of stores, sections and products - added output-caching support via cpoutput folder: caches full pages, to dramatically speed up output and decrease CPU usage - updated cpadmin with collapsible interface - added cpfilter_inherit to cause filters to trickle down throughout subsections - added cpfilter_killsection:[section number to be hidden] to prevent a particular subsection from appearing (for subsections below top level, should be used with cpfilter_inherit) - added cpfilter_literal, which allows entering premium section IDs for exact display (instead of sub-integration); for more info see the filters page - added cpfilter_type to filter by product type number - added product thumbnail grid tags: <[producttypeno]> <[parentsectionno]> - the section no in which the product resides <[productstoreid]> - actual store ID of the product <[alias]> - the alias of the current store ID entry - added section thumbnail grid tags: <[parentsectionno]> - the section no in which the current section resides <[productstoreid]> - actual store ID of the section <[alias]> - the alias of the current store ID entry - improved error messaging for incorrect template entries - added self-cleaning cpbackup routine - added checkbox to keep individual store ID entries from appearing in the sidebar - added pagination for homepage store ID entries - increased support for installs with many, many store IDs - completely rewrote data gathering and storage system - added wildcard field descriptions (by popular demand) - added "expand" option to display subsections in sidebar only when area is active - improved legacy URL backwards-compatibility - added box to clear fields for store entry in cpadmin.cgi - affiliate cookies now work with cpshop redirects 2.0 - 09.27.2005 - much faster, more efficient data retrieval (especially with giant filters) - now supports CafePress Affiliate PIDs & TIDs - optionally accepts PIDs and TIDs through the URL (to support other affiliates) - supports storeid/sectionno as well as storeid.sectionno - storeid/all syntax to represent all products in a store - cleaner URLs for all (no more URL mess) - <[productname]> fixed - re-added <[producttext]> (product description) restored - added <[sidebar]> (sidebar menu) tag - fixed direct printing popup - fixed "Tell a Friend" toggle - supports thumbnail URLs for each store ID entry - supports premium shop section descriptions - minor breadcrumb consistency issues fixed - moved "empty cache now" box to top of admin screen 1.5 - 04.20.2005 - Updated to support CafePress redesign - added cpfilter_columns to force number of columns - added cpfilter_rowsperpage to force number of rows per page - added support for price ranges with multiple cpfilter_cost filters (e.g. cpfilter_cost:10.00~,cpfilter_cost:~20.00) - added 4 more Wildcard ID fields - added error page URL (for CafePress server issues) - added overriding style sheet field - replaced most embedded styles with classes - sections are now always sorted first, regardless of filters 1.4e - 08.15.2004 - Updated to support CafeShops/CafePress merger 1.4d - 12.19.2002 - fixed CafePress changes - added premium shops mirroring - added support for remote templates - began preparation for next major version 1.4c - 10.02.2002 - fixed CafePress changes - added cpshop instance selector to admin screen - added simple zoom-in popup option - added <[alias]> tag - fixed 2x2 additional product photos change - added backup code for servers misreporting LWP access - fixed IO::Socket setup for HTTP/1.1 1.4b - 09.04.2002 - fixed CafePress changes - fixed minor bugs - added horizontal homepage ordering option (1.4b.a) 1.4a - 08.14.2002 - fixed CafePress changes - fixed multiple templates/Windows bug - fixed missing thumbnail sorting option 1.4 - 08.07.2002 - added "View Stats" link to admin screen - added support for multiple premier shops - added support for storefronts with over 24 store IDs - added Wildcard option for commonly-used store IDs - added .lib file version numbers to cpshop admin screen - improved store ID ordering system - added option to open credit/referral links in new window - added option to show product front and back simultaneously - fixed log format to support multiple installations of cpshop - fixed shopping cart multiple-instance bug - fixed price conversion links - fixed zoomed-in page number bug - added focus to admin password form 1.3d - 07.17.2002 - completely rewrote page-parser for CafeShops.com - added maintenance switch - (1.3d.a) fixed additional CafePress changes - (1.3d.b) more bug fixes 1.3c - 07.11.2002 - fixed CafePress "sale price" changes - fixed currency converter bug - removed unnecessary code_* variables from config file 1.3b - 06.18.2002 - added language support (French & Spanish so far) - added store aliases - global image-swapping (through cpshop.cgi.images file) - support for command-line operation - added optional breadcrumb prefix link - added option to change color of product image box - changed file backup routine to 25 files - changed file backup code to File::Copy - added <[productname]> and <[storename]> template tags - fixed product page <[title]> flaw - fixed Product Information font face 1.3a - 06.04.2002 - added support for multiple page stores - added option to hide Additional Photos on product pages - added template filter - cpfilter_template:templates/filename.html (specifies template for individual store) - improved store name handling; now supports HTML for homepage menu links - minor bug fix (blank image rewrite on thumbnail page) 1.3 - 05.22.2002 - added cpfilters: name, cost, newest and sort override - added product thumbnail sorting - shortened URLs with storecrc variable - added currency converter link option - modularized cpadmin.cgi and added cplogin.lib file - fixed CafePress modifications 1.2e - 05.07.2002 - updated scripts to support Windows-based servers 1.2d - 05.02.2002 - added keyword and description meta tag support - fixed shopping cart option bug - changed referral CafePress store ID to Dummy Store ID - fixed path-info variable duplication bug 1.2c - 04.23.2002 - added <[cart]> template tag - improved linkbar layout and separation - leaving the Cart Link text blank now removes cart link from linkbar (the <[cart]> tag will link the text "View Cart") - fixed multiple ID store bugs - fixed CafePress code/javascript changes - added store columns setting to self-generated homepage 1.2b - 04.18.2002 - debugging info added - minor fixes 1.2a - 04.17.2002 (MAJOR UPDATE!) - added support for special product thumbnail page template and product page template (blank defaults to default template, duh) - added option to hide product information promotional text - added cache time setting to admin screen - added function to empty cache via admin screen - added external store ID flatfile database support - added option to display a store ID's caption text on all it's individual product pages - added <[storeid]> and <[productnumber]> template tags - options for pop-up windows to show toolbar, menubar, location bar, and status bar - moved store thumbnail pages to clean URLs (no ?s) [note: old URLs with the ? still work, and will continue to do so] - fixed Netscape 6 style errors - removed unnecessary line breaks if product and thumbnail page comment fields are left blank 1.2 - 04.13.2002 - updated page-parsing routines to match CafePress' new design - returned "hide" features that had mysteriously gone missing - re-corrected typo in cpadmin.cgi - removed description from thumbnail page (not currently available in new CafePress site design) - stayed up till 5am fixing everything. :) 1.1e - 04.05.2002 - added Marty.net Affiliate Code - fixed minor CafePress HTML change 1.1d - 04.01.2002 - added option to hide "zoom-in" link - added option to hide "email a friend" link 1.1c - 03.30.2002 - update for CafePress breadcrumb system 1.1b - 03.29.2002 - update for CafePress "email a friend" link - minor typo fix 1.1a - 03.27.2002 - corrected cpdata.lib and cppage.lib variable name flaws - implemented missing forward/back template tags - corrected month in history file :) 1.1 - 03.26.2002 - implemented new web-based admin program - moved variables to *.config file - better support for implementations with only one storefront - fix to CafePress multi-store referral link 1.0b - 03.24.2002 - setup MSIE iframe flaw workaround 1.0a - 03.22.2002 - added previous and next design links - added <[prev]>, <[prevname]>, <[next]> & <[nextname]> to HTMLtemplate tags - added ShowPrevNextLinks to StoreOptions - added prevlink and nextlink variables to StoreText 1.0 - 03.21.2002 - initial release.