[Solved] Register/Login links do not disappear when logged in
-
Hmmm, or maybe not really. The buttons on the top-right now look correct but don't do anything. Also still getting the "require not defined" error. But I'm now on 0.43. In 0.42 it kind of worked correctly once after updating the themes after an unusually long delay. Maybe that happened randomly, but I can go down to 0.42 again and recheck if it helps.
-
I've just updated and we have the login and register buttons even when we have logged in. I'm not sure if this is a theme issue with sea wolf or if it's a nodebb issue. SeaWolf is based off Vanilla so if any chnages happen in the vanilla theme then they should propagate over to my theme.
-
@julian said:
@Scuzz Beats me as to why.
npm i nodebb-theme-vanilla
installs0.0.19-35
instead of-53
. Not sure if that is still the case, but I updated the package.json file in the v0.4.x branch which might resolve this.npm i nodebb-theme-vanilla
still installs0.0.19-35
, usingnpm i [email protected]
installed the correct one for me -
Ok, after a
./nodebb upgrade
everything seems to be working correctly again.It might be worth keeping the latest npm version of themes compatible with the stable version of nodebb. Keeping the newer versions of the themes github only so people can use them if they want.
I think this may stop any confusion when upgrading themes.
-
@julian said:
Can you run
npm ls
on both vanilla and lavender so we can see what versions they are? -
@julian it only happened with the admin account. With normal account the navbar is showing fine.
with the admin account it just show like this: - The navbar links disappeared and only login link remain. This happened when I updated the code for the restarting fixes. Before that everything had been well.