Hi,
in the bp-profile-message-ux.php I have added:
add_action(‘bp_directory_members_item’, ‘bp_profile_message_ux_thickbox’);
now the messagebox is opened when I click on the “Private Message” in members loop but the “send message” button doesn’t work because the
<input type=”hidden” name=”_wp_http_referer” value=””>
have a null value.
The members loop is very different from a profile page.
So a very different approach is needed.
It would be a new set of functions.
And you definitively don’t want to do things like this:
add_action('bp_directory_members_item', 'bp_profile_message_ux_thickbox');
Which adds thickbox for every listing in the members loop.
If or when I have some time, I’ll think about the new set of functions required.