With Openads version 2.0.11 for the basics to works you will need to do the following:
This is a quick and dirty example on how to integrate one zone with vb.
For multiple zones you will have to create a list of forums and their corresponding zones in the database and then loop them below.
The following must go in the 'global_complete' hook location.
PHP Code:
global $foruminfo;
$myforumid = 3; // change 3 to your forum id
if ($foruminfo['forumid'] == $myforumid)
{
// first see if this page contains any myads place holders
if (strpos($vartext,'<!-- myads_'))
{
// this code is an example for a specific zone
// replace XXX with you Openads folder name
// replace YYY with you desired zone
if (!isset($phpAds_context))
$phpAds_context = array();