nodebb-community / nodebb-plugin-adsense Goto Github PK
View Code? Open in Web Editor NEWadsense plugin
License: BSD 2-Clause "Simplified" License
adsense plugin
License: BSD 2-Clause "Simplified" License
Is there a feature to hide ads in certain categories such as html extend?
Ads are not centered. (header, footer)
Is it possible to make this plugin support reloads when browsing the Nodebb forum?
There seems to be a bug on small screens (mobile) where the ad overlaps posts. I've nailed it down to the fixed height set on the li here:
https://github.com/NodeBB-Community/nodebb-plugin-adsense/blob/master/public/main.js#L40
When I removed the height everything seems to work as expected.
I don't know why the fixed height was introduced.. but removing it doesn't seem to mess up anything.
Is it possible to fix so that ads will be disabled for some cases.
Whould be nice with some settings.
Best to start with no ads for logged in users maybe ;) Feel free to mess me if this is something you thing is good :)
The version 1.19.2 and 2.5.8 have the same error. When I try to open the plugin page, it does not open.
No error message appears. The page is not loading.
Hi there,
I am experiencing an issue. I got my adsense account,etc... but it is showing blank ads.
What am I doing wrong?
Thanks and kind regards,
If the first post ad is in use, it will overlap the second post slightly.
On mobile the ad will underlap the second post.
Fix:
if (url.url.substring(0, 6) == "topic/") {
if(data.after_first_post_id){
$(".posts >li:first-child").after("<li>" + getInsCode(data.client_id, data.after_first_post_id, '', 'margin: 15px auto', 'auto') + "</li><br>");
(adsbygoogle = window.adsbygoogle || []).push({});
}
}
I enabled nodebb-plugin-adsense. But i can't find the plugin in the plugin section (section where i can download/install plugin). Also even after removing the plugin, I can't find the plugin in the download section. Isn't it compatible with 0.9.4 version?
The README says, After activating plugin, you will see a reference in admin panel left menu called "Google Adsense". However, I installed the version 4.0.0 of this plugin in a NodeBB 3.4.3 site, I am not able to find the the Google Adsense menu item.
Not sure if the theme matters in this case. I am using Persona theme.
Google told me that I have a page level violation because I have no content on the login page.
When I enable ads in header and footer, and open different pages, e.g. open 4 pages, there will be 4 ads in header and 4 ads in footer,
Ads are located above post.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.