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.
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.
- [fix] Core: Upgrade script not always triggered
- [change] Blocks: Better CSS handling for blocks
- If ads are still showing as erroneous – refresh the cache by clicking “re-evaluate all ads” in settings.
- You might need to click “clean up database” or “optimize database” in settings if some ads show up incorrectly in the dashboard.
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.