Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Chris027 Posted March 16, 2020 Posted March 16, 2020 I just noticed the ads in the sidebar are now blocked by Adblock Plus. It only seems to effect the sidebar ads and it seems to block all sidebar content whether or not it's ad related. Anyone else see this?
Chris027 Posted March 16, 2020 Author Posted March 16, 2020 Anyone know how to change the data-role from SidebarAd to something else? This is the cause. When I manually change it using the browser inspector, it's displayed just fine.
Chris027 Posted March 16, 2020 Author Posted March 16, 2020 I just edited core > front > global > sidebar to change "<div data-role='sidebarAd'>" to "<div data-role='sidebarAXd'>" and it appears to work. Adlago and Maxxius 2
Chris027 Posted March 18, 2020 Author Posted March 18, 2020 I ran into a problem after changing the template above. The issue is that on mobile, the sidebar doesn't load at the bottom of the page. As soon as I change the template back to sidebarAd rather than sidebarAxd, then it loads on mobile just fine. Is there an actual solution to getting the sidebar to load when people are using adblock plus? The name "sidebarAd" should be a red flag.
Chris027 Posted March 18, 2020 Author Posted March 18, 2020 Looking further into this, I can't figure out why the sidebar isn't being shown. IN the screenshot below you can see the data-role has my change "sidebarAxd". This enabled it to be shown despite Adblock Plus and it works for the desktop. On mobile (screenshot below) you can still see the image in the code, but it isn't displayed. It's as if there is a display=none somewhere. Does anyone have any clue how to get this working? I opened a support ticket, but this is outside the scope of support.
Recommended Posts