Nice name ;-)
Thanks for the rapid response, so good to find a developer that is actively supporting their plugin!!
Lets see how well I can explain this.
So, basically, I'm using Varnish to cache my site. I'm currently using ESI (Edge Side Includes - https://www.varnish-cache.org/trac/wiki/ESIfeatures) to fetch a plugin script(AdRotate via a sidebar widget) from my database on each site load (thus avoiding a cached request).
All of the above is working correctly, no problems.
Now, what I am aiming to do is to load different parameters from the plugin depending on the origin of the visitor who is visiting the site. IE, display US adverts for US visitors and UK adverts to UK/Europe based visitors...
This is where your script comes into play.
The problem I am facing is trying to call your shortcodes from an independent file, ie. outside of WordPress (in the dedicated ESI php file).
Currently the code I have can be found here: http://pastebin.com/16JSXfU3
Your shortcodes to not seem to be getting parsed correctly, as such the different ads are not loading correctly (I've put a 'hello world!' in there for experimentation's sake...).
Can you recommend a solution? PHP is not my strong-point at times (this being one of them!).
I would appreciate any help you can offer.
Happy to buy you a drink or two for a solution...
Thanks again for any help you can offer,