phpAdsNew - ChangeLog

v 2.0beta5		+ Added override setting for automatic GD detection  (Niels)
			+ Added support for passing ISMAP click location  (Niels)
			+ Added banner invocation code generator  (Niels)
			+ Clients can now deactivate their own banners if permitted  (Niels thanks to Shannon Johnston)
			+ Clients can now activate their own banners if permitted  (Niels thanks to Shannon Johnston)
			+ Added cookie check for Admin interface login  (Niels)
			+ Added to ability to override the banner width and height 
 			  if the banner is stored in MySQL or on the webserver  (Niels)

			+ Changes to the database library
			  - Replaced mysql_db_query with mysql_query  (Niels)
			  - Always use the mysql link resource parameter  (Niels)
			  - Database will be closed when using non-persistant connections  (Niels)

			+ Clients / Campaigns
			  - Weight based sequential banner retrieval now also takes
			    campaign weight into account  (Niels)
			  - Campaign weight was not substracted when ACL failed  (Niels)
			  - Fixed clientid selection bug  (Niels)

			+ PHP3 support
			  - Replaced variable references for PHP3 support  (Niels)
			  - Removed array_pop function for PHP 3 support  (Niels)
			  - Changed {random} regexp for PHP 3 support  (Niels)
				
			+ Misc bugfixes for beta4
			  - Changed dhtml detection for Opera   (Niels)
			  - Fixed some HTML for better compatibility with Mozilla  (Niels)
			  - HTML banner preview popup fixed if banner is disabled  (Niels)
			  - Fixed JavaScript error in client-edit.php  (Niels)
			  - Function call-time pass-by-reference removed, 
			    will be deprecated in future versions of PHP  (Niels)
			  - Removed spaces after ?> in phpadsnew.inc.php (Thanks to Anonymous :-)
			  - Made standard CTR calculation respect decimal settings  (Niels)
			  - stats-index.php and stats-campaign now use standard CTR calculation  (Niels)
			  - Changed default decimal setting to 2  (Niels)
			  - Changed default email headers to include the admins full name  (Niels)
			  - Expiration date calculation fixed (Niels, thanks to Matt)
			  


v 2.0beta4		+ Updated GUI including a new logo  (Niels)
			+ Added support for campaigns  (Niels)
			+ New layout for detailed stats page  (Niels)
			+ Added banner selection by the width property  (Niels)
			+ Added wildcard recognition for ignored hosts  (Matteo)
			+ Added duplicate check for usernames  (Niels)

			+ Webserver stored banners
			  - Bugfixes for CURL and fopen wrappers storage  (Niels)
			  - Added CURL support for webserver stored banners  (Matteo)
			  - Added fopen wrapper support for webserver stored banners  (Matteo)
			  - Webserver stored banners are now deleted when
			    the banner, campaign or client is deleted  (Niels)

			+ Reports Plugins
			  - Added campaign overview report plugin  (Niels)
			  - Added campaign history report plugin  (Niels)
			  - Added support for report plugins  (Niels)

			+ Banner invocation
			  - Added support for iframes  (Niels)
		 	  - Added support for rotating banners in an iframe  (Niels)
			  - Renamed phpads.php, remotehtmlview.php and click.php to
			    adview.php, adjs.php and adclick.php. The old files are still
			    available for backwards-compatibility  (Niels)
			  - Merged click.php and htmlclick.php in one file  (Niels)
			  - Merged viewbanner.php and phpads.php in one file  (Niels)
			  - HTML banners are automatically disabled for remote invocation  (Niels)

			+ Automatic maintenance / mailed reports
			  - Replaced mail.php with maintenance.php  (Niels)
			  - Changed formatting of mailed reports  (Niels)
			  - Mailed reports can be turned on/off through the admin interface  (Niels)
			  - Interval of mailed reports can be configured through the admin interface  (Niels)
			  - Mailed reports now remember the last date they were sent, so 
			    duplicate reports won't be sent  (Niels)
			  - Expiration warning reports can now be translated  (Niels)
			  - Expiration reports can be turned on/off through the admin interface  (Niels)
			  - Expiration report formatting changed  (Niels)
			  - Expiration during banner invocation now also sents an report email  (Niels)
			  - Expiration criteria during banner invocation changed  (Niels)
			
			+ HTML banners variables
			  - Added support for {targeturl:...}  (Niels)
			  - Added support for {referer}  (Niels)

			+ Language files
			  - Updated Italian language files  (Matteo)
			  - Added Romanian language files  (Tudor Barbarosie)
			  - Updated German language files  (Ren Friedrich)
			  - Updated Russian language files  (Michael Bravo)
			  - Updated Dutch language files  (Niels)
			
			+ Misc bugfixes
			  - Expiration date calculation rewritten  (Niels)
                          - Hostname logging works again when $phpAds_reverse_lookup 
			    is not set and server provides hostname  (Matteo) 
			  - GD detection should work again for PHP3  (Niels)
			
			+ Misc bugfixes for beta3
			  - Default banner type was always selected even if editing a banner (Matteo)
			  - Client language settings are now checked if it is empty  (Niels)
			  - Source parameter works again with remote invocation  (Alain Fontaine)
			  - {targeturl} was urlencoded  (Niels)
			  - Context parameter works again  (Martin Klerx) 
			  - Stats conversion should work again  (Niels)
			  - Client language settings case problem fixed  (Niels)


