Jordan MillerOctober 11, 2020 in Technical Problems
Hey there, I have a quick question.
I have an ad code that is preventing the Emoji menu in the tool bar from opening. Also, the "spoiler" feature won't display the hidden content when the ad code is enabled.
The ad company has tried to figure out (so they claim) what the issue is, but since July I've been told ~they're working on it,~ but to no avail.
Wondering if anyone had any suggestions as to how I can fix this maybe via the IPB side (since the ad company isn't being very useful). I don't want to remove the ad because it performs decently.
By the way, whenever I disable this ad placement, the Emoji menu and spoiler features begin to work again. When I enable it, they don't. So it has to be this ad code.
Any help would be greatly appreciated.
/* First Flex */
cf_page_artist = "";
cf_page_song = "";
cf_page_header = "header";
cf_page_footer = "";
cf_page_element = "#ipsLayout_body";
cf_fixed_header = true;
cf_adunit_id = "39384335";
cf_flex = true;
It's probably something in the actual code in showad.js. If something in that code overwrites something that IPB uses, then boom. 🙂
Have you tried changing the elements passed in as parameters? Presumably these are cf_page_header and cf_page_element.
Try adding a couple of divs in the global template and passing these in instead. Create both with ids and use them with # in front as in the example you posted. You may need to add some height to the divs in case the ad script doesn’t.
Started 1 hour ago
Started 7 hours ago
Started September 16, 2015