Use user name not full names in multi recipient list


Home Forums Front End PM PRO Use user name not full names in multi recipient list

This topic is: Not Resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4560
    Carlene Jones
    Participant

    When I send messages, it puts in the members first and last name. My clients us user names and do not expose their full names. How can I just have user names show up?

    #4566
    shamim
    Keymaster

    So you want to show username instead of display name? Display name is for display, so please confirm so that i can write some code for you.

    #4574
    Carlene Jones
    Participant

    Yes, I need display names on the recipient list not true names.

    #4588
    shamim
    Keymaster

    Already this plugin showing display name.
    Please see screenshot to see the difference. Please let me know which one you want to show for your users in your website.

    Attachments:
    You must be logged in to view attached files.
    #4632
    shamim
    Keymaster

    if your php version 5.3+ add following code in you theme’s (child theme’s if any) functions.php

    
    add_filter( 'fep_filter_display_participants', function(){
    	$participants = get_post_meta( get_the_ID(), '_participants' );
    	return implode( ', ', $participants );
    	
    });
    

    this will show user id (as you suggested) in participants list.

    #4638
    Carlene Jones
    Participant

    Hi Shamim, I did that and it broke the program. But, I have contracted a programmer to work with my registration plugin and have that populate the nickname and display name with the userid, so I will be good on this. Thanks again for your help. You have been so responsive to my issues. I made the right choice choosing your PM plugin.

Viewing 6 posts - 1 through 6 (of 6 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.