Add forum signature through Ultimate Member profile
I'm using Ultimate Member to replace the profile pages on the forum and everything is working well except I don't know how to let people add a signature to their forum posts.
I know how to create custom fields in UM profile form but how do I connect it to the forum signature?
@mcutting, maybe you are familiar with this?
I've just managed to do this with Ultimate Member. I created a custom field on my UM Profile page (entitled "um_forum_signature" and then have this function. I know there are a number of unnecessary lines of code, but I have done that for the benefit of the less technical people I have also working on the website.
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'];
$table = 'wpforo_profiles';
$data = array(
'signature' => $signature,
$wpdb->update($table, $data, array('userid' => $userid));