by mattmcguire 07 May 2014, 10:53
Would it be possible to incorporate the function get_username($userid) from the /includes/integration.php? That way we can tweak the results as necessary. In my case, the table I'm using has both firstName and lastName fields. Within the integration.php I have it concatenate the two and return that as the users_name:
$users_name = $row['firstName'].' '.$row['lastName'];
But it could be further tweaked to limit the results to a certain number of characters, or only show first names and last initials, etc.
This could give us a little more customization without having to alter our databases to include fields aren't necessary.
Thanks for the great work so far!