• Resolved pavlivgroup

    (@pavlivgroup)


    Hello.
    In the standard fields, I found only a field for skype. But I also need to add such messengers as viber, whatsapp, telegram, discord. How to make fields for them?

    Thanks in advance for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @pavlivgroup

    Unfortunately, this requires customization on your end. Let’s see if others in the forum have done something similar and share their solution here.

    Regards,

    Thread Starter pavlivgroup

    (@pavlivgroup)

    Unfortunately, this requires customization on your end.

    Ok, maybe there is some kind of instruction on how to make them? Maybe such fields are expected in new versions of the plugin?

    Let’s see if others in the forum have done something similar and share their solution here.

    OK. I’m looking forward to it. And then he himself could not find.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Thread Starter pavlivgroup

    (@pavlivgroup)

    Thank you, I sent a request for your link, but for several days there has been no response. When will these fields be added and will they be added?

    I also found another base with a skype field. Skype has long been making all new logins of this type “live: .cid.e43ef186094fe555”, unfortunately if such a login is entered in the Skype field it is not saved. Thus, this field becomes useless since it is impossible to save the login in it.

    Thread Starter pavlivgroup

    (@pavlivgroup)

    Many thanks for the help. The Skype bug was fixed very quickly. The bug was fixed in less than a day. They also helped with the addition of viber, telegra, whatsapp buttons. Hopefully, in the new version of the plugin, they will already be by default.

    Now another unexpected question arose:
    In the user’s profile, by default, next to the avatar, there are buttons facebook, instagram, twitter. How to add skype, viber, telegra, whatsapp buttons there and of course remove facebook, instagram, twitter from there and move them lower to the profile?

    I was looking for this feature in the field settings, but it is not there. How to do it?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @pavlivgroup

    This requires customization on your end. Here’s an example code to add the website URL icon next to the Social icons:

    add_filter("um_builtin_all_user_fields","um_092221_website_url_social");
    function um_092221_website_url_social( $fields ){
    
        foreach ( $fields as $field => $args ) {
            if ( isset( $field ) && $field == 'user_url' ) {
                $fields[ $field ]['advanced'] = 'social';
                $fields[ $field ]['icon'] = 'um-faicon-globe';
                $fields[ $field ]['match'] = 'https://';
                $fields[ $field ]['color'] = '#96979a';
                
                
            }
        }
    
        return $fields;
    }

    You can also use the above code to unset the existing social icons.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @pavlivgroup

    …This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    …Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to make fields for messengers?’ is closed to new replies.