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
  • 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: Privileges for the Announcement channel

    Solved Configure nodebb
    6
    1
    1 Votes
    6 Posts
    2k Views
    Up to you really
  • restarting nodebb on boot

    Unsolved Configure nodebb
    3
    1 Votes
    3 Posts
    2k Views
    @eeeee said in restarting nodebb on boot: can I just run nodebb under nodemon for auto restarts? It’s a better method. Nodemon just looks for file system changes and would effectively die if the server was rebooted meaning you’d have to start it again anyway. Systemd is the defacto standard which is how the operating system interacts in terms of services, scheduled tasks etc.
  • 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]
  • 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.
  • 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.