Skip to content

NodeBB: updating Admin details not working

Solved Configure
17 3 2.5k 1
  • Another thing I noticed when signing up to NodeBB platforms - after the username and password entry, it asks you for an email id. When entered and saved, and you are back on the homepage of categories, this message appears on the bottom right:

    Screen Shot 2023-04-06 at 12.50.44 pm.png

    It’s happened to me 3 times - on NodeBB community site, Sudonix, and my own. Why is the system not remembering these changes & updates?

  • Another thing I noticed when signing up to NodeBB platforms - after the username and password entry, it asks you for an email id. When entered and saved, and you are back on the homepage of categories, this message appears on the bottom right:

    Screen Shot 2023-04-06 at 12.50.44 pm.png

    It’s happened to me 3 times - on NodeBB community site, Sudonix, and my own. Why is the system not remembering these changes & updates?

    My apologies! What I meant was - I got that pop-up message on all 3 sites but I did get the email verification links from Sudonix and NodeBB. Its only on my site, I still haven’t received the email verification. I think it needs to be enabled, perhaps the SMTP section?

  • Hi,
    In my ADMIN management, I made these changes:

    1. Added a name for my “@admin” account
    2. Updated the email id for my “admin” account

    But neither the name is visible on the public page, nor an email verification was received. I have tried twice, and nothing. Would anyone know what the reason could be?

    FYI - I can see the admin name in the admin dashboard, but its not appearing on the published forum.

    On the email change - Do you think its because the default email (@phenomlab created) that was used to set the forum up, cannot be changed? Maybe, it can be changged via SSH?

    @mventures said in NodeBB: updating Admin details not working:

    But neither the name is visible on the public page, nor an email verification was received. I have tried twice, and nothing. Would anyone know what the reason could be?

    Email is not configured on the server you are running - this is why no notification was received, because none would have been sent. For this to work, you’ll need to install either a postfix server to send mail, or use one of the available plugins as detailed below

    d3dbd291-6c1a-425b-bf39-bc47979c3c32-image.png

    I did something similar for @JAC some time ago - provided you have a low level of mail sending, you can typically use the free plans to send mail.

    SendGrid is probably the best option

    157e5c66-6199-4d6a-90f5-3217809c9667-image.png

    Create an account there, then over PM, share with me the login and connection details, and I’ll configure this for you.

  • @mventures said in NodeBB: updating Admin details not working:

    But neither the name is visible on the public page, nor an email verification was received. I have tried twice, and nothing. Would anyone know what the reason could be?

    Email is not configured on the server you are running - this is why no notification was received, because none would have been sent. For this to work, you’ll need to install either a postfix server to send mail, or use one of the available plugins as detailed below

    d3dbd291-6c1a-425b-bf39-bc47979c3c32-image.png

    I did something similar for @JAC some time ago - provided you have a low level of mail sending, you can typically use the free plans to send mail.

    SendGrid is probably the best option

    157e5c66-6199-4d6a-90f5-3217809c9667-image.png

    Create an account there, then over PM, share with me the login and connection details, and I’ll configure this for you.

    @phenomlab Yes, I had a feeling SMTP was the issue. So, I have to choose between SendGrid or the available plugins, right? Are the plugins not dependable, hence you recommended SendGrid?

  • @phenomlab Yes, I had a feeling SMTP was the issue. So, I have to choose between SendGrid or the available plugins, right? Are the plugins not dependable, hence you recommended SendGrid?

    @mventures No specific reason for SendGrid other than it’s free for less than 100 emails per month. Typically, I’d suggest hosting your own email, but then you’ll also need a raft of DNS records such as txt, spf, dkim and dmarc.

    These should be added to DNS anyway for sake of good order, but are less dependant when you leverage a third party service. Don’t be surprised if SendGrid also wants you to add DNS records, as this is the norm.

  • @mventures No specific reason for SendGrid other than it’s free for less than 100 emails per month. Typically, I’d suggest hosting your own email, but then you’ll also need a raft of DNS records such as txt, spf, dkim and dmarc.

    These should be added to DNS anyway for sake of good order, but are less dependant when you leverage a third party service. Don’t be surprised if SendGrid also wants you to add DNS records, as this is the norm.

    @phenomlab None of my business perhaps, but what system are you using if you don’t mind me asking? If it’s personal/sensitive, then your recommendation is strongly Sendgrid because it’s easy to set up, dependable and affordable.

    Btw, I’ve heard a lot about Mailgun, and they offer 5000 free emails/month, and only $1 extra for another 1000 if it crosses the 5k mark. Are you OK if I started on this one?

  • @phenomlab None of my business perhaps, but what system are you using if you don’t mind me asking? If it’s personal/sensitive, then your recommendation is strongly Sendgrid because it’s easy to set up, dependable and affordable.

    Btw, I’ve heard a lot about Mailgun, and they offer 5000 free emails/month, and only $1 extra for another 1000 if it crosses the 5k mark. Are you OK if I started on this one?

    @mventures being the “traditionalist” that I am I host my own mail using postfix (a service dedicated for this purpose, but residing on the same VPS). There’s nothing wrong with Mailgun, and NodeBB will actively support it.

    https://www.npmjs.com/package/nodebb-plugin-emailer-mailgun

  • Hi @cagatay
    Thank you for your response.
    (1) Admin email change: I did as you said and it still has the old email. No change over to the new one.
    (2) A new user registration test: I signed up as a user to check. Though I entered an email for this new account, I did not receive the email verification email for this one also. All email folders were checked and nothing has come in yet.
    (3) Admin name: What I meant was - I entered a “full name” for my admin account, and this name is not showing up in the posts.

    @mventures said in NodeBB: updating Admin details not working:

    Hi @cagatay
    Thank you for your response.
    (1) Admin email change: I did as you said and it still has the old email. No change over to the new one.
    (2) A new user registration test: I signed up as a user to check. Though I entered an email for this new account, I did not receive the email verification email for this one also. All email folders were checked and nothing has come in yet.
    (3) Admin name: What I meant was - I entered a “full name” for my admin account, and this name is not showing up in the posts.

    If I can get help on (3) also, that would be great also! Thank you all.

  • @mventures being the “traditionalist” that I am I host my own mail using postfix (a service dedicated for this purpose, but residing on the same VPS). There’s nothing wrong with Mailgun, and NodeBB will actively support it.

    https://www.npmjs.com/package/nodebb-plugin-emailer-mailgun

    @phenomlab Nice! I will give this a try tomorrow and see how it goes. By the way, do I need an email in my domain name for this to work, or is the outgoing email from Mailgun/Sendgrid email domain?

  • @phenomlab Nice! I will give this a try tomorrow and see how it goes. By the way, do I need an email in my domain name for this to work, or is the outgoing email from Mailgun/Sendgrid email domain?

    @mventures said in NodeBB: updating Admin details not working:

    By the way, do I need an email in my domain name for this to work, or is the outgoing email from Mailgun/Sendgrid email domain?

    The outgoing email should be the default specified in the NodeBB settings. You’ll be using a username and password from the Mailgun service to send mail anyway, so the email address is cosmetic.

  • @mventures said in NodeBB: updating Admin details not working:

    Hi @cagatay
    Thank you for your response.
    (1) Admin email change: I did as you said and it still has the old email. No change over to the new one.
    (2) A new user registration test: I signed up as a user to check. Though I entered an email for this new account, I did not receive the email verification email for this one also. All email folders were checked and nothing has come in yet.
    (3) Admin name: What I meant was - I entered a “full name” for my admin account, and this name is not showing up in the posts.

    If I can get help on (3) also, that would be great also! Thank you all.

    @mventures said in NodeBB: updating Admin details not working:

    (3) Admin name: What I meant was - I entered a “full name” for my admin account, and this name is not showing up in the posts.

    Because you need to enable that in Settings 🙂

    Go to /admin/settings/user#default-user-settings

    Enable the below

    eb821911-fcb3-4222-9fba-19b6a66be91d-image.png

    7aa39f3b-4a2a-4bf6-b5b4-2428f7d68a7e-image.png

    Save

    And finally,

    Go to user/admin/settings

    Enable “Show my full name”

    9a15b1dd-dc4a-47a3-a208-f6366b76ad28-image.png

    Save

    I’ve done this on your site, so it should be working as intended.

  • phenomlabundefined phenomlab has marked this topic as solved on
  • @mventures said in NodeBB: updating Admin details not working:

    (3) Admin name: What I meant was - I entered a “full name” for my admin account, and this name is not showing up in the posts.

    Because you need to enable that in Settings 🙂

    Go to /admin/settings/user#default-user-settings

    Enable the below

    eb821911-fcb3-4222-9fba-19b6a66be91d-image.png

    7aa39f3b-4a2a-4bf6-b5b4-2428f7d68a7e-image.png

    Save

    And finally,

    Go to user/admin/settings

    Enable “Show my full name”

    9a15b1dd-dc4a-47a3-a208-f6366b76ad28-image.png

    Save

    I’ve done this on your site, so it should be working as intended.

    @phenomlab Yes, it is working! Thank you so much 🙂

  • @mventures said in NodeBB: updating Admin details not working:

    By the way, do I need an email in my domain name for this to work, or is the outgoing email from Mailgun/Sendgrid email domain?

    The outgoing email should be the default specified in the NodeBB settings. You’ll be using a username and password from the Mailgun service to send mail anyway, so the email address is cosmetic.

    @phenomlab Update: I haven’t forgotten the task of setting up a SendGrid account. It’s just that my account hasn’t been verified yet. It’s been a few days already and I keep getting questionnaires from them. Have chased again today.

  • @phenomlab Update: I haven’t forgotten the task of setting up a SendGrid account. It’s just that my account hasn’t been verified yet. It’s been a few days already and I keep getting questionnaires from them. Have chased again today.

    @mventures Ok. No issues


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • Custom html in nodebb to prevent cache

    Unsolved Configure nodebb
    18
    2 Votes
    18 Posts
    3k Views
    @Panda You’ll need to do that with js. With some quick CSS changes, it looks like this [image: 1690796279348-d619844f-fbfe-4cf1-a283-6b7364f6bf18-image.png] The colour choice is still really hard on the eye, but at least you can now read the text
  • Composer options on nodebb

    Solved Configure nodebb
    8
    1
    3 Votes
    8 Posts
    1k Views
    @Panda You should be able to expose the CSS for these using F12 to get into console [image: 1686833368846-3591518c-e3a3-4ada-a43c-6b32a5e0359c-image.png] [image: 1686833399483-a2b8ed46-4157-4ff2-85f0-576543380107-image.png] That should then expose the element once selected [image: 1686833431032-89d9c545-a47a-40d1-98f4-80cf3b958e8f-image.png] Here’s the below CSS you need based on the screenshot provided. .composer .formatting-bar .formatting-group li[data-format="picture-o"], .composer .formatting-bar .formatting-group li[data-format="spoiler"] { display: none; }
  • NodeBB v3 Android Problem

    Solved Configure nodebb android
    4
    4 Votes
    4 Posts
    927 Views
    thank you fixed.
  • NodeBB: Opening the Composer for replies

    Solved Configure cms composer
    2
    0 Votes
    2 Posts
    722 Views
    @mventures Quick reply is basically exactly that. However, it’s possible to trigger the full composer as below [image: 1681314389744-82ca1209-31be-4a51-a641-9887b5a238b8-image.png] Failing that, you’ll need to use the reply button in the sticky toolbar [image: 1681314442570-1d230bcb-ff8e-4756-94f7-6e2fb7a94bc4-image.png]
  • NodeBB: Upgrading to NodeBB v3.x

    Solved Configure nodebb v3.x
    6
    0 Votes
    6 Posts
    1k Views
    @mventures You’d need to connect to the server and execute it directly - not on your local terminal. Review the guide below, which will show you how to gain access via SSH to your server https://docs.ovh.com/gb/en/dedicated/ssh-introduction/ Once you have access, you’ll need to navigate to the actual folder where NodeBB is installed You’ll then need to change to the directory as shown below /home/unbuntu/nodebb [image: 1680448167972-fdffe673-bf63-4b6d-a728-5506fddc1aff-image.png] In most cases, initial access takes you to the root of the file system. You can always issue pwd in a Linux terminal which will show you the Present Working Directory. From there, you can issue the command cd /home/ubuntu/nodebb Once in the NodeBB directory, you’d use the below commands ./nodebb stop git fetch && git checkout develop && git reset --hard origin/develop ./nodebb upgrade ./nodebb start Line 1 stops the NodeBB instance Line 2 gets the latest files from GIT (repository) and then checks out the development branch. It then resets the version you are using to the development branch ready for v3 Line 3 Runs the upgrade once the new branch is set, and code pulled Line 4 Restarts the NodeBB instance after the upgrade has completed Note that when you restart NodeBB and log back in, things will look very different to what you had in v2.
  • Adding fileWrite to nodebb code

    Solved Configure nodebb
    16
    1
    5 Votes
    16 Posts
    3k Views
    @eveh this might be a question for the NodeBB Devs themselves. In all honesty, I’m not entirely sure without having to research this myself.
  • [NODEBB] Help for my custom CSS

    Solved Customisation nodebb css bugfix
    237
    49 Votes
    237 Posts
    86k Views
    @baris said: You should change your selectors so it doesn’t look at the entire document. You probably only want to apply fancybox to stuff inside the #content element which is what changes when the user navigates around the page. So use $('#content a').... for your selectors then the forum logo in the header won’t be selected. I modified the JS Fancybox code now and this code and it seem better // --------------------------------------------- // Fancybox Media Reader (Without Website Logo) // --------------------------------------------- if (top.location.pathname !== '/login') { $(window).on('action:posts.loaded', function(data) { console.log("Polling DOM for lazyLoaded images to apply Fancybox"); $(document).ready(function() { $('#content a').not('.forum-logo').not(".avatar").not(".emoji").not(".bmac-noanimate").each(function() { $('#content a[href*=".jpg"], #content a[href*=".jpeg"], #content a[href*=".png"], #content a[href*=".gif"], #content a[href*=".webp"]').addClass("noanimate"); }); }); }); } if (top.location.pathname !== '/login') { $(document).ready(function() { $(window).on('action:ajaxify.end', function(data) { $('#content a').not('.logo').not(".avatar").not(".emoji").not(".bmac-noanimate").each(function() { $('#content a[href*=".jpg"], #content a[href*=".jpeg"], #content a[href*=".png"], #content a[href*=".gif"], #content a[href*=".webp"]').addClass("noanimate"); data.preventDefault() // Strip out the images contained inside blockquotes as this looks nasty :) $('#content blockquote img').remove(); }); Fancybox.bind( '#content a[href*=".jpg"], #content a[href*=".jpeg"], #content a[href*=".png"], #content a[href*=".gif"], #content a[href*=".webp"]', { groupAll: true, } ); }); }); } // Chat fancybox - fires when chat module loaded and AJAX calls new chat $(document).ready(function() { $(window).on('action:chat.loaded', function(data) { // >>> Se limiter au contenu principal uniquement <<< $('#content img').not('.forum-logo').not(".avatar").not(".emoji").not(".bmac-noanimate").each(function() { var newHref = $(this).attr("src"); $(this).wrap("<a class='fancybox' href='" + newHref + "'/>"); $('#content a[href*=".jpg"], #content a[href*=".jpeg"], #content a[href*=".png"], #content a[href*=".gif"], #content a[href*=".webp"]').addClass("noanimate"); data.preventDefault(); // Strip out the images contained inside blockquotes as this looks nasty :) $('#content blockquote img').remove(); }); Fancybox.bind( '#content a[href*=".jpg"], #content a[href*=".jpeg"], #content a[href*=".png"], #content a[href*=".gif"], #content a[href*=".webp"]', { groupAll: true, } ); }); }); For the logo, I must use overflow: visible !important; on [component="brand/logo"] /* --- Logo --- */ [component="brand/logo"] { max-height: 50px; width: auto; height: auto; max-width: 100%; display: block; object-fit: contain; object-position: left center; overflow: visible !important; } Better result !!
  • [NodeBB] custom Gravatar image not showing

    Solved Customisation
    6
    1 Votes
    6 Posts
    2k Views
    @jac said in [NodeBB] custom Gravatar image not showing: @phenomlab said in [NodeBB] custom Gravatar image not showing: @jac are you using Custom ? Sure am mate Confirmed Fixed