=== Plugin Name === Name: CM Ad Changer - Server Pro Contributors: CreativeMindsSolutions Donate link: http://ad-changer.cminds.com/ Tags:ad,ad network,adbrite,adroll,ads,ads manager,adsense,adserver,advertisement,advertising,ajax,banner,banner ad,banner changer,banner manager,banner rotator,banners,carousel,click,click counter,clicks,commission,geo location,geolocation,google,image,image rotate,Impression,Impressions,income,inject,injection,insert,junction,manager,media,monetise,monetize,money,notification,notifications,promotion,promotions,random,referral,report,reporting,reports,responsive,responsive banner,revenue,rotate,rotating,rotator,seo,server,slider,statistics,stats,track,tracking,variation,variations,ypn Requires at least: 5.4.0 Tested up to: 6.8 Stable tag: 2.1.8 Archive name: cm-ad-changer-server.zip Manage, Track and Report Advertising Campaigns Across Sites. Can turn your Turn your WP into an Ad Server == Description == The CM Ad Changer can help you manage, track and provide reports of how your advertising campaigns are being run and turns your WordPress site into an ad server. [Visit Plugin Site](http://ad-changer.cminds.com/) [youtube http://www.youtube.com/watch?v=rBGl2ENV5Fc] The CM Ad Changer client includes basic connection information to retrieve campaign intelligence from the ad changer server. The ad changer server includes a campaign management panel and statistics modules that shows how a campaign performs. By managing advertising campaigns across several Word Press sites at the same time, the CM ad changer makes controlling and overseeing online banner and image promotions easier than ever. Each campaign can manage unlimited number of images and banners. Utilize your banners within your site, by rotating them in random order or even have them targeted with unique URLs. Measure conversion and count impressions of your banners, use short code to insert banners into posts and pages, while supporting debug mode. **Use-Cases** * Banners Management - Manage banners within your site. * Rotation - Show rotating images/banners in random order anywhere in your site. * Conversion - Measure banner conversion. * Impressions - Count banner impressions. * Ad Server - Build an ad server connected with several client simultaneously. **Plugin Site** * [Plugin Site](http://ad-changer.cminds.com/) **Features** * Includes impression & clicks count per each banner [view image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/image-a1.png) * Each campaign can serve banners randomly or selectively. * Each banner can has it's own weight allowing it to have more impressions when selected randomly [view image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/image-a1.png) * Each banner can have a unique target URL [view image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/image-a1.png) * Ads are inserted into post / pages using shortcode. * Shortcode support debug mode [view image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/image7.png) * Shortcode also includes ability to wrap banner with div. * Can run several campaigns simultaneously [view image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/image2.png) * Each campaign can manage unlimited number of images / banners. **Pro Version Features** [Pro Version](http://ad-changer.cminds.com/) The CM Ad Changer Pro version Includes all the free version features with the addition of the following features: * Responsive Banners - support adaptive banner size based on browser screen size. Support mobile devices while service the correct banner size [View First Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac2.png), [View Second Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac6.png) * Notifications - Campaign manager will receive notifications to his email when campaign stops [View Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac4.png) * Rotating Banners - Support rotating banners [View Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac6.png) * Client Plugin - Includes a client plugin which can be installed on a remote WP installation and serve campaign banners from the CM Ad Changer Server. Each server can serve many clients simultaneously [View Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac92.png) * Statistics - Include several statistics and access log modules. Log can be downloaded in csv format. Statistics reports can be shown by month. Statistics also include geo location information by country name. [View first Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac8.png), [View second Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac9.png), [View third Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac91.png) * Restrict by Dates - Campaign can be restricted based on dates [View Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac7.png) * Restrict by Days - Campaign can be restricted based on days in the week [View Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac7.png) * Restrict by Domains - Campaign can be restricted based on client domains (which Ad Changer clients will be served or not per a specific campaign) [View Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac5.png) * Restrict by Clicks - Campaign can be restricted when it reaches a max amount of clicks [View Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac5.png) * Restrict by Impressions - Campaign can be restricted when it reaches a max amount of Impressions [View Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac5.png) * Custom JS - JS function can be added per campaign and executed once banner is clicked [View Image](http://ad-changer.cminds.com/wp-content/uploads/ad-changer/ac5.png) **More Plugins by CreativeMinds** * [CM Super ToolTip Glossary](http://wordpress.org/extend/plugins/enhanced-tooltipglossary/) - Easily creates a Glossary, Encyclopaedia or Dictionary of your website's terms and shows them as a tooltip in posts and pages when hovering. With many more powerful features. * [CM Download Manager](http://wordpress.org/extend/plugins/cm-download-manager) - Allows users to upload, manage, track and support documents or files in a download directory listing database for others to contribute, use and comment upon. * [CM Answers](http://wordpress.org/extend/plugins/cm-answers/) - Allows users to post questions and answers (Q&A) in a Stack-overflow style community forum which is easy to use, customize and install. Comes with Social integration Shortcodes. == Installation == 1. Upload the plugin folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Manage your CM Ad Changer plugin from Left Side Admin Dashboard == Frequently Asked Questions == = How can I add banners ? = Simply add a campaign and define upload banners. You can then insert a shortcode into theme or any post or page and banner will be show as defined in the campaign parameters . == Screenshots == 1. Banners management 2. Set dates when campaign is active 3. Set active days 4. Plugin settings 5. Campaigns manager == Changelog == = 2.1.8 = * Improvements in addon page = 2.1.7 = * Resolved deprecated issue = 2.1.6 = * Improvements = 2.1.5 = * Resolved Non-static method fatal error * Updated package 1.9.2 = 2.1.4 = * Resolved PHP error related to non-static method = 2.1.3 = * Optimization = 2.1.2 = * Added support to set device (desktop/mobile) with campaign type: HTML Ads = 2.1.1 = * Fixed version = 2.1.0 = * Improved thumbnail code * Fixed PHP notice and warning = 2.0.9 = * Compatible with PHP 8 = 2.0.8 = * Bugfix related to PHP 8.x = 2.0.7 = * Fixed: banner expiration date issue = 2.0.6 = * Added support to save images to cloud server with WP Offload Media plugin = 2.0.5 = * Fixed transparent tooltips = 2.0.4 = * Updated: license pack = 2.0.3 = * Fixed: Infinite statistics loading after jQuery update * Fixed: Banner rotation method = 2.0.2 = * Fixed: random order for rotated banners * Updated: ip2location_lite module = 2.0.1 = * Fixed: security issue = 2.0.0 = * Fixed: date format in campaign settings * Minor fixes = 1.9.9 = * Added: option "Rotated" to group display feature = 1.9.8 = * Fixed: flying banner type show bug * Updated: license pack = 1.9.7 = * Fixed: approved domains list processing = 1.9.6 = * Fixed: open banner link in new window = 1.9.5 = * Fixed HTML Ad linking bug * Removed useless query that slowed down statistics page = 1.9.4 = * Fixed incorrect type conversion for local CM Ad Changer client * Minor fixes = 1.9.3 = * Fixed bug "Campaign ID not given" upon selecting campaign in list "Statistics -> Clients last requests" * Fixed bug "Zero constant value impressions" of campaigns linked from CM server to remote CM client plugins = 1.9.2 = * Added stripslashes into campaigns * Added exception handling in post = 1.9.1 = * Converted alert into console log * Added timestamp with ajax call * Fixed shortcode render issue in banners * Updated package 1.8.9 = 1.9.0 = * Bugfix in report by group statistics report * Updated package 1.8.6 = 1.8.19 = * Added the option to use any shortcode in banners = 1.8.18 = * Added a field to add the title for html ads = 1.8.17 = * Changed statistic reports to fix a bug in showing html ads = 1.8.16 = * Fixed an error with group statistics = 1.8.15 = * Changed banners per campaign limit 50 to 500 = 1.8.14 = * Added statistics remove option between dates = 1.8.13 = * Fixed the JS bug when the response is empty = 1.8.12 = * Fixed the bug with saving the campaign with no Campaign URL = 1.8.11 = * Fixed the bug with opening the links in image banners in new tab * Added the link validation for Campaign Link and Campaign Banner Link = 1.8.10 = * Fixed the bug with opening the links in html banners in new tab * Fixed the bug with the uninitialized key = 1.8.9 = * Fixed the bug with rotated banners on mobiles = 1.8.8 = * Added the option to randomize the rotated banners * Updated the Licensing Package = 1.8.7 = * Fixed the bug with the rotated campaigns * Fixed the bug which might cause some of the impressions to not be tracked for groups * Added the button allowing to toggle the scroll on the Campaigns view = 1.8.6 = * Fixed the bug with the domain filtering = 1.8.5 = * Added the support for the new AddOn - Customer Dashboard = 1.8.4 = * Fixed the problem with the encoded entities when using AdDesigner = 1.8.3 = * Fixed the problem with the server being falsely treated as inactive * Added an option to auto-deactivate campaigns after their activity period has passed * Fixed the bug causing the campaings after their activity period to be randomly selected for groups = 1.8.2 = * Enabled the Server by default * Updated the licensing package = 1.8.1 = * Fixed the rare bug with date year set to '-0001' * Fixed the bug with activity dates not taking into account the local time * Fixed the rare problem with CORS for AJAX requests to get banners = 1.8.0 = * Added the option to set the banner expiration date for image and html banners * Fixed small bugs = 1.7.10 = * Improved the AdSense banner display * Added options to setup the banner width/height = 1.7.9 = * Fixed the notice in request_banners * Changed the default widget setting for "Not responsive" = 1.7.8 = * Fixed the bug causing which caused that the settings of the rotating banner were disregarded * Added the "async" to AdSense calls * Fixed small bugs = 1.7.7 = * Fixed the bug with testing * Fixed the bug with responsive banners = 1.7.6 = * Redesigned the Client/Server communication to decrease the load * Fixed small bugs = 1.7.5 = * Fixed the potential CSRF/XSS vulnerability = 1.7.4 = * Fixed the fatal_error = 1.7.2 = * Added the option to choose the banner target = 1.7.1 = * Ensured the WordPress 4.4.1 compatibility * Fixed the bug with the Report by Month not displaying the data from the previous years correctly = 1.7.0 = * Improved the WordPress 4.4.0 compatibility * Updated the Licensing API = 1.6.9 = * Fixed the problem with adding new banners in Wordpress 4.3 * Updated the licensing API * Fixed the problem with the editor = 1.6.7 = * Fixed "Bad request" error message during clone campaign call * Added new functionality to include custom js code for HTML banner type. = 1.6.6 = * issue with adsense campaigns resolution fixed. From now the adsense container will adjust automatically to parent container = 1.6.5 = * enque js and css scripts fix * added check if the nonce is correct during saving the settings * fixed error message about campaign type selected, but no banner selected for AdSense campaigns = 1.6.3 = * Added new feature that allows to check connection between client and server. = 1.6.2 = * Fixed css and js plugin files enqueue problem * Fixed iplocation class compatibility error = 1.6.1 = * Fixed bug with campaign setting "Open target URL in new window" not being executed during banner click event * Fixed bug with opening link in new window being blocked as popup in Chrome = 1.6.0 = * Added security precautions for XSS attacks during add_query_arg function usage = 1.5.9 = * Campaign group with inactive campaign selects only active ones * Added yearly subscription link = 1.5.8 = * Added new flat share box * Added the type of banner - image / vieo / html in table of the list of campains under the type * Changed tooltip info message in video ads campaign type = 1.5.7 = * Fixed error with upload directory when resizing images = 1.5.6 = * Fixed redirect url bug with HTML and Video ads = 1.5.5 = * Added fix to licensing API cached results that was causing activation problems for some users = 1.5.4 = * Fixed bug with ad designer functionality * Fixed bug with campaign activity dates functionality = 1.5.3 = * Fixed bug with tinyMce editor. Editor was rejecting changes made in text mode. = 1.5.2 = * Added option to turn off history functionality. If checked, banners will not report impressions and clicks back to the server. Client's impressions and clicks will also be omitted and not saved. Due to lack of history data statistics functionality will be disabled. * Added caching of banners and campaigns clicks and impressions. Caches are being updated once an hour during first request. * Clicks and impressions are being counted only when needed (edit campaign screen and if max clicks or max impressions are set) * Added preloader in statistics to let users know when data is being processed (useful when server must process a lot of data and does not responds). * Fixed errors and notices that caused error notification message during plugin activation. = 1.5.1 = * Limit for images size raised to 2MB and for GIF images to 5MB (it was causing problems with uploading gif images) * Full error description from backend script is now showing in javascript alert dialog in case of file upload issue = 1.5.0 = * Fixed SQL queries to history table that was slowing down banner requests = 1.4.9 = * Fixed incompatibility issue with jQuery datpicker that affected tabs * Fixed issue with empty statistics screen when no data in month report * Fixed issue with campaign select in statistics day report * Fixed issue with selected banner in floating banner and floating bottom banner * Added feature that automatically selects first banner if no banner is selected and banner has display method "selected" * Added option to name the floating and floating bottom banner for statistics table purpose = 1.4.8 = * Fixed incompatibility issue with jQuery datpicker that affected statistics = 1.4.6 = * Fixed MISC issues with flying ad and flying bottom ad = 1.4.6 = * Fixed issue with remote content in floating banner campaign * Changed path to media from relative to absolute in html editor * Fixed issue with insert media button (Media was inserted into prev editor instead of current) = 1.4.5 = * Fixed issue with wordpress v4.01 new js libraries path = 1.4.4 = * New feature. New banner type: floating bottom banner * General bugfixing = 1.4.3 = * Added new report, report by group id * Fixed rotated banner link issue = 1.4.2 = * Added new campaign group widget * Added manual version check option * Fixed bug with permanent "random" campaign style = 1.4.1 = * Fixed the frequency the plugin checks for the update = 1.4.0 = * New feature. New banner type: floating banner * Added the notice about the new version of the plugin available * Fixed the problem with displaying banners according to selected days and priority = 1.3.8 = * Fixed Firefox Issue with opening links after clicking the banner * Fixed the problem with the Campaign Group Creation * General bugfixing = 1.3.7 = * Added notification when user creates new campaign with type "Selected Banner" but doesn't select one * added option to test campaign groups as well as campaigns in testing section * General bugfixing = 1.3.6 = * More space for counters (max impressions and max clicks) * More insight into the stats (new table theme, new thumbnail preview) * New statistics report type (report by period) * New option for campaign (open target URL in new window) * Create new campaign group fix (ability to create new campaign group with campaign assigned) * Added campaign group creation date * Added full size banner view * General bugfixing = 1.3.5 = * Fixed the conflict of Widget class * Fixed the links not opening in the Firefox * Improved the debug information on "Testing" tab = 1.3.4 = * Fixed the conflict of CSS classes = 1.3.3 = * Fixed the problems with "target_blank" * Added the ability to remove all images with one click * Hidden the AdChanger admin menu for non-admin users * Improved the detection on the inactive campaigns * Added the admin notice about Server being inactive * Updated the ID generation function to fix rare issues of ID clash * Added the support for Width and Height of the HTML Campaigns * Added the CM AdDesigner to support the HTML campaigns = 1.3.2 = * Fixed the conflict between the CM Ad Changer widget and the Page Builder plugin * Added the option to define the Target URL for the HTML banners = 1.3.1 = * Fixed the bug with banner variations = 1.3.0 = * Fixed bug with wrong uploads directory * Changed the way testing works - now will alert if somethin's wrong * General bugfixing * Added the Call to action box on Settings screen = 1.2.9 = * Fixed some problems with HTML Ads * Added the support for the Video Ads * Fixed the click count for middle/right click * Changed the behaviour after Campaign Save (reopen the last edited Campaign) = 1.2.8 = * Improved the support for HTML Ads * Added the "target_blank" (default 1) to the shortcode - now it's possible to open links in the same window * Fixed the bug in Server Load statistics for Current Month * Added the support for the Campaign Groups * Fixed several notices and warnings * Fixed some JS errors * Fixed the bug with Advertisers not being saved properly = 1.2.7 = * Added the support for HTML Ads * Improved the support for AdSense Ads * Added the possibility to setup the banners height & width * Improved the performance = 1.2.5 = * Added the support for the multisite * Fixed some performance issues * Fixed the widget class * Added the AdSense support * Fixed some bugs = 1.2.0 = * General code refactoring and fixes * Fixed the way plugin tracks the impressions of rotating banners * Fixed the bug with counting the clicks of the banners * Removed the feature to inject custom JS as a potential very high security risk = 1.1.2 = * Settings tabified * Custom CSS class to widget added = 1.1.0 = * Replace get_bloginfo('url') with get_bloginfo('wpurl') for all relative paths = 1.0.0 = * Initial release