v 2.0beta3		+ Added support for Flash variables (Niels)
			+ Added support for timestamp variable (Niels)
			+ Added support for single quotes in HTML banners (Niels)
			+ ACL checking can be disabled in the configuration file (Niels)
			+ Updated Italian language files (Luca Pescatore)
			+ Misc bugfixes for beta2 
			  - sequential banner retrieval works again (Niels)
			  - stripslashes added for HTML banners (Niels)
			  - Misc. E_ALL warnings fixed (Niels)
			  - Charset for russian-cp1251 language files fixed (Niels)
			  - Default banner with remote invocation fixed
			  - JavaScript error when certain banner types were disabled (Niels)
			  - Check for empty username/password (Niels)
			  - MySQL banner was always shown even if disabled (Niels)

v 2.0beta2		+ Added support for banners stored on the webserver (Niels)
			+ Added client weight (Niels)
			+ Added activation and expiration date (Niels)
			+ Added conversion tool for verbose->compact statistics (Niels)
			+ Added mailed reports in client language (Niels)
			+ Bugfix: Fixed E_ALL warnings (Niels, thanks to Vivian Girel)
			+ Bugfix: Quotes are now allowed in HTML banners (Niels)
			+ Bugfix: Empty strings in mail.php fixed (Niels)
			+ Bugfix: Deactivation bug fixed in mail.php (Niels)
			+ Misc bugfixes for beta1

v 2.0beta1		+ Added a new User Interface (Niels)
			+ Added new documentation (Niels)
			+ Added cache buster support for banners refered through URL (Niels)
			+ Added configurable default banner to display when an error occurs or when 
			  there are no banners to display at all (Niels)
			+ Added global weekly stats (Niels)
			+ Additional translations (Niels, thanks to Hugo Gomez, Michael Bravo, Alain Fontaine and others)
			+ Moved client settings error messages to language files (Niels thanks to regiepub)
			+ Client preferences can be disabled by the admin (Niels)
			+ Clients can select their own language, if permitted by the admin (Niels)
			+ Complete new authorisation library, including client permissions (Niels)
			+ Added an html header and footer (Cedric)
			+ Added the preferences for client (Cedric)
			+ Added two extra banner retrieval methods (Niels)
			+ Added the no stats for this banner message in the client stats (Cedric)
			+ Translate No expiration date set also (Cedric)
			+ Bugfix: Ignore_hosts now works on both names and adresses (Niels)
			+ Bugfix: empty what argument now works correctly agin (Niels)
			+ Bugfix: made some database queries atomic in order to make logging more stable (Niels)
			+ Bugfix: deactivating banners when AdView limit is reached now works again (Niels)
			+ Bugfix: global not set in weeklystats (Cedric)
			+ Bugfix: repeat the %CTR in weeklystats view (average/total) (Cedric)
			+ Bugfix: ClientDelete didn't delete banners and stats (Cedric)
			+ Bugfix: Home wasn't translated in the client view (Cedric)
			+ Bugfix: weekly stats didn't work correctly with multiple banners client (Cedric thanks to Niels)
			+ Bugfix: removed "Reset Statistics" button from the client interface (Niels)




