• I am running the latest version of CubePoints.

    In the “Manage” and “Add Points” section, I’d like to show the user’s actual name, and not the username they chose. Please advice me on how to change this in the plugin php. I am comfortable making changes to the php, I just don’t know what to change. Please help!

    Thanks!

    https://www.ads-software.com/extend/plugins/cubepoints/

Viewing 1 replies (of 1 total)
  • myCred

    (@designbymerovingi)

    To change the name displayed under “Manage” you would need to to edit your cp_admin_manage.php and change on line 27:

    $username = $user->user_login;
    to:
    $username = $user->display_name;

    Regarding the “Add Points” section. You would need to change cp_admin_add_points.php on line 105:

    jQuery('#cp_add_points_modify_userid').html(data.user_login);
    to:
    jQuery('#cp_add_points_modify_userid').html(data.display_name);

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: CubePoints] Display user Full Name instead of User Name’ is closed to new replies.