so only be able to reply, not create a topic?
You can do that by enabling “Allow guest users without accounts to create topics and replies”
Steps:
Settings -> Forums -> “check to Allow guest users without accounts to create topics and replies”
But I warn you, doing that you may face spam problem. A lot of spams. I am doing SEO for a cleaning company website. In that website, developer left that function open. When I started working, It has more than 12k spam replies and topics. So, think again before doing that.
Thank you, omarsohrab, I found it. We only have 1 public thread as the so called “Guestbook”. So we think we will manage the spam.
@omarsohrab, is there a possibility to forbid guest to create threads?
@robin-w, I saw your Reply. That is exactly what I would like to know.
do you know how to add a function to a function file if I gave you the code ?
this should do it – make sure anonymous is turned on to allow creation, then this stops topics being created – ie the topic form being shown
add_filter ( 'bbp_current_user_can_publish_topics', 'rew_prevent_anonymous' );
function rew_prevent_anonymous ($retval) {
// prevent topic creation if user is not logged in
if ( !is_user_logged_in()) {
$retval = false;
}
return $retval;
}
if you don’t know how to add to the functions file, use this plugin and put the code in there
Code Snippets