v 1.9.2 - 08/03/2001	+ Removed config2.inc.php (Phil)
			+ Bugfix: removed hourly graph for compact statistics (Niels)
			+ Bugfix: client statistics is working again, no more SQL errors (Niels)
			+ Bugfix: improved detection of GD availability for PHP4 (Niels)
			+ Bugfix: removed GD dependancy for weekly stats, no more broken image (Niels)
			+ Bugfix: removed PHP4 dependancy for Remove invocation with Javascript (Niels)
			+ Bugfix: implemented workaround for IE bug in the admin pages (Niels)
			+ Bugfix: sequential banner retrieval did not work (Niels)
			+ Bugfix: target was not recognized (Niels)
			+ Bugfix: client ID, was reset to 0 (Niels)
			+ Bugfix: Detailed statistics were empty after adding an ACL to a banner (Niels)
			+ Bugfix: SQL error after resetting statistics (Niels, Phil)
			+ Bugfix: bad include path (Phil)
			+ Bugfix: mail.php disable wrong clients (Cedric)
			+ Translate french version (Cedric)

v 1.9.1 - 02/03/2001    + BugFix: typo in dailystats.inc.php (Phil)
			+ Bugfix: "when" is a reserved word in mysql?  Who knew?  (Phil)
			+ Fix for PHP3 compatibility in expiration.inc.php (Phil, others)

v 1.9.0 - 01/03/2001    + Several bugfixes (Phil)
                        + Changed banneradd.php layout for IE ONLY (with javascript and <DIV>s) (Phil)
                        + Added db_query() function to assist debugging mysql errors
                        + Added description field in the database for future use (Phil)
                        + Fixed some language text bugs
                        + Added/corrected some ACL help text (Phil)
                        + Fixed ACL DOMAIN FILTER bug (Phil, others)
                        + Added ACL "*" feature for default DENY (Phil)
                        + Added persistent connections OPTION (Phil)
                        + Fixed gd.php to determine graphics capabilities for php 4.04 (Niels Leenheer)
                        + Div by zero error in expiration.inc.php (Phil)
                        + New compact statistics database format (Phil)
                        + Multipart "what" syntax for view() function (Niels Leenheer)
                        + German/Dutch/Flemish language file fixes (silicon, Niels)
                        + Bugfix: Javascript remotehtmlview bugs with newlines, squotes, etc. (Phil)
                        + Added view_raw() function (Niels)
                        + Rewrote weighting system for efficiency (Phil)

v 1.8.1 - 01/02/2001	+ Added Login as a string (Fabian Rodriguez and me)
			+ Bugfix: parse error in mail.php (me)
			+ Bugfix: division by 0 in stats.inc.php (Phil)
			+ All language files now have a seperate directory (me)
			+ Added customizable colours to config.inc.php (me)
			+ Update color schemes in weeklystats.html.php (me)
			+ Increased mail.php speed (Martin Braun)
			+ Small change to Documentation.html explaining problems with login (me)
			+ Bugfix: banners no longer deactivated from mail.php when not needed (Martin Braun)
			+ Bugfix: several fixes in expiration and weeklystats (Martin Braun)
			+ Updated banner acl screen (Martin Braun)
			+ Added language files with help for banner acl (Martin Braun)
			+ New lines are automatically removed from html code in remotehtmlview.php (me)
			+ Bugfix: creditstats now shows html banners correctly (me)

