After a lot of fiddling around I still can’t seem to get this plug-in working right. There are no errors being shown in the browser. Replies post correctly. But there’s no sign of any attachments in the posts and the bb-attachments table is completely empty.
It’s really important that I have this feature working for a client by the end of the weekend. Is there anyone willing to help me out with my site? Payment available!
One of those weeks where everything I touch just breaks.
I just wanted to add my own low-tech solution to a similar situation. This is what I did to hide all my BuddyPress features (members, activity, etc) while keeping my pages and blog posts publicly accessible…
In my child theme, I copied the members/index.php, activity/index.php(etc etc) folders and files. Then in the index files, I surrounded everything inside the “padder” div (which displays all the content) with a is_user_logged_in tag like this:
<div class=”padder”>
<?php if (is_user_logged_in()){ ?>
(content guts go here)
<?php } else { echo “<h3>Members Only!</h3><p>Sorry. The page you have requested is for registered members only. Please visit our About page for more information on member registration. Thank you for visiting.</p>”;} ?>
</div>
PHP isn’t really my thing, so that’s probably not the best way of doing it, but it worked.