Re: Wire & Activity
For posting on a profile wire yes. On a profile wire:
item_id = user_id for the user you are posting a wire message to.
The wire messages are stored in wp_bp_xprofile_wire.
However, the wire component is generic and can be used on anything at all. For instance it’s used for groups:
item_id = group_id and messages are stored in the table ‘wp_bp_groups_wire’.
The purpose for component_name in the activity tables is for formatting. It will use the component_name to match a formatting function in the code, that will turn an activity entry into something readable and that you can print to the screen.