What's New?
Here's information about the version releases, plus upgrade instructions.
Version 1.0.6 (12 Mar 2011)
- Changed function names and files to be all lowercase. Some systems are case-sensitive when 'including' files or calling functions, causing the program not to function properly.
- No changes to databases are required. To upgrade an existing installation, replace any file with a name of "CW_*.php" with the new file names "cw_*.php". Remove any "CW*.php" file on your host.
Version 1.0.5 (28 Jul 2010)
- The cellarwebads_create.sql file didn't have the changed structure to the adcamp table that was detailed in version 1.04. That file is correct in this version.
- The two new fields now have a length of 100 characters. If you have version 1.0.4, you can use this SQL command to add those two new fields, or do it manually.
- ALTER TABLE `adcamp` ADD `camplink` CHAR( 100 ) NOT NULL AFTER `client` ,
ADD `linktitle` CHAR( 100 ) NOT NULL AFTER `camplink`
- Known bugs and enhancements:
- There are some CSS issues with the menu box appearing in the wrong place (too low on the screen)
- The data entry screen for Ad Campaigns; new fields and their length
- The site name will include the full URL to the site's index page. Right now it just shows the domain name.
- A mailing list signup will be enabled to allow notifications of new versions. (We promise to keep the mailings to an absolute minimum; there will be no spam, nor will we disclose your email address to anyone else
Version 1.0.4 (11 Jun 2010)
- missing "delete" button is now included on the graphics delete function.
- added 'overflow:auto' to cw_column1 style in cwads_admin.css to fix table lists overwriting menu area.
- dropdown fields in various tables are now sorted alphabetically.
- changed the adcamp table to include two new fields .
- camplink - the link to use as the href of the ad
- linktitle - the title parameter of the href for the ad
- (these two values were extracted from the adgraphics table, but this change allows one graphic to be used with different links and titles)
- SQL statement to adjust the adcamp table is (if you want to manually change it)
- ALTER TABLE `adcamp` ADD `camplink` CHAR( 30 ) NOT NULL AFTER `client` ,
ADD `linktitle` CHAR( 50 ) NOT NULL AFTER `camplink`
- the above change required changes to the cw_place_ads.php file to use the values from the adcamp table rather than the adgraphic table to create the HREF parameters.
- changed the order of the menu items to match the order of entering data for new or existing ads (now rates, clients, graphics, campaigns, templates).
- changed files from version 1.0.3 (if upgrading, extract these files from the zip file and replace prior versions)
- cwads_admin.css
- \includes\cw_adsinclude.php
- \img\delete-green-0.png (no prior version of this file, it was missing)
- \cw_place_ads.php
- the 'adcamp' table has a structure change (see above)
- Important note: if you are upgrading from an existing/live installation, make sure that you edit all Ad Campaign records to add the link and title values that will be used in the HREF command that displays the ad. (The fields are still in the Graphics table for your reference.) Until you add the new data, modify the cw_place_ads.php starting at about line 158 and uncomment/comment the lines as shown. Use 1.0.3 code version until the adcamp data table is updated.)
Version 1.0.3 (29 May 2010)
- changed the admin program to show the current site being managed by CellarWebAds (just under the graphic) by using a session variable created in the cw_connect_db function.
- changed files from version 1.0.2 (if upgrading, extract these files from the zip file and replace prior versions):
- \cw_master_menu.php
- \includes\cw_connect_db.php (save a backup copy of your existing file first, as it contains your database connection information. Or, add the following just before the 'return' in the cw_connect_db() function (about line 24) in this file)
- $_SESSION['servername']=$_SERVER['SERVER_NAME'];
- \includes\cw_adsincludes.php
Version 1.0.2 (26 May 2010)
- added ability to display a specific template group, rather than a randomly selected template group.
- for a random template group, use this command
- <?php include("cwads/cw_place_ads.php"); ?>
- for a specific template group, set a session variable called "template", using these two commands (example shows selection of template group 3)
- <?php $_SESSION['template'] = 3; include("cwads/cw_place_ads.php"); ?>
- if the ad template group you specify with the session variable doesn't exist, no ads will be displayed.
- fine-tuning of the ad_display.css file
- minor change to the call to the css files in the cw_place_ads.php file
Version 1.0.1 (initial release -- 12 May 2010)
Upgrade Instructions
If you have a previous version of CellarWebAds, you can upgrade by replacing the files. Do not replace these files, as they contain the customized information for your web site:
- /includes/cw_connect_db.php - contains your database connection user/password
- /css/custom.css - contains your customized CSS code
- /adgraphics/*.* - contains the sample ad graphics, although you would not normally use these files
Of course, we recommend that you save a backup copy of your CellarWebAds files and database before you do an upgrade.
Thanks for using CellarWebAds - tell a friend about us!
The CellarWebAds team (
contact us)