[Solved] Register/Login links do not disappear when logged in
-
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.
-
I think @julian fixed this earlier today and may have forgotten to get back to you here
-
@psychobunny Yeah, it's fixed with newest code.
@shinyidol It's fixed, update the code and it will be working