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 } ?>
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
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 found a way to edit it with the s2member plugin.
https://wordpress.org/extend/plugins/s2member/