1
You are right. News 1.3.11 wants to use the login name in place where it should use the display name (it is new feature in XOOPS 2.2 to have a separate login and displayname). That doesn't work, so it gets an empty string in return, so it fall back on real name.
BUT:
I fixed it , in news/class/class.newsstory.php replace
Quote:
by this:
Quote:
You can find it around line 680
BUT:
I fixed it , in news/class/class.newsstory.php replace
Quote:
switch($option) {
case 1: // Username
$tblusers[$uid]=XoopsUser::getUnameFromId($uid);
return $tblusers[$uid];
by this:
Quote:
switch($option) {
case 1: // Displayname
$member_handler =& xoops_gethandler('member');
$thisuser = $member_handler->getUser($uid);
$return=$thisuser->getVar('uname');
$tblusers[$uid]=$return;
return $tblusers[$uid];
You can find it around line 680