Hi @sbrajesh,
Thanks for helping me get that activity stream fixed on my profile tab.
I have one last thing that’s making me OCD.
How can I make the post form not available unless the user is logged in?
On all user profiles, the form is open to everyone who visits…they can’t post, but I think it will look better if the post form isn’t visible to logged out users.
Thanks for all your help!
Hi Joshua,
Thank you for asking.
In your custom activity page, at the top, check if you have a code like this<?php bp_get_template_part( 'activity/post-form' ); ?>
If you have it, please put it inside an if block like this
<?php if ( is_user_logged_in() ) : ?> <?php bp_get_template_part( 'activity/post-form' ); ?> <?php endif; ?>
That will do it.
Hope that helps.
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘ [Resolved] Activity Stream On Profile’ is closed to new replies.
This topic is: resolved