v 1.8.0 - 06/01/2001	+ Added expiration stats on credit stats and client stats (Martin Braun)
                        + Added weekly stats - needs serious optimizing (Martin Braun)
                        + Added anti-cache feature (Martin Braun)
			+ All files have new indents to make viewing and developing easier. Read DEVELOPERS for more info.
			+ sphourly.php changed to reflect changes in weeklystats (Martin Braun)
			+ Updated documentation.html with explanation about remotehtmlview (me)
			+ Bugfix: kcsm.php had 2 quotes missing and 1 too many (me)
			+ Bugfix: client.php now has client-side JavaScript to detect bad entries in views/clicks/daysleft (me)
			+ Bugfix: mail.php doesn't deactive clients anymore (sypplie)
			+ Bugfix: Authentication required for detailstats now. (me)
			+ Bugfix: forgot banner in creditstats.php. HTML-banners will show now. (me)
                        + Bugfix: several smaller bugs fixed.

v 1.7.1 - 18/12/2000    + Bugfix: login box only appears once now

v 1.7.0 - 17/12/2000    + Fixed a problem for Windows users with banneradd.php
                        + GIF/PNG support automatically detected (first contribution of Phil)
                        + Clients now have logout function
                        + When logging in, user is first logged out
                        + Added remote HTML banners through JavaScript
                        + Credit Statistics now sorted by letter. 1 screen per letter.
                        + Bugfix: Previous is now shown in the creditstats screen
                        + Bugfix: images without links patch applied (thanks wesku)
                        + Bugfix: fixed a problem with creditstats showing wrong number of clicks
                        + Bugfix: clients can get expire date again
                        + Bugfix: typo in admin.php
                        + Bugfix: several bugs have been fixed

v 1.6.3 - 11/30/2000    + Bugfix: banners no longer set to inactive at wrong moments

v 1.6.2 - 11/28/2000    + Added 'Reset Statistics' for banners
                        + Added Dutch/Flemish language file
                        + Bugfix: some minor bugs

v 1.6.1 - 11/26/2000    + Updated all language files to include new variables (untranslated)
                        + Replaced some English expressions by variables

v 1.6.0 - 11/25/2000    + Added client listing with credit stats (experimental)
                        + Added time ACL (experimental)
                        + Logging of HTMl banner clicks (experimental)
                        + Added admin and client directories again
                        + Updated German translation errors (Ralf Eggert)
                        + Bugfix: phpAds should work under PHP 3.0.7
                        + Bugfix: banner with 0 impressions left no longer shown
                        + Added extra statistics
                        + Setting unlimited number of views/clicks/days is now possible
                        + Bugfix: banner no longer deactivated at wrong times
                        + Bugfix: banner count decreases correctly
                        + Fixed several typos in the comments
                        + Added Russian language file
                        + Bugfix: added 2 files to acls table

v 1.5.1 - 11/19/2000    + Bugfix: admin.php had an error when no adviews had been logged

