1

How can I completely hide and disable the name, url, and email fields in the "reply" a.k.a. comment form in bbPress so that users can participate anonymous in discussions without registering?

There is an excellent thread on WPSE but it was closed for being off-topic (third party plugins).

Also keep in mind this functionality is different than in WordPress Core.

I want to not only hide the fields in HTML, but also disable/disallow them so that spam bots also cannot use them.

Jesse Nickles
  • 1,435
  • 1
  • 17
  • 25

1 Answers1

0

This took a lot of research because of some inaccurate suggestions I found on bbpress.org. Incredibly, an old answer on WPSE from several years ago had a solution that still (mostly) works.

However, that solution only enables anonymous comments but does not actually hide the name, url, and email fields, so I had to add a bit more code...

Additionally, I wanted a function that could auto-generate random "names" for the users, so that at least some basic reference points existed in the discussions (e.g. Hey @Larry, I disagree with you) instead of having every single comment belonging to a user named "Anonymous" or whatever.

This fix is what I came up with but it's buggy and still a work in progress... I'm posting this answer now to avoid losing the draft I started to write here.

I will be coming back to update this answer during the next several days.

Jesse Nickles
  • 1,435
  • 1
  • 17
  • 25