Skip to content

NodeBB: hCaptcha

Solved Configure
15 2 3.2k 1
  • Hi,
    Does anyone have any instructions on the easy implementation of hCaptcha on the new user registration page?

  • Hi,
    Does anyone have any instructions on the easy implementation of hCaptcha on the new user registration page?

    @mventures You’ll need the plugin nodebb-plugin-spam-be-gone which once installed will provide several mechanisms for protection

    086d30f6-a52b-4ebe-8eca-ea03bdcc5242-image.png

    You’ll want the hCaptcha module, and you should follow the instructions here

    https://dashboard.hcaptcha.com

    c7cd76ef-4ea5-49a7-9d56-43d3cd8bc063-image.png

    3ab50e3e-c480-4fe1-b947-ff54e0f4c2b9-image.png

  • phenomlabundefined phenomlab has marked this topic as solved on
  • Thanks for that! I have installed the plugin but where exactly do I go to see the different mechanisms offered and input the values? I am not able to find the configuration settings as seen on your 1st screenshot.

  • Thanks for that! I have installed the plugin but where exactly do I go to see the different mechanisms offered and input the values? I am not able to find the configuration settings as seen on your 1st screenshot.

    @mventures Sorry - I should have mentioned that to use

    https://dashboard.hcaptcha.com/

    You’ll need to create an account there first. From that point, you’ll be able to use the screenshots I provided.

  • Finally, I got a chance to work on this one but it didn’t go as planned, all because NodeBB wouldn’t save the page every time I click the Save button. I tried on both Safari and Chrome. Please see below. Do you know what the issue is?

    Screen Shot 2023-04-20 at 5.21.18 pm.png

  • Finally, I got a chance to work on this one but it didn’t go as planned, all because NodeBB wouldn’t save the page every time I click the Save button. I tried on both Safari and Chrome. Please see below. Do you know what the issue is?

    Screen Shot 2023-04-20 at 5.21.18 pm.png

    @mventures It won’t save because you first have to enable the “Stop Forum Spam” tab and subscribe for a (free) key

    ece8b1fb-a356-4d55-9429-9d2b05765cb1-image.png

    I’ve enabled this, and provided you with my key temporarily, which you should change

    I then enabled hCaptcha using my details, and registered your site with my hCaptcha account

    8860d20d-ab1e-43bf-b71d-d877c2de0754-image.png

    This now works as intended

    98265af7-90f4-461a-bc33-5ab98912fce7-image.png

    You should of course register your own site and secret keys rather than use mine 🙂

  • @mventures It won’t save because you first have to enable the “Stop Forum Spam” tab and subscribe for a (free) key

    ece8b1fb-a356-4d55-9429-9d2b05765cb1-image.png

    I’ve enabled this, and provided you with my key temporarily, which you should change

    I then enabled hCaptcha using my details, and registered your site with my hCaptcha account

    8860d20d-ab1e-43bf-b71d-d877c2de0754-image.png

    This now works as intended

    98265af7-90f4-461a-bc33-5ab98912fce7-image.png

    You should of course register your own site and secret keys rather than use mine 🙂

    @phenomlab THANK YOU SO MUCH! Really much appreciated again.
    I shall definitely change everything and not use your values.

    I have the hCAPTCHA values already but not the stopforumspam one. I signed up on that site but I am yet to receive the password by email. Have written to the admin there and waiting for a response.

  • @phenomlab THANK YOU SO MUCH! Really much appreciated again.
    I shall definitely change everything and not use your values.

    I have the hCAPTCHA values already but not the stopforumspam one. I signed up on that site but I am yet to receive the password by email. Have written to the admin there and waiting for a response.

    @mventures Ok, no real hurry - just when you can.

    EDIT - I also updated your forum to RC2 as it was still at RC1.

  • @mventures Ok, no real hurry - just when you can.

    EDIT - I also updated your forum to RC2 as it was still at RC1.

    @phenomlab
    Thank you but what are RC1 and RC2?
    How do you find out what needs updating?

    And I am still waiting on the StopForumSpam password 😞

  • @phenomlab
    Thank you but what are RC1 and RC2?
    How do you find out what needs updating?

    And I am still waiting on the StopForumSpam password 😞

    @mventures the term RC refers to “Release Candidate” which is the version just before software is ready to release to market. Essentially, this signifies that software has successfully passed though both alpha and beta before reaching RC stage.

    For the record, there were over 99 beta releases of NodeBB before the devs were satisfied it was ready for release candidate 1 - let alone 2.

    The final release will tell you in the ACP when an upgrade is available.

  • @phenomlab
    Thank you but what are RC1 and RC2?
    How do you find out what needs updating?

    And I am still waiting on the StopForumSpam password 😞

    @mventures said in NodeBB: hCaptcha:

    And I am still waiting on the StopForumSpam password

    You might want to check your junk email. Typically, these emails are delivered in minutes and not days.

  • @mventures said in NodeBB: hCaptcha:

    And I am still waiting on the StopForumSpam password

    You might want to check your junk email. Typically, these emails are delivered in minutes and not days.

    @phenomlab Yes, but it never arrived. So, today I tried again and it worked. I have signed up for the free API key but I am yet to get the email with the details. However, they have the option to get the key from their website which I now have. I shall try using it and see if it works over your one.

  • @phenomlab Yes, but it never arrived. So, today I tried again and it worked. I have signed up for the free API key but I am yet to get the email with the details. However, they have the option to get the key from their website which I now have. I shall try using it and see if it works over your one.

    @mventures Screen Shot 2023-04-27 at 12.17.14 pm.png
    Should I tick one of these? I know it’s optional but if there is a benefit in someway, I can tick.

  • Update: I have replaced your values with mine. It seems to be working now.

  • @mventures Screen Shot 2023-04-27 at 12.17.14 pm.png
    Should I tick one of these? I know it’s optional but if there is a benefit in someway, I can tick.

    @mventures none that I know of. I don’t recall selecting these either for mine.


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
  • Nodebb and emails

    Solved Configure nodebb
    27
    5 Votes
    27 Posts
    7k Views
    @Panda it will use SMTP. In all cases, I never use any plugin to send email. I’ll always send it raw.
  • Composer options on nodebb

    Solved Configure nodebb
    8
    1
    3 Votes
    8 Posts
    2k 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 Quick reply

    Solved Configure quick reply button
    4
    1
    2 Votes
    4 Posts
    1k Views
    here is the link: https://app.transifex.com/nodebb/nodebb/translate/#tr
  • NodeBB: Upgrading to NodeBB v3.x

    Solved Configure nodebb v3.x
    6
    0 Votes
    6 Posts
    2k 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.
  • NodeBB: Creating pages

    Solved Configure nodebb create page
    9
    0 Votes
    9 Posts
    3k Views
    OK, I think I have figured out how to place a link in the footer which will click to a new page.
  • nodebb loading emojis

    Solved Configure nodebb emojis
    16
    1
    1 Votes
    16 Posts
    4k Views
    @DownPW sure. Let me have a look at this in more detail. I know nginx plus has extensive support for this, but it’s not impossible to get somewhere near acceptable with the standard version. You might be better off handling this at the Cloudflare level given that it sits in between the requesting client and your server.
  • Podcast Share NodeBB

    Solved Configure podcast nodebb
    15
    4 Votes
    15 Posts
    4k Views
    @cagatay You could experiment with nodebb-plugin-ns-embed but I expect the x-origin tag on the remote site to prevent playback.
  • Configure SMTP for Nodebb

    Solved Configure
    14
    5 Votes
    14 Posts
    4k Views
    @marusaky based on the work completed thus far (in relation to PM exchanges), I’m going to mark this completed. Sending email from the server itself works fine without issue, and DNS appears to be clean (valid SPF, DMARC, and DKIM records). It appears that only Gmail marks incoming messages from your domain as spam - perhaps because of the domain age, which there is nothing we can do to prevent this. Mail delivery to all other domains appears to work fine in al of my tests.