v 1.5.0 - 11/18/2000    + Stats now generate a PNG-image instead of GIF-image (GD doesn't support GIF anymore)
                        + Rewrote weighting system
                        + Bugfix: Domain ACL works fine now
                        + Bugfix: Source ACL works fine now
                        + Bugfix: Empty banner problem fixed
                        + Added logout link for increased security and client testing
                        + Default weight set to 1
                        + Bugfix: works fine under PHP 4.0.3 (earlier versions not tested)
                        + Bugfix: cookie problem fixed
                        + Added average Click-Through Ratio for all ads
                        + Some cosmetic changes

v 1.4.10 - 09/17/2000   + Bugfix: Error shown in some odd cases
                        + Documentation updates

v 1.4.9 - 09/14/2000    + First version of phpAdsNew, starting from phpAds 1.4.0.
                        + Added support for multiple keywords
                        + Added support for conditional keywords
                        + Added support for sequential banner retrieval
                        + Added page frame targeting
                        + Added banner decrementing and low views/clicks warning e-mail
                        + Added banner weighing
                        + Added domain ACL
                        + Added source ACL




v 1.4.0 - 05/01/2000    + Bugfix: Clients were able to look at other clients'
                          statistics.
                        + Bugfix: HTML banners weren't counted properly.
                        + Bugfix: link targets didn't work with HTML banners.
                        + Bugfix: there might have been problems with some
                          statistics if no hits were recorded for a certain 
                          hour.        
                        + Added support for Access Control Lists:
                          IP matching, User Agent matching, restricting banners
                          to certain week days.
                        + Added support for date-expiring banners.
                        + Fixed bugs in remote invocation and admin.
                        + Added support for INSERT DELAYED in logging.
                        + Bugfix: Cookies weren't set correctly on Windows.
                        + Added support for multiple remote banners.
                        + Bugfix: Stats were sent to deactivated customers.

v 1.3.0 - 12/12/1999    + Added the possibility to exclude hosts from logging.
                        + Made view() return the bannerID.
                        + Killed a lot of warnings.
                        + Added a new argument, context, to view(), allowing
                          to exclude banners from the search or limit the
                          search to specified banners.
                        + Added better daily statistics.
                        + Added warning before deleting a client.
                        + Added graphical statistics showing overall hourly
                          average.
                        + Added the possibility to turn off reverse DNS
                          lookups.
                        + Fixed some problems with clients' login.

v 1.2.0 - 09/26/1999    + Miscellaneous bugfixes.
                        + Changed the display of the ratio to use percents.
                        + Added the possibility to use multiple keywords in 
                          view().
                        + Made table names configurable.
                        + Better and graphically nicer statistics.

v 1.1.0 - 08/22/1999    + Changed phpAds to have all files in a single directory,
                          thus avoiding the need of altering PHP's include_path.
                        + Bugfix: mail.php3 messed up the statistics if more than
                          one client existed.
                        + Added support for banners stored on an another server
                          (ie. referenced by URL).
                        + Bugfix: Administration could mess up things when using
                          remote invocation.

v 1.0.0 - 07/25/1999    + Added support for a line of text appearing below banners.
                        + Added support for keywords/banner groups.
                        + Added support to select banners belonging to a specific
                          client.
                        + Cleaned up user interface.
                        + Bugfix: Content-Type was set to image/jpg instead of
                          image/jpeg.
                        + Bugfix: Some fixes related to PHP4.
                        + Bugfix: Clients with the same username as the admin
                          were able to login to /admin even if the password was
                          different.
                        + Better documentation.

v 0.9.4 - 03/18/1999    + Addded the possibility to modify existing banners.
                        + Bugfix: Content-type wasn't correct when sending GIF
                          or PNG-banners.
                        + Changed the method how banners are displayed slightly.
                          It's no longer necessary to have include_path set in the
                          directory where the HTML files reside.
                        + Bugfix: Changed the way old sessions are purged a bit as
                          it didn't work correctly.
                        + Addded support for link targets to the view() function.  
                        + Added support for remote invocation via <img>- and
                          <iframe>-tags.
                        + Added preliminary support for fail-safe banners.

v 0.9.3 - 03/10/1999    + Changed mt_rand() to rand() in kcms.php3 for better
                          downward-compatiblity.
                        + Changed the way the session data is retrieved from the
                          database for better compatibility with MySQL. 3.21.x.
                        + Bugfix: viewbanner.php3 had a stripslashes where it 
                          wasn't needed.
                        + Improved navigation.
                        + Some changes to the file layout.
                        + Bugfix: When only one banner was matched by the criteria
                          specified by view(), a warning was displayed.
                        + Outsourced the view() function to a separate file
                          ("view.inc.php3") to avoid global namespace pollution.

v 0.9.2 - 03/06/1999    + Bugfix: The remote hostname wasn't showed correctly in
                          the daily statistics.
                        + Added more tweaks to the INSTALL file.
                        + Some minor improvements and bugfixes.

v 0.9.1 - 03/02/1999    + Bugfix: adding a banner didn't work correctly when no
                          banner was in the inventory.
                        + Bugfix: The whole stuff didn't work with files outside
                          the phpAds-tree. Corrected.
                        + Added this ChangeLog.

v 0.9.0 - 03/01/1999    + Inital beta release
