share NodeBB Header and Footer
-
@StuartH
I re-wrote most of this nodebb-plugin-42 today, I also addedappend to <head>
config but keep in mind that this append occurs ondocument.ready
, and made it compatible with NodeBB latestmaster
.give it a shot, let me know if it still sucks.
-
@bentael said:
@StuartH
I re-wrote most of this nodebb-plugin-42 today, I also addedappend to <head>
config but keep in mind that this append occurs ondocument.ready
, and made it compatible with NodeBB latestmaster
.give it a shot, let me know if it still sucks.
Yea thanks Bentael I will give it a try? -
I can't reproduce the problem. any error logs? on both server and client sides?
do you have a demo public link I can use to login and check?
are you on Mongo or Redis, (not that it should make a difference, but just the new code used another way to save configs)
-
@StuartH it may have to do with how often NodeBB calls the
filter:footer.build
hook, and since it's a SINGLE PAGE APP, it's not much, I've seen that weirdness, but I am not too sure what to do about it, the filter is pretty straight forward. what you can do to verify that's the footer code is being generated correctly, is to view-source of the page, then search fornodebb-plugin-42
comment.
if for some reason, the javascript generated is invalid, you may have a page error. I am working on a fix for this issue