NodeBB and ads - A never ending story (Part 2)



  • @Jenkler yes the reloading you see on my site is temp as I do not want to violate AdSense ToS.

    And the after first post ad cannot be done without any modification to the widgets.js. However, it is a relatively simple thing to do.


  • Global Moderator

    @AOKP the after first post ad should be able to be done by modifying your theme files.



  • @PitaJ and creating a custom HTML tag.

    Nevermind, if anyone is interested I can share my solution. But before that lets get DFP working again.


  • Global Moderator

    @AOKP I'm looking at your forum, and it appears that your ads are inserted with widgets. I would recommend trying putting the ad elements into your theme files directly. You can make them partials and just include them in the main theme files for topics, main content, etc.

    If you were trying to use DFP sync rendering inside widgets, it wouldn't work since I think widgets are loading asynchronously and inserted into the page. In fact, you should probably bake all of your DFP code into a custom theme.



  • @PitaJ async ads do not work either.
    I think I should try to change the position and way widgets.js is loaded.


  • Global Moderator

    @AOKP it could be that the widget HTML hasn't loaded in before it attempts to load the ads, so the ads fail to load.

    Please try putting the DFP stuff directly in your theme.



  • @PitaJ not working either.

    Again let me roll up things once again very clearly. Please also read it properly.

    A long time ago DFP sync ads were working fine, just like an Anti-AdBlock script I used.
    Same was for ad code provided from other advertisers, like Sulvo or Ezoic. However, since 6 months NodeBB started to cause real issues.
    Sync ads broke the entire page, the Anti-AdBlocker stopped working and ads from other providers (using document.write) stopped too.

    And since version 1.2.x ads do not show up at all.

    Except AdSense ones. I tried it on a blank install, I followed the setup guide step by step, but the issue still appears.
    Even my AdX account manager says that the issue is on my end, just like the many other tech staff from other advertisers (thanks for their support). This sh*t cannot be fixed by inlining DFP code, nor can it be fixed by any other approach, which is not related to code hacking.

    Excuse the curse, but there is no other way to describe the issue properly.

    @baris, are there any security concerns if I downgrade to NodeBB v0.9.x? Even though I said that downgrading is not an option for me and that it won't be any beneficial for NodeBB to leave it unfixed I think as of now this would be the best option.



  • 2 days passed. Bumping.


  • Plugin & Theme Dev

    You've been asked not to bump. Please don't continue doing it!

    You know, it might be so simple that people don't know how to help you without putting a lot of effort into investigating this issue.
    If you hire/pay the nodebb staff for a few hour they might be able to help you.


  • Global Moderator

    @hek I only asked him not to bump it every day. He can bump with lower frequency of he wants.



  • @hek ironically I sent a request for that already and was told to wait until the end of October. However, before I will pay 300$ on a plugin which allows me to load custom JS I rather throw the money away for a DB conversion to IPB.

    And as mentioned before. The issue is not only occuring with ads. It is related to ANY custom JS.
    If you think that this is not worth to investigate I can't help it. Why you even read the topic then?

    I do think I speak for all the webmasters when I say that we need to load custom stuff. No matter if it is CSS or JS and that we also need to have a proper possibility to monetize our sites with either a working plugin or a different method.

    Otherwise you can continue to host MC kiddies.

    I really do like NodeBB, but also am happy at the same time that I didn't applied it to all of my sites.

    And considering the fact that it wants to take a leadership in forum software by showing how functional it is, it also shows how "unprofessional" it is.

    Don't understand this as hate. But just think of the following use case. You want to run an enterprise forum and have to choose between traditional forum software or NodeBB. NodeBB seems to have all the features you need, but unfortunately it is not capable to deal with some of your custom code. So what will you do? But keep in mind that the other forum software would be extendable to have the same features as NodeBB within a few simple steps.



  • @AOKP said in NodeBB and ads - A never ending story (Part 2):

    before I will pay 300$ on a plugin

    I wouldn't mind contributing to this endeavor. Think of it as a crowd funded development effort. Would the NodeBB team be willing to allow for multiple financial contributors to this plugin? At some point I will need to monetize my forum and first attempting through ads sounds reasonable.



  • @rod I wouldn't pay to get this issue fixed. But if the team makes us a 100% compatible DFP plugin I would take the bill. I am not crying about money as an issue here.

    And a general note:
    There were no words about the price yet. But this was a "just in case".

    Update:
    Me and @rod hooked together and tried a few NodeBB versions. What we say for sure now is that NodeBB is facing issues since 0.9.x to render ads synchronously, which means that 0.8.x is the only working version of NodeBB with full ad support.

    I personally think it is related to the js.js file, however no guarantee upon that.



  • Bumping this again.
    Seems like I am the only one who cares about a broken core feature.

    As said. It is not only DFP which has stopped working. Every JavaScript using document.write is affected (lets focus on this for now).



  • @AOKP I care also. I'd like a good way to add an advertising methodology to my forum.



  • DFP started to load again.



  • @AOKP So, what was the resolution? Please share...



  • @Esfandiar-Zolghadr203 unknown. It just started working again. However, as of master branch (3rd October) it is broken again.


  • Global Moderator

    Can you identify the last commit it works on?


Log in to reply
 

Suggested Topics

| |