Buddypress redirect members to member profile !
-
Hi,
First time here, and… Iam french and beginner (don’t associate french to beginner :p ) with buddypress so I need and Have a lot of questions about it.
My specs :
WP 3.6
BuddyPress 1.8.1
BuddyPress Docs 1.4.5
Gravity Forms 1.7.7
Gravity Forms MailChimp Add-On 2.3
Gravity Forms multilingual 0.9.3
Members 0.2.2
Showcase 1.4
Style Tweaker 0.11
WordPress SEO 1.4.13
WPML Multilingual CMS 2.8.2
WPML String Translation 1.7.1
WPML Translation Management 1.6.1– U can see my functions.php, a screenshoot about my members list page and my subscription form.
function my_annu() { if ( $brevet = xprofile_get_field_data( 'Brevet', bp_get_member_user_id() ) ) : echo '<div class="brevet">'; if ($brevet == "yes") : echo wp_get_attachment_image( '148' ); endif; echo '</div>'; endif; if ( $corporate = xprofile_get_field_data( 'Corporate', bp_get_member_user_id() ) ) : echo '<div class="corporate">'; echo "<h3>" . $corporate . "</h3>"; echo '</div>'; endif; echo '<ul class="detailsMembre">'; if ( $siteweb = xprofile_get_field_data( 'Website', bp_get_member_user_id() ) ) : echo '<li class="siteweb">'; echo wp_get_attachment_image( '156' ); echo '</li>'; endif; if ( $email = xprofile_get_field_data( 'Email', bp_get_member_user_id() ) ) : echo '<li class="email">'; echo wp_get_attachment_image( '150' ); echo '</li>'; endif; if ( $city = xprofile_get_field_data( 'City', bp_get_member_user_id() ) ) : echo '<li class="city">'; echo wp_get_attachment_image( '154' ); echo '</li>'; endif; echo '<li>'; ?> <a>"><?php echo wp_get_attachment_image( '152' ); ?></a> <?php echo '</li>'; echo '</ul>'; } add_filter ( 'bp_directory_members_item', 'my_annu' );
and my subscription code look likes ->
here fore the screenshootI displayed only a certificate (brevet), the name of corporate, a website (if own it), an email, a localisation… and a link to their member page but I need a link to their profile, I don’t need to go to their activity 🙁
1) on the “members list” page :
the link generate by “bp_member_permalink()” goes to member page but I don’t need to go to this page, I would like to redirect to /profile page2) on the “members list” page :
I would like 2 new filter :
– 1 with activities (selected during subscription as u can see on the screen shoot above)
– 1 with cities (selected during subscription as u can see on the screen shoot above)3) on the “member description” page :
this page displayed everything so I can show u what with screenshoot.
image of member description pageThank you
- The topic ‘Buddypress redirect members to member profile !’ is closed to new replies.