Good mod, working well in 4.1.12 although I can't see any reason why it wouldn't work in any of the versions mentioned as not working above.
I did change line 8 of google.php to a normal script name rather than 'test',so:
Code:
define('THIS_SCRIPT', 'google');
and this allows use of sensibly named template conditionals such as:
Code:
<vb:if condition="THIS_SCRIPT != 'google'">
The only other change needed, other than some layout tweaks, was to add the second header include to the template:
Code:
{vb:raw headinclude_bottom}
Also working fine with Everywhere Sidebar using the instructions for adding the sidebar to custom pages.
Thanks for posting this - a real time saver in getting this working and well explained.