Cpo
El Presidente
Just Getting Started
Member Likes (0)
I am going to attach 2 screen shots. What I am trying to do is populate the info I have beside the member's thumbnail and name. I have added a few other snippets of info for them. I want them to show up on the list of members that have been selected in a group. As seen on screenshot 2. I have tried to copy over call code from first screenshot to code on second screen shot, and have failed repeatedly. Just looking for some fresh eyes. Any thoughts?
I know the styling is off on the second screenshot. I have decided on my thumbnail size so it screws it up a bit.
Screenshot 1 is a regular members list while screenshot 2 is a list of members that have been selected into a group.
Cpo

Responses (20)
Member (joined April 2012) Likes (0)
1
Member (joined April 2012) Likes (0)
2
Inactive (joined February 2012) Likes (0)
Hey Cpo,
I see what you are trying to do. How did you make them show on the Regular Members list? Is that the default one?
Let me know!
Member (joined April 2012) Likes (0)
<?php bp_member_profile_data( 'field=Primary Position' )?>I have tried to insert that into the same area of group/single/member and I have failed.
Member (joined April 2012) Likes (0)
Note- <?php if ( bp_get_member_latest_update() ) : ?> It takes this code. That call above was pulled from an additional method of member header custom code.
Inactive (joined February 2012) Likes (0)
Hey Cpo,
Let me forward this to a dev. Hold on. Thanks!
Member (joined January 2012) Likes (0)
Could you post the snippet of code you are copying (screenshot 1 right?) then explain a little more what info you are wanting to add, move, delete etc?
Member (joined April 2012) Likes (0)
This is the code that I used to customize the members page. What I want to do is take this info...
<?php bp_member_profile_data( 'field=Primary Position' )?><div><?php bp_member_profile_data( 'field=Graduating Class (ex. Class of 2012)' )?>-<?php bp_member_profile_data( 'field=City ' )?>,<?php bp_member_profile_data( 'field=State' )?>
from the code below and place it in the list of members after they have been accepted into a group.
Brief description- The site allows baseball players to sign up as members, place their specs on their profile. Colleges will then sign up as well, they will invite players into their "group". After they are in the group, Coaches will then have them for recruiting purposes. I want the above code to show beside the player(member) inside the "group" or in our terms inside the Recruit Center.
make sense?
Just looking for that info to show in that list as well as the member/slash player list.
Member (joined April 2012) Likes (0)
I can get this to show up- "><?php bp_member_name(); ?>
it is just the custom code
<?php bp_member_profile_data( 'field=Primary Position' )?><div><?php bp_member_profile_data( 'field=Graduating Class (ex. Class of 2012)' )?>-<?php bp_member_profile_data( 'field=City ' )?>,<?php bp_member_profile_data( 'field=State' )?>
that will not resolve.
Member (joined April 2012) Likes (0)
no luck eh?
Support Kangaroo (joined March 2011) Likes (0)
Greetings Cpo,
It appears that this ticket got away from us and Cole being a lead developer trying to assist.
I found it while rooting around in the bottom of the ticket system and fortunately it did not fall into the ticket system abyss.
I will see if I can get him back in here to address the additional coding you provided in answer to his question.
Cheers, Joe
Member (joined April 2012) Likes (0)
Thanks
Member (joined June 2012) Likes (0)
I've got this exact same problem, I hope we can get some pointers.
Member (joined January 2012) Likes (0)
Hey everyone this thread got lost in my inbox :(
I'm working up a solution for you using the bp-component files that are already included in fundraising. I just wanted to post in here to let you know Im working on it. I will post back shortly.
Thanks
Cole
Member (joined January 2012) Likes (0)
Ok for some reason I thought this was related to fundraising on accident. But lets see if we cant get this fixed up.
Can you try passing the arguments to bp_member_profile_data() as an array instead of a string just to humor a hunch.
<?php bp_member_profile_data( array('field' => 'Primary Position') ); ?>
Member (joined April 2012) Likes (0)
sorry ..didn't work.
Support Kangaroo (joined March 2011) Likes (0)
Greetings Cpo,
It can be pretty challenging to support other peoples work, but we do our best here to help you with any WordPress issues at all.
In a last ditch effort to help here before sending this to the Buddy Press mill or cast to the custom coding bin, I am going to see if I can get the WPMU Dev lead developer in here to look this ticket over and offer his advice/advise us of what he thinks should be done here.
Cheers, Joe
Member (joined January 2012) Likes (0)
honestly im not too sure whats happening. I haven't done a whole lot of work with custom buddypress user fields. I think the next step is to figure out whats happening inside that function. Is it just blank like nothing is there or is it spitting out and error.
<?php var_export(bp_member_profile_data( array('field' => 'Primary Position')) ); ?>Plop that in your theme file and see what it gives you.
Support Kangaroo (joined March 2011) Likes (0)
Greetings Cpo and Cole,
Sorry Cole I thought we were reaching the end of the line with what we could do here and was going to give it one last shot before giving up the ghost on this issue.
@Cpo does Cole's last suggestion help with this issue?
Please advise?
Cheers, Joe
Support Kangaroo (joined March 2011) Likes (0)
Greetings Cpo,
We have not heard back from you as to the status of this issue.
If you are still having an issue please let us know so that we may try to get you fixed up as soon as possible by choosing to check mark this ticket as unresolved below and posting any new errors or symptoms you are noticing.
This action will also bring your ticket up front back in plain view again within the ticket system.
Thank you for being a WPMU Dev Community Member!
Cheers, Joe
Become a member