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?

    @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 to Xenforo

    Solved Configure xenforo nodebb
    3
    0 Votes
    3 Posts
    666 Views
    @cagatay as @downpw stated, there isn’t a native tool that will do this for you. You’d need to either develop your own or ask the nodebb team to assist which will be a paid exercise.
  • 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.
  • 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: Privileges for the Announcement channel

    Solved Configure nodebb
    6
    1
    1 Votes
    6 Posts
    2k Views
    Up to you really
  • Gettin Erors NodeBB

    Solved Configure nodebb eror
    7
    0 Votes
    7 Posts
    2k Views
    @phenomlab no forum is working goods. there is no eror message since yestarday.
  • MailGun Not Working NodeBB

    Solved Configure mail mailgun
    6
    1 Votes
    6 Posts
    2k Views
    @phenomlab did it i did not create smtp user on mailgun. everything is working now. [image: 1667569376261-6cc6061f-ed5d-41f6-8eb7-5d98f98b3706-image.png]
  • 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.
  • Iframely (Nodebb)

    Solved Configure
    40
    4 Votes
    40 Posts
    12k Views
    @DownPW This is now resolved. The issue was an incorrect URL specified in the Nodebb plugin. I’ve corrected this, and now it works as intended.