If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
0.108a: June 23, 2007
- Excerpt addition in 0.108 broke the shopping cart code. This patched version of 0.108 fixes the shopping cart code.
0.108: June 21, 2007
- Link to show/hide post options in results list. This should make the list a tad more browseable only showing all the post fields/button when you expand the section out.
- Created JS folder for javascript function library
- Created CSS folder and started with some of the custom CSS.
- Coded description replacement. Now if you don’t like a description or a description is missing, you can write what you like for the description.
- Fixed problem with WordPress excerpts. Previously if a theme used excerpts for a page, the CafePost information was a jumbled mess. A function has been coded and added as a filter to the WordPress except function so whenever it is called, the new CafePost function is called and checks to see if the post is one of ours. If it has our custom field, it creates the excerpt on the fly just as we do with full posts.
- Added CSS-based menus to both the Manage menu where you do searches and the Config menu where you do configurations.
- In the new Options page menu, there is a temporary option for verify/update to execute a new branch of code can run against the database. What this does is goes through the posts database and looks for our little magic code that triggers our product lookup/display. When it finds the code in a post, it updates the post record to include a custom product number field and then takes the product number from our magic code and adds it to the field. Without that field being added to old records, excerpts and much of the planned reporting will ignore your old posts. New posts as of this version create that field when you click the Post button on the search pages.
0.107: June 15, 2007
- Fix for problem with pathing when WordPress is installed in a subfolder instead of the site root.
- Fix for problem with Add To Cart image path. Missed the hard-coded path value when I went through the code applying dynamic pathing changes.
- Added workaround coding to deal with an API bug which is taking too long to get fixed. The bug causes any search using AND, OR, or NOT to return blank results. Added workarounds for AND by using commas. You can also use spaces in the advanced search which will be interpreted as a phrase. This isn’t the best fix but will at least help things be semi-functional during the beta test until the API bug is squashed by CafePress.
- Added API key to the options configured under the myNicheShop Framework selection on the Options tab. Prior to 0.107 everything used my API key. Unfortunately there are limits to the numbers of queries that can be run in a certain amount of time. We were starting to hit that limit and I started seeing errors come in some of my own queries indicating I was over the limit. Under the field for the API key is a link to obtain your key from CafePress. You must be logged into your CafePress account to get through to the link.
- Reconfigured the link for purging the cache within the options page. Clicking the link will now delete all of the files within the cache folder. Previously it did the same as the nightly purge and deleted everything except for the current day’s files requiring folks to still have to go into the folder through their ftp access to their sites to purge the current day’s files if they were having issues. The change I made was the way it was intended to be from the start.
- Added code to each search result to allow for changing the WordPress category the product is to be posted to.
- Added code to each search result to allow selection between posting the product live(publish) or as a draft. Currently, publish is the default.
- Added code to each search result to allow changing of the timestamp assigned to the created post. This allows for pre-dating and back-dating of posts. Any posts made with a future date/time will not show up on the blog until that date/time.
- Added code to each search result to allow the author to post a review to be shown either above or below the product in the post.
- Added code to each search result to allow the author to change the product name which shows up in the post title.
- Added code to each search result to allow the author to change the product descriptions - entry field is there but back-end not finished yet (planned for 0.108)
- Changed code for products with no description from designer. Previously the text “No Description Available from Designer” was displayed. Changed to display the product caption given by the designer when no description has been entered.
0.106: June 3, 2007
- Implemented temporary error handling. Current error handling will alert the site visitor that an error has been encountered and email the WordPress site administrator when there are errors encountered in a post. This happens with each post. The email includes post title, post url, and error message. Other ways of error handling are being considered. The current is just an implementation to deal with the errors until the permanent error handling is developed.
- Implemented initial cache management. Upon load a schedule is set to perform cache maintenance daily which will remove any cache files prior to the current date. An email is sent out to the WordPress site administrator confirming maintenance has been completed and a log file entry is created. This is the first iteration of the cache management system and many updates are planned before release.
- Fixed an error message on initial run of the search. If a previous search has never been run, a message will be displayed in the results area to input search criteria within the searches.
- Added initial check to see if Commission Junction PID was input within the options panel. If not, instead of displaying search options, a message is displayed instructing admin to click the provided link and complete options panel configuration.
0.105: May 13, 2007
- Migrated config code previously hardcoded into myNicheShop: Framework into the CafePost code. This way Framework wont need to be updated if the options configuration needs to change. Options configuration still takes place within the Framework panel through calls to CafePost code.
- Added configuration option to allow site admin to open CafePost links in new browser window
- Added configuration option to set a default shopping cart shopid to template the shopping cart (setting this option is effected by a CafePress bug in which the Keep Shopping link specified seems to be ignored and the shopper is sent to the shop used to template the shopping cart when they press the Keep Shopping button)
- Added configuration option to set Commission Junction SID (affiliate specified tracking code)
- Reworked options and pulled them from myNicheShop: Framework. Created new options array specific to CafePost.
- Reworked advanced search to replace commas with OR, (&,+,space) with AND, and - with NOT. Reworked cache file naming to use _OR_, _AND_, and _NOT_ to eliminate punctuation and spaces from file names.
- Fixed an issue where pathing wasn’t working properly on subdomains where the admin allows the www. to be tagged on the front of them.
0.104: May 5, 2007
- Added shop search functionality to the search for products admin screen
- Added product search functinality to the search for products admin screen
- Began work on pagination of search results to allow for more than one page of results
- Fixed issues with cache file naming when more than one word is entered in the advanced query separated by commas.
- Functionalized many portions of the results list process. Many of these functions will be ported to the framework once the process is nailed down.
0.103: May 3, 2007
- Moved CafePost Products from WordPress Write sub-menu to the Manage sub-menu in site administrator
- Fixed the following search form functions:
- Product type - converted to a list of products to choose from - list pulled daily from CafePress Merchandise API and cached.
- Max Results - converted to an array to fix problem where the last chosen maxresults wasn’t the default in screen refreshes.
- Cleanup:
- Cleaned out a bunch of old code and eliminated some old un-needed code.
- Began work on making various functions involved in the display of the results list to accommodate reuse in prep for building shop and product searches
- Results caching - created cache structure for product list from CafePress’ merchandise API & working on revamping how advanced search caches will work to make space usage a bit more efficient.
0.102: April 30, 2007
- Added CafePost Products to WordPress Write submenu in site administrator
- Created page structure including the following:
- Side menu - currently with advanced search, product search, and shop search options (advanced only one currently active)
- Main page currently displays default advanced search results
- Future work will include database functions and cache purging options specific to CafePost plugin
- Advanced Search interface:
- Input keyword, product type, and select maximum results to display per page (1,5,10,20,30,40,50)
- Button at end of each product row to create posts
- Post created using product caption (artist + CafePress combined name) as title
- Future work include ‘Post All’ button, product type pulldown from merchandise API, pagination of results so more than one page may be viewed, convert Related Topics links into advanced search links, work on layout of results view.
- Results caching - system is now setup so it will only query the CafePress.com API server once per day for any given search. If you search for the same thing a second time, the system will process your search from the XML files stored in the plug-in cache folder. Future plans are to have tools built within the Framework module to manage cache folders of the various myNicheShop plug-ins.
0.101
- Added processing from CafePress Merchandise API to include product availability.
- Added code to display credits footer
- Reworked some of the code to support myNicheShop Framework plug-in which will centralize common functions and administration of all of the myNicheShop plug-ins and widgets
0.001 - Initial alpha release
- Commission Junction website PIDs are edited into the config.sys by the operator (eventually to be replaced via site administration menus)
- When post is viewed, a product thumbnail, the design thumbnail, description, and pricing information are queried and displayed directly from CafePress.com
- In cases where sizes or color options are involved, lists of available colors and sizes are also pulled from CafePress.com
- The product thumbnail is linked through a Commission Junction affiliate link to the product within the CafePress.com marketplace
- The design thumbnail is linked through a Commission Junction affiliate link to the designer’s shop section containing the product
- The Add to Cart image is part of a form which collects the product information and sends it through a Commission Junction affiliate link to the CafePress.com shopping cart where the Keep Shopping button is linked back to the sending WordPress site