Forum Replies Created
-
I cant get it work too.
Same for the group external blog plugin…
Up! Anyone to help me? Thx
Hi Andy,
You’re the best!!
Yeah, it’s so simple when we have answers… :p
Thanks for your job, all Automatic projects rocks!
Good luck for the next!
Hi Modemlooper,
I think too, but dont works!!
I move it to “profile” but no change.
Hi
I don’t know how to do.
The default profile index :
<div id="item-body">
<?php if ( bp_is_user_blogs() ) : ?>
<?php locate_template( array( 'members/single/blogs.php' ), true ) ?>
<?php elseif ( bp_is_user_profile() ) : ?>
<?php locate_template( array( 'members/single/profile.php' ), true ) ?>
<?php elseif ( bp_is_user_activity() || !bp_current_component() ) : ?>
<?php locate_template( array( 'members/single/activity.php' ), true ) ?>
<?php elseif ( bp_is_user_friends() ) : ?>
<?php locate_template( array( 'members/single/friends.php' ), true ) ?>
<?php elseif ( bp_is_user_groups() ) : ?>
<?php locate_template( array( 'members/single/groups.php' ), true ) ?>
<?php elseif ( bp_is_user_messages() ) : ?>
<?php locate_template( array( 'members/single/messages.php' ), true ) ?>
<?php endif; ?>
<?php do_action( 'bp_directory_members_content' ) ?>
</div><!-- #item-body -->
And my try (but seems dont work) :
<div id="item-body">
<?php if ( bp_is_user_blogs() ) : ?>
<?php locate_template( array( 'members/single/blogs.php' ), true ) ?>
<?php elseif ( bp_is_user_profile() || !bp_current_component() ) : ?>
<?php locate_template( array( 'members/single/profile.php' ), true ) ?>
<?php elseif ( bp_is_user_activity() ) : ?>
<?php locate_template( array( 'members/single/activity.php' ), true ) ?>
<?php elseif ( bp_is_user_friends() ) : ?>
<?php locate_template( array( 'members/single/friends.php' ), true ) ?>
<?php elseif ( bp_is_user_groups() ) : ?>
<?php locate_template( array( 'members/single/groups.php' ), true ) ?>
<?php elseif ( bp_is_user_messages() ) : ?>
<?php locate_template( array( 'members/single/messages.php' ), true ) ?>
<?php endif; ?>
<?php do_action( 'bp_directory_members_content' ) ?>
</div><!-- #item-body -->
Ok, thank you man,
Your previously answer was very usefull! I’ll try some things too and post a message if i find solution
See ya
Hi Peterverkooijen,
Thanks for your help! This function works great!!
But I have another problem now! In the list member, if I want to show the “company” field near the name (in the loop), what is the function to call to have the member id?
Big thanks!