chokkanteki I used this code, but after I changed to ver 0.1.0 - beta.7.2, I could not use comment. How can I fix this?
calixpan strawberrymilke : I do appreciate your efforts but this looks like suicide attempt. There is no hearing for Google-Adsense account termination. They directly sentence account to death.
luceos EfekanKksal there are several ways to do so, either from the PHP backend when a Post is Serialized for the API or in the Mithril frontend by splitting the post when it's rendered.
EfekanKksal luceos {!! $content !!} Where is it connected? No need for compartment, can be added next to content with a new function. Google already automatic tuning... ex : <noscript id="flarum-content">{!! $content !!} + {!! $adsense !!} </noscript>
luceos EfekanKksal that's a blade file, it won't do you any good changing that because that's not part of the SPA. You can either use an extension to modify the behavior of the PostSerializer or to modify the content of the CommentPost component.
EfekanKksal luceos I completely deleted commentpost.js but the system is still working properly... The system does not read any changes in the file. "commentpost.js" https://pasteboard.co/HWGydCw.png
luceos EfekanKksal that's because you will have to recompile the JS so that a new js/dist/forum.js is generated inside the flarum/core directory. It seems you are trying to hack your way into core, please I urge you not to do that 🙏 . You can use a local extender to start writing an extension (you don't need to publish), see: https://flarum.org/docs/extend/start.html#getting-started https://flarum.org/docs/extend/start.html#hello-world