This should be the default position ie not logged in can view, but only logged in reply.
Check your forums (dashboard>forums) and pick any one of your forms to edit
You should have :
Visibility : Public on the top right hand side
All the forums are set to public, but still can not read the topics when I click on them, could a plugin be causing this problem?
I edited content-single-topic.php and removed the ‘<?php if ( bbp_show_lead_topic() ) : ?>
<?php endif; ?>` The post shows up when I click on the topic, but now if I login and click a topic the post displays twice. I am also using a child theme so I wont break anything.
What I had before:
<?php if ( bbp_show_lead_topic() ) : ?>
<?php bbp_get_template_part( 'content', 'single-topic-lead' ); ?>
<?php endif; ?>
Hope this helps
I was able to fix this by using the following code:
<?php if ( is_user_logged_in() ) { ?>
<?php if ( bbp_show_lead_topic() ) : ?>
<?php bbp_get_template_part( 'content', 'single-topic-lead' ); ?>
<?php endif; ?>
<?php } else { ?>
<?php bbp_get_template_part( 'content', 'single-topic-lead' ); ?>
<?php } ?>