Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to list content relevant to a logged-in member’s interests (WAS: 1.2.6 upgrade – xprofile_get_fi

Playing around a little and added couple of little things:

`
if (is_user_logged_in() && xprofile_get_field_data(’13’ , bp_loggedin_user_id()) )`

Added the get_field in as a check to see if users had made any selections

If not added a final ‘else’ to provide convenient link to the edit screen (hard coded values to be adjusted)

`

Content of Interest

You have set no content of interest, if you would like to please visit your
<a href= "/profile/edit/group/4″>Content Interest settingsin your profile

`

Skip to toolbar