Hi there.
I added some code the other day to enable Ultimate Member to add a signature to the profile (as this wasn't there as standard). However, it's not pulling through to members' posts in the forum - do I need to do anything to enable this to be pulled in?
Cheers,
Nick.
add_action('um_user_after_updating_profile', 'my_user_updating_profile_signature', 10, 2);
function my_user_updating_profile_signature($user_id, $args)
{
$userid = $args;
$signature = $user_id['um_forum_signature'];
global $wpdb;
$table = 'wpforo_profiles';
$data = array(
'signature' => $signature,
);
$wpdb->update($table, $data, array('userid' => $userid));
}
That came from a Ultimate Member forum and worked in as much as it added the field to the profile section in UM, but it's not appearing anywhere.
Cheers,
Nick.
Ok, I'll ask them. Is another way to get signatures added via Ultimate Member to WP Foro that doesn't require custom code?
If not, I'll message them directly to ask.