Add checkbox custom profile field data to directory with links
-
Hey all,
Iv searched high and low for an answer to this, and have come close a few times…. i think. Basically i want to include a checkbox profile field into the directory listings [users choose categories on registration], but the same way its displayed on the profile as links to the member search. Displaying them as just text is easy:
bp_member_profile_data( ‘field=Catagories’ );
But how would i either use xprofile_filter_link_profile_data to filter the data like it does on the profile, or load the output from bp_member_profile_data( ‘field=Catagories’ ); into an array so i can use a foreach loop to output them as desired. Im by no means an expert php programmer, but i know the basics. Iv tried using preg_split to put the output into an array using commas as the pattern to no avail, but even then surely theres a better way. Using the xprofile_filter_link_profile_data filter somehow id have thought.
Before i get flamed, iv searched and searched both here and on a number of other WPMU/BP forums/support sites. Any help would be greatly appreciated
Cheers,
Gogger
- The topic ‘Add checkbox custom profile field data to directory with links’ is closed to new replies.