Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jbouwman

    (@jbouwman)

    Hi @mouli

    Thank you for replying. I guess custom coding is the solution. I’ll have a go at that or fly in some experts.

    Thanx again for having a look at this.

    Thread Starter jbouwman

    (@jbouwman)

    In addition,

    The filter (memberslist) doesn’t show any other companies then “Nu-Swift” and the second filter doesn’t show all the departments. There are (at this moment) seven departments registered, the filter only shows two. (Other companies or departments are not recognized). I’m puzzled.

    Thread Starter jbouwman

    (@jbouwman)

    Hai @champsupertramp,

    Thank you for your help.
    How can I sent you the screenshot(s)?

    What I can do is show you the piece of code I used for adding the extra fields in WP userprofile:

    /*--------------------------------------------------------------
    # Add extra fields to userprofile
    --------------------------------------------------------------*/
    add_filter('user_contactmethods', 'custom_user_contactmethods');
    function custom_user_contactmethods($user_contact){ 
      $user_contact['mobile_number'] = 'Telefoonnummer';
      $user_contact['organisation'] = 'Organisatie';
      $user_contact['department'] = 'Afdeling';
    	
      return $user_contact;
    }

    Now, when the value of ‘organisation’ = “Nu-Swift” then in the UM user profile card I see “Nu-Swift” appear in the tagline. If the value is anything else, then I see no ‘organisation’ in the tagline, as if the value is empty. The field ‘Department’ works fine. It doesn’t matter what the value is, it shows in the Tagline.
    The same for Emailadress en Mobile Number, those work fine.

    Settings in UM memberlist –> profile card (in Dutch):

    Profielfoto inschakelen (Yess)

    Omslagfoto inschakelen (No)

    Toon schermnaam (Yess)

    Toon tagline onder profielnaam (Yess)

    Kies de velden die in de tagline moeten worden weergegeven
    ‘Organisatie’
    ‘Afdeling’

    Toon extra informatie onder de tagline? (Yess)

    Kies veld(en) om weer te geven in het gedeelte met extra gebruikersinformatie
    ‘E-mailadres’
    ‘Mobiel nummer’

    Pictogrammen voor sociale verbindingen weergeven in het gedeelte met extra gebruikersinformatie (Yess)

    Verberg extra gebruikersinformatie in het onthullingsgedeelte (No)

    Any clues?

    • This reply was modified 5 years, 10 months ago by jbouwman.
    Thread Starter jbouwman

    (@jbouwman)

    Hey Three Sons (nice name 😉

    Thanks for your reply. This could be helpful. Do you know if I can set userinformation (in this case company-name) as a condition? If so it should work fine for me.

    Thanx again!

Viewing 4 replies - 1 through 4 (of 4 total)