Strange problem with Taboola ads - Advertisement Management
Strange problem with Taboola ads
Since I upgraded my forum to version 3.2, the Taboola ads no longer work.
In particular, I can see only the textual part, but not the images. Yet Taboola support service assures me that the codes entered in forum (tag <head> and <body> in overall_header.html - style Prosilver SE) are correct, as is the other piece of code (the one located in the area where I want to show ads through the Advertising Management extension).
Can you help me?
-
- Registered User
- Posts: 125
- Joined: Wed Oct 24, 2018 12:34 pm
- Contact:
Re: Strange problem with Taboola ads
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
-
- Former Team Member
- Posts: 2300
- Joined: Thu Apr 30, 2009 8:49 pm
- Name: Jakub
- Contact:
Re: Strange problem with Taboola ads
Place this code in the <head> section:
<script type="text/javascript">
window._taboola = window._taboola || [];
_taboola.push({article:'auto'});
!function (e, f, u, i) {
if (!document.getElementById(i)){
e.async = 1;
e.src = u;
e.id = i;
f.parentNode.insertBefore(e, f);
}
}(document.createElement('script'),
document.getElementsByTagName('script')[0],
'//cdn.taboola.com/libtrc/xxxxxxxxxxxxxx/loader.js',
'tb_loader_script');
if(window.performance && typeof window.performance.mark == 'function')
{window.performance.mark('tbl_ic');}
</script>
Place this code where you want the "Below Article Thumbnails" widget to render (this code is inserted with the extension, after the messages):
<div id="taboola-below-article-thumbnails"></div>
<script type="text/javascript">
window._taboola = window._taboola || [];
_taboola.push({
mode: 'thumbnails-a',
container: 'taboola-below-article-thumbnails',
placement: 'Below Article Thumbnails',
target_type: 'mix'
});
</script>
Place this code at the end of your <body> tag:
<script type="text/javascript">
window._taboola = window._taboola || [];
_taboola.push({flush: true});
</script>
-
- Registered User
- Posts: 125
- Joined: Wed Oct 24, 2018 12:34 pm
- Contact:
Re: Strange problem with Taboola ads
Code: Select all
<script type="text/javascript">
window._taboola = window._taboola || [];
_taboola.push({flush: true});
</script>
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
-
- Former Team Member
- Posts: 2300
- Joined: Thu Apr 30, 2009 8:49 pm
- Name: Jakub
- Contact:
Re: Strange problem with Taboola ads
In link.css (style Prosilver) file there was the instruction
Code: Select all
display: inline-block
I received this solution today (after several days), from the Taboola support team.
I removed the instruction and now everything works.
But I ask myself one thing: what was the purpose of that instruction? Can I have problems in the future for the general operation of forum?
-
- Registered User
- Posts: 125
- Joined: Wed Oct 24, 2018 12:34 pm
- Contact:
Re: Strange problem with Taboola ads
yes, this can cause unintended issues. Instead you should add a new rule that overrides the one in links.css for Taboola ads.
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
-
- Former Team Member
- Posts: 2300
- Joined: Thu Apr 30, 2009 8:49 pm
- Name: Jakub
- Contact:
Re: Strange problem with Taboola ads
Can you help me?
-
- Registered User
- Posts: 125
- Joined: Wed Oct 24, 2018 12:34 pm
- Contact: