Just in case anyone using MaxMediaManager is interested. I tried to use this plugin with MaxMediaManager 0.1.x (based mostly on phpAdsNew). It didn't work, but at least I got no error message.
I installed the plugin and edited the path in the settings. I created a zone in MMM and in the invocation code was:
PHP Code:
<?php
if (@include(getenv('DOCUMENT_ROOT').'/maxmediamanager/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_local ('', 21, 0, 0, '_blank', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
Then on one of my templates I added the following code:
Code:
<ad what="zone:21" />
Where 21 was the zoneid of this new zone I created.
When I go to the page, this is what I see:
Anf if I look at the resulting HTML code, this is what I see:
Code:
<!-- BEGIN ad 1685741398 -->http://www.pulsorock.com/banners/mediumrectangle_hrc_corporate_youknow.jpg?8a4481c4dc<!-- END ad 1685741398 -->
So in conclusion, at the moment the plugin does not work on MMM...
I think I'll continue using the JS invocation. If anyone has any other idea, feel welcome to share it.