AdRotate 3.8.3 – Fixes failed upgrades – Blocks

Broken Upgrade script:

Turns out the WordPress Upgrade process doesn’t trigger a certain hook required in AdRotate to upgrade databases. Yay WordPress! This took me hours to find… But I’ve added another check and thingy and some technical shizzle wizzle to make it work. And that should be the end of it.

I have tested this at least a dozen times on semi-live sites to upgrade actual data from AdRotate 3.7.4.x, 3.8, 3.8.2 to 3.8.3. Not a single error has occurred. I have asked various people to check if 3.8.3 works for them most came back with positive results. One didn’t but I strongly doubt that was because of AdRotate, based on his feedback.

Blocks:

Additionally, I wasn’t happy with Blocks and how they render their CSS. Some people noticed this too. So I’ve reverted blocks to the old code model. *but*… No more inline CSS. That should please a few. Each block now has it’s sizes and some small options defined in *actual* CSS, which is dynamically created and inserted into the head of the site. So no more screwed up sidebars because the CSS was crammed somewhere in between.

Additionally. You can further customize the sidebars looks by defining “.block_outer” and “.block_inner” in your CSS stylesheets. By defining the block_outer class you’ll change the entire block. And block_inner is for each advert within that block. For example to apply a margin, border, or whatever tickles your fancy! Just keep in mind that the size of things is defined automatically. So ideally these classes should be used for visual purposes only.

Changelog:

  • [fix] Core: Upgrade script not always triggered
  • [change] Blocks: Better CSS handling for blocks

Possible cave-ats:

  1. If ads are still showing as erroneous – refresh the cache by clicking “re-evaluate all ads” in settings.
  2. You might need to click “clean up database” or “optimize database” in settings if some ads show up incorrectly in the dashboard.

Download:

Pro users – The download is available right now in your account. Upgrade instructions are included in the readme.html inside the zip file.

Free users – Either wait for the automated update or go here.

Tags: , , ,

3 Responses to “AdRotate 3.8.3 – Fixes failed upgrades – Blocks”

  1. aparte January 20, 2013 at 1:51 pm #

    I updated to version 3.8.3. (free version) but I still have two main big problems:
    Blocks used in the footer widget wirh Zenon Lite theme shows now advs in a column instead than in row, as the previous version used to do. But overall… If I click on any adv now I have this error:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at postmaster@seriesit.org to inform them of the time this error occurred, and the actions you performed just before this error.
    More information about this error may be available in the server error log.

    Please help me…

    • aparte January 20, 2013 at 2:35 pm #

      In the meanwhile I came back to the 3.7.4 version, and I restored the database. The blocks layout came back to the correct view, al the advs in a row. But the Internal Server Error still remain for all the advs…

    • Arnan de Gans January 20, 2013 at 3:36 pm #

      Doesn’t that mean the server error doesn’t come from AdRotate?
      What does your error log say? Please post further support related items on the forum.