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
  • Fixed background to nodebb forum

    Solved Configure nodebb
    25
    4 Votes
    25 Posts
    8k Views
    @Panda said in Fixed background to nodebb forum: Chatgpt told me the ::before method. Go figure
  • 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: The global Search option

    Solved Configure search nodebb
    5
    0 Votes
    5 Posts
    1k Views
    @mventures Yes, exactly. The other icon will restart NodeBB whilst the first icon I referenced will rebuild (recompile) it. The huge strength of NodeBB over Flarum (for example) is that the code is precompiled, and called once at boot. PHP’s code has to repeatedly reload code from source making it much slower.
  • NodeBB: Privileges for the Announcement channel

    Solved Configure nodebb
    6
    1
    1 Votes
    6 Posts
    2k Views
    Up to you really
  • 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.
  • NodeBB metadata

    Solved Configure nodebb
    4
    2 Votes
    4 Posts
    2k Views
    @phenomlab said in NodeBB metadata: @jac Are you sure ? https://www.google.co.uk/search?q=site%3Astockportcounty.fans&sxsrf=AOaemvLwnaZL-PliU_2dBOg_Eo1pMVhBjg%3A1638982328139&source=hp&ei=uOKwYeatBcOsad3yp7AE&iflsig=ALs-wAMAAAAAYbDwyLBSDcG5XYoFCKwQFhgz94wTxOcV&ved=0ahUKEwjm6dX71NT0AhVDVhoKHV35CUYQ4dUDCAk&uact=5&oq=site%3Astockportcounty.fans&gs_lcp=Cgdnd3Mtd2l6EAM6BAgjECc6CwgAEIAEELEDEIMBOg4ILhCABBCxAxDHARCjAjoRCC4QgAQQsQMQgwEQxwEQowI6BQguEIAEOggIABCABBCxAzoFCAAQgAQ6CAguELEDEIMBOgsILhCABBDHARCvAToICC4QgAQQsQM6BQgAELEDOgsILhCABBDHARDRAzoLCAAQgAQQsQMQyQM6BQgAEJIDUABYySZg0CdoAHAAeACAAW2IAa0NkgEEMjMuMpgBAKABAQ&sclient=gws-wiz Fair enough 🤪🤪.
  • 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.