Forum Replies Created
Wow you know your stuff hnla! I get what you mean and will have a look at the jQuery show/hide bit – do you know where i can find this information?
i found the details here for showing other profile groups – https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-show-multiple-profile-field-groups-on-register-php/
Cheers for all your help guys!
it worked wonderfully! thank you ever so much!
Wow you are so amazing!!! I can’t thank you enough! You are my star!!!! I am so so so so so so happy!!!!
Hi Hnla, thankyou for your reply.
With regards to the other thread i think that is solved now thankyou. Still having a few problems with the issue on this thread. I’m putting in the code you gave me in every place i can think of but still no luck. I hope it’s ok if i explain what i have done here and you can see if i’ve missed anything. Thank you in advance.
I have a members page on my wordpress/buddypress site – all working wonderfully. I have set up 3 other pages in wordpress which i want to show only specific members on. These pages are called DJs, Venues and Promoters. Each member when registering has to fill out the field of Business type. There are 3 business types – djs, venues and promoters. I want all the members who put in DJ on business type to show on the DJ page, the members who put venue as business type to go on the venue page etc.
So far i have 3 template .php files for each of the 3 pages. The code on the template pages is the same as the members.php file with the exeption of the directory name and the “ code. The loop directory here varies for each page.
With each of the loop directories i have copied the members-loop.php file and all i want to do is make each directory show its specific members. I’ve tried so hard to put in your code above into each of the respecitive loop directories but i’m obvoiusly missing something. Can you tell me where exactly i should be putting the code in each of these loop directories.
sorry hnla didn’t mean to cause any trouble by posting in another thread. I thought the two issues were slightly different. 1) to do with member directory and 2) to do with listing particular members on a certian wordpress page – not members page. will try above. Thank you.
I’ve got it! On members-loop.php i’ve put:
Business Type: “
So now all if have to figure out is who to get the ‘order by’ drop down menu on Members director to pick up this Business Type field and work! Check out http://www.ineedyourskills.co.uk/members/ to see.
I gave it a go but the members list just disapears now.
This is what i typed in:
<?php if ($member_business_type == 'dj'):
do stuff here;
endif ; ?>`
Did i type it in wrong?
I’m using buddypress 126.96.36.199 (latest version) and wordpress 3.0.1(latest version).
What i’ve done so far: I’ve gone to ‘Profile Field Setup’ on the WordPress Dashboard under the Link ‘Buddypress’ and added the fields ‘Business Type’ with a drop down box of three options – DJs, Venue or Promoter. So when users register they choose one of these business types. I wanted these to show up on the members directory so put in to members-loop.php this code:
//code inside the members-loop.php
$business_type= xprofile_get_field_data( “Business Type” ,bp_get_the_site_member_user_id());//fetch the text for business type
and i’ve tried:
Anyone have any idea where i’m going wrong?
I’m having the same issue and can’t find anything to help. I looked at: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/
and http://buddydev.com/buddypress/fetching-and-showing-only-specific-fields-from-buddypress-xprofile-data/ but none of them seem to be working for me. If you figure it out please post back. Cheers
thankyou Hnla I’ll give it a go! Cheers
I’m still looking for some help with listing members based on certain perameters. Can anyone help me please. Thank you
so i pasted code from webpage you recommended into members.php file which i am using as a template for one of the pages (promoters). i put a field in the profile of two of the members called business type, and gave each member a different business type – dj and venue. Then added this code “ to the code in members.php where it said to but… nothing has changed… any ideas where i have gone wrong.
Thank you Roger!! Your a star! I will try this out now.
okay i think i’ve figured a part of this out. The plugin ‘Members List@ by TernStyle http://www.ternstyle.us will allow you to list members. No i have to figure out how i can filter this list.
The code is:
so i think i should be able to put something in there. Any help would be much appriciated!
Thank you Roger you have been very helpful. I’ll take a look around and see what i can find.
I was looking to do it myself – i have created several wordpress sites and html and flash sites so i have some understanding and coding knowledge. Do you think there is a plugin out there that can help or even a basic tutorial that can help me? However if you think the only way i’m going to get this is by getting someone to build it for me i will do you suggested and hire a developer.