I have problem with adsense
-
Same problem here.
And my forum also not showing the adsense ads.
The problem with using widget, the adsense script inserted to page dynamically.
So, if you view the source our adsense scripts not present.Do we violates the adsense policy if we insert the adsense script dynamically ?
-
This is related question:
https://community.nodebb.org/topic/6665/adsense-problem/4
https://productforums.google.com/forum/#!topic/adsense/UdIuLrhUaBY
There is plugin for adsense, but it doesn't support the new NodeBB:
[nodebb-plugin-adsense] Google Adsense
This plugin moved to https://github.com/NodeBB-Community/nodebb-plugin-adsense #Install# npm install nodebb-plugin-adsense More info on GitHub ACP Page Ad ...
NodeBB Community (community.nodebb.org)
-
I figured that out, search function is your friend
Simply open /public/src/ajaxify.js and go to the bottom of it. Then comment this part out:
if (window.history && window.history.pushState) {
// Progressive Enhancement, ajaxify available only to modern browsers
ajaxifyAnchors();
}Or remove it.
-
@AOKP said:
I figured that out, search function is your friend
Simply open /public/src/ajaxify.js and go to the bottom of it. Then comment this part out:
if (window.history && window.history.pushState) {
// Progressive Enhancement, ajaxify available only to modern browsers
ajaxifyAnchors();
}Or remove it.
Don't you lose completeley ajaxify behaviour if you remove this?
I mean, i think you're changin the single page behaviour to a multi-page one, changing that. isn't it?