-
@mercime replied to the topic Author Posts in the forum How-to & Troubleshooting 11 years, 4 months ago
but i need to change permalink. i need to remove buddyblog and change in to posts.
@maan18 http://buddydev.com/buddypress/introducing-buddyblog-allow-users-to-blog-from-their-buddypress-profile/#comment-316231
-
@mercime replied to the topic Author Posts in the forum How-to & Troubleshooting 11 years, 4 months ago
@maan18 see how it’s done in this plugin http://buddydev.com/buddypress/introducing-buddyblog-allow-users-to-blog-from-their-buddypress-profile/
-
Henry replied to the topic show header item when user not login in buddypress in the forum How-to & Troubleshooting 11 years, 4 months ago
Your code is outputting the exact same line of code to both logged in users and logged out users:
do_action( 'bp_member_header_actions' );
The idea of an ‘if’ statement is to output different code based on certain criteria being met.
-
Henry replied to the topic show header item when user not login in buddypress in the forum How-to & Troubleshooting 11 years, 4 months ago
it should work, I have used this approach many times.
-
Henry replied to the topic show header item when user not login in buddypress in the forum How-to & Troubleshooting 11 years, 4 months ago
I’m not sure what you’re asking exactly but take a look at this:
<?php
if ( is_user_logged_in() ) {
// whatever you put here will be displayed if the user is logged in
} else {
// whatever you put here will be displayed when logged out
}
?> -
bp-help replied to the topic show header item when user not login in buddypress in the forum How-to & Troubleshooting 11 years, 4 months ago
@maan18
I am not certain I understand your requirement but you can try:
https://github.com/bphelp/private_community_for_bp_lite
@maan18
Active 2 years, 3 months ago