But got a /admin/weibo path not found error.
Ditto. Looks like the plugin has been inactive for sometime.
@dove Is this plugin still working in this version.
The plugin seems to have some issues for me.
The ad for inside the post (I have it on the right side) is working perfectly fine from what I can see.
The bottom does not appear at all,
If I activate the ad in header breaks my forum and makes it inaccessible to everyone.
I have the latest version of nodebb.
hmm.. has anybody successfully run a site with Adsense?
I know Adsense doesn't really work with Discourse because of Ajax (the 3 ad rule gets triggered--search the Discourse forum). I guess it doesn't work with Nodebb either?
That would be a real bummer.
If nodebb can assemble the pages server-side so adsense will work, it would be a big advantage over Discourse.
Not being able to use adsense is a dealkiller for a lot of people.
I don't think google adsense works with ajax, however I managed to get http://www.google.ca/doubleclick/publishers/small-business/ working in a widget for more than 3 page views.
I followed their guide and placed the code they give into the header of the page with the custom JS tab from ACP and then placed a widget that has this in it.
If you don't mind cold loading pages you can always disable ajaxify, that will serve a brand new page for every link and thus will be compatible with adsense.
EDIT: The other possibility would be to cache your adsense html and serve the same ad for every page, until the user comes back or refreshes manually
Is it not possible each time a page has got a new focus, it reloads only the ad block with a js event? I don't know if I am clear ^^
Getting the error below for version 6.0
@jun I have this too. I think this plugin is out of date now. Would be nice to see a v0.6.x compatible version.
Can someone npm install this one and see if it now works for v0.6.x?
I don't have an AdSense account yet =(
@Drew-Llewellyn It's out of date, I'll create a PR for it later on. But it's down to the original dev to merge it.
@Drew-Llewellyn I've got the following error:
ver. NodeBB v0.6.0.
Is there an update for this? Even a branch/fork? (new to git as well!) to get it working?
I been looking to try and work out how to fix but I'm still in learning mode.
Hey nice thanks, just done a install. it now showing in the CP
But looks like the relativePath is not being added to the url for the config file.
(I have installed on a /path)
Is this easy fix?
@Dave-Huggy-Jones which config file?
I'm getting this error in the console log:
http://18.104.22.168/google-adsense.config.json 404 (Not Found)
My installation is on /forum whch evals ok when placed in the url directly like
EDIT: Done a pull request for a fix on this.
I have forked this plugin to the community team, https://github.com/NodeBB-Community/nodebb-plugin-adsense
Tested and working on nodebb 0.9.x / master on persona.
@baris gonna try it and report back.