[TH] Monetize Pro with DFP & Affiliate Link support [Deleted]

@Audentio Design would it be possible in a future release to allow multiple wrapper classes?

I'm running a custom theme by @Russ and @Steve F that use multiple classes to hide things, in this case I'm trying to hide certain banners from smaller displays such as this:

View attachment 115733

I get the following error when trying to save the changes:

View attachment 115734


I understand this addon also support displaying ads via "Render with JavaScript" which can also hide banners however when I enable this feature it breaks the entire forum where only the HTML background image shows and the banner in the upper left corner. Everything else is gone.

So I'm thinking allowing multiple classes would be an easy fix, at least in my case. :)
What they are doing with classes, we are doing with an ajax request, thus impressions are properly calculated. With that class method, impressions will be incorrectly calculated. Why not just use what we built in?

As for that error, Im not sure what that is but Im assuming it has something to do with their theme.
 
hy not just use what we built in?
I'm not tracking impressions or clicks so that part I'm not worried about missing. That said when I enable the "render with java" in the ad options and then view my site it turns out like this:

java-enabled.webp

Nothing but the banner and HTML background pattern is shown.
 
I'm not tracking impressions or clicks so that part I'm not worried about missing. That said when I enable the "render with java" in the ad options and then view my site it turns out like this:

View attachment 115735

Nothing but the banner and HTML background pattern is shown.
Definitely something weird going on, mind create a ticket with a link and account credentials? And how it was replicated.
 
What they are doing with classes, we are doing with an ajax request, thus impressions are properly calculated. With that class method, impressions will be incorrectly calculated. Why not just use what we built in?

As for that error, Im not sure what that is but Im assuming it has something to do with their theme.

For what it's worth, it's nothing unique to our style, those are built in XF classes:

Responsive Design
 
For what it's worth, it's nothing unique to our style, those are built in XF classes:

Responsive Design
Im aware, thanks for the link. This add-on takes that into consideration whether the ad is intended to be displayed instead of CSS show/hide which is improper if you want to track impressions. So what I've said is correct.
 
Im aware, thanks for the link. This add-on takes that into consideration whether the ad is intended to be displayed instead of CSS show/hide which is improper if you want to track impressions. So what I've said is correct.

Wasn't questioning if you were right or wrong, was simply responding to this portion of your statement here:

What they are doing with classes

The classes mentioned are nothing unique to our styles. Thanks for clarifying that though glad it worked out @WoodiE
 
I've seen your response to the affiliate question I was wondering also...
It would be possible of course.
But just another question, I currently use Viglink (automatic affiliate linking) on my forum is it possible I could use this addon to create positioning ads linked to viglink supported sites and my current code would be picked up?

I hope I have framed my question good enough it's a little tricky to explain what I mean...
 
I've seen your response to the affiliate question I was wondering also...

But just another question, I currently use Viglink (automatic affiliate linking) on my forum is it possible I could use this addon to create positioning ads linked to viglink supported sites and my current code would be picked up?

I hope I have framed my question good enough it's a little tricky to explain what I mean...
Not entirely sure can you please elaborate?
 
Not entirely sure can you please elaborate?
Yeah sure. Well, I could use your addon to display advertising banners linked to affiliates associated with Viglinks but would they be picked up by my current Viglink code on my site?

Currently, any "appropriate" link on my site gets converted to an affiliate Viglink but would this code work with this addon automatically?
 
can this addon also magae ads which are on the same domain, bt not in Xenforo? i.e. Joomla?

Would this also work, if Joomla is on the main domain and xenforo on a subdomain installed?
 
@Jake B. error when trying to create a coupon,

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'user_criteria' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Solidus, 2 minutes ago

Code:
#0 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('INSERT INTO `ad...')
#1 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'INSERT INTO `ad...')
#2 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('INSERT INTO `ad...')
#3 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `ad...', Array)
#4 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('admon_coupon', Array)
#5 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#6 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#7 /var/www/vhosts/wweforums.net/httpdocs/library/Audentio/AdManager/ControllerAdmin/Coupon.php(87): XenForo_DataWriter->save()
#8 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(347): Audentio_AdManager_ControllerAdmin_Coupon->actionSave()
#9 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /var/www/vhosts/wweforums.net/httpdocs/admin.php(13): XenForo_FrontController->run()
#11 {main}
 
@Jake B. error when trying to create a coupon,

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'user_criteria' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Solidus, 2 minutes ago

Code:
#0 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('INSERT INTO `ad...')
#1 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'INSERT INTO `ad...')
#2 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('INSERT INTO `ad...')
#3 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `ad...', Array)
#4 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('admon_coupon', Array)
#5 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#6 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#7 /var/www/vhosts/wweforums.net/httpdocs/library/Audentio/AdManager/ControllerAdmin/Coupon.php(87): XenForo_DataWriter->save()
#8 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(347): Audentio_AdManager_ControllerAdmin_Coupon->actionSave()
#9 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /var/www/vhosts/wweforums.net/httpdocs/admin.php(13): XenForo_FrontController->run()
#11 {main}

What version are you running? This error was fixed in the latest release :)
 
I've set up my first advert..... just a bog standard image with a url.
Nothing is showing up. I've tried several zones.
Any ideas?
 
Top Bottom