It's not a super big deal, as I hide the button vis CSS anyway. But it would be nice to know how to fix the error
sweetp
Posts
-
untranslated string in Harmony child theme -
untranslated string in Harmony child themeI see this error in the console:
[Warning] Missing translation "harmony:settings.title" for language "en-GB" (nodebb.min.js, line 9)
-
untranslated string in Harmony child theme@baris ah sorry, that is how the
Library.js
file looks.
The code I posted is actually from the parent Harmony theme, I guess I posted code from an older commit.I still have the issue.
Do I need to specifically overridelibrary.addProfileItem
in my theme to get the correct string? -
untranslated string in Harmony child themehere's my
plugin.json
:{ "id": "nodebb-theme-harmony-sweetp", "url": "https://github.com/sweetppro/nodebb-theme-sweetp", "hooks": [ { "hook": "static:app.load", "method": "init" }, { "hook": "filter:admin.header.build", "method": "addAdminNavigation" }, { "hook": "filter:widgets.getAreas", "method": "defineWidgetAreas" }, { "hook": "filter:config.get", "method": "getThemeConfig" }, { "hook": "filter:settings.get", "method": "getAdminSettings" }, { "hook": "filter:user.saveSettings", "method": "saveUserSettings" }, { "hook": "filter:user.profileMenu", "method": "addProfileItem" }, { "hook": "filter:middleware.renderHeader", "method": "filterMiddlewareRenderHeader" }, { "hook": "filter:middleware.render", "method": "removeFinalBreadcrumb" } ], "scripts": [ "../nodebb-theme-harmony/public/harmony.js", "scripts/sweetp.js" ], "modules": { "../admin/plugins/harmony.js": "../nodebb-theme-harmony/public/admin.js", "../client/account/theme.js": "../nodebb-theme-harmony/public/settings.js", "sweetp/customHelpers.js": "public/modules/customHelpers.js", "sweetp/customHelpers-common.js": "public/modules/customHelpers-common.js" }, "templates": "templates" }
-
untranslated string in Harmony child themeit looks like this function in
Library.js
is not returning the correct string:library.addProfileItem = async (data) => { data.links.push({ id: 'theme', route: 'theme', icon: 'fa-paint-brush', name: 'Theme settings', visibility: { self: true, other: false, moderator: false, globalMod: false, admin: false, }, }); return data; };
-
untranslated string in Harmony child themeI am using a custom Harmony child theme with NodeBB v3.1.2. I just noticed that one of the strings on the user settings page is untranslated:
How exactly do I go about getting the translated string to show?
-
new user registration email loop NodeBB v3.1.0@Julian v3.1.1 is working great.
thanks for the speedy fix
-
new user registration email loop NodeBB v3.1.0@Julian nice!
-
new user registration email loop NodeBB v3.1.0When a user registers on my forum,
they get stuck in a loop trying to validate their email.The validation email is sent, but when the Click here to confirm your email address β button is clicked the .../register/complete page is opened and in the console I get the following error
[Warning] error loading forum/registerComplete (nodebb.min.js, line 8) @https://myforum.com/assets/nodebb.min.js:9:9653
If the user logs out of the new account, then presses the Click here to confirm your email address β button in the validation email, then the email is validated.
I am using a Harmony Child theme, but haven't touched any registration templates...
Here are my Email settings:
-
Vote for NodeBBdone done
-
3.0.0 Upgrade Support ThreadThis is what I do for updates:
git fetch git stash git checkout v3.x git merge origin/v3.x ./nodebb upgrade git stash drop
-
NodeBB v3.0.0 β it's here!upgraded from beta 2 without issues on my test forum, and also my Production server.
nice work guys
-
Release week is coming...Looking forward to v3 and harmony. Iβve been running the alpha and beta in Production for quite some time now. Super solid update.
-
Which skin is your favourite?I like Flatly the best
-
NodeBB v3.0.0-rc.2 β the second release candidate@baris said in NodeBB v3.0.0-rc.2 β the second release candidate:
I pushed this change to this forum so let me know if you notice any issues.
It looks fine on my end,
I updated my test forum, and all looks well there too.
Ill push it to my production forum now -
Harmony feedbackWhatβs stopping ppl from using a different theme? The old v2 default is still available right?
For what itβs worth, I like the new look of Harmony. The small things I donβt like Iβve changed with my own custom theme.
-
NodeBB v3.0.0-rc.2 β the second release candidate -
NodeBB v3.0.0-rc.2 β the second release candidate.line-clamp-2
needs to be update with:
max-height: 2.5em
actually, they all need to be updated to multiples of 1.25 em, rather than multiples of 1.5em
-
Custom topic/category icon@baris thanks, for some reason a search on Github didn't find it
-
Custom topic/category iconIβm running NodeBB v3 + Harmony