I created a custom field (checkboxes) in Wordpress> Users> Profile Fields. My site is a free news site, so it collects news from 20 different sources via RSS and adds their ass messages to my Wordpress site. This is what my custom field looks like:

If you are only a visitor to my first page, I will show all the messages on the start page.
If you are a registered user; then you should be able to select and save from 20 sources that you want to read on the start page of my site. This can be selected and saved today, but only from the BP user settings page:

Now the problem with the user profile settings page:
a) I do not want to have a form on the "Profile> Edit" tab. I want my form to be on my homepage (above the news flow, for users to enter the system, of course) and, perhaps, someday in widgets - at least the most important thing is the freedom to place (and style) the form, where whatever I want.
b) The form includes the fields that I want to delete (name and description, that is, "sources" = field name), etc.
The user in the image above selected and saved for reading news from 2 different sources on my website. The code that handles this is on the start page of my index.php:
$sources = xprofile_get_field_data( 'sources', $current_user_id, $multi_format = 'array' ); query_posts(array('category__and'=>array($sources)));
Question Is there a way to get this form and update it from anywhere to enter the system? I donβt want to get attached to the idea of ββhaving only a form on the Profile Settings page. I want the user to form above my news feed on the home page of my site, so users get the feeling "Oh, I can set up a news feed if I create an account!" - and this should be done from anywhere for registered users.
php wordpress wordpress-plugin buddypress
Fernando redondo
source share