in 6.x-1.3, realnames work properly with the following setup. After upgrading to 6.x-1.x-dev (including re-submitting every form in the realname configuration and rebuilding realnames), Realnames are not cacluated properly and default to usernames. (It is not any sort of theming problem; the realnames in the realname database table are all listed as usernames.)

Here's my configuration:
Server/core/module versions
PHP 5.2.10
MySQL 5.1.37
Drupal 6.17
Content Profile 6.x-1.0
Realname 6.x-1.x-dev
Version: $Id: realname.module,v 1.4.4.59 2010/05/26 21:10:01 nancyw Exp $

General tab

[x] Show realname in nodes
[x] Add node title to available fields
[ ] Overwrite user fields in view to show realnames

Title for own account: My account

[x] Enable realname search
[ ] Disable user search
[x] Include login name in search

[x] Override username theme
Maximum allowed username length: 256
[ ] Show "Not verified" for anonymous users

Fields tab
[x] Node title - weight: [ 0 ]
(All other fields unchecked)

Name pattern: %1

Modules tab
[x] Content profile

Bypass forms tab
comment_form name

Comments

xjm’s picture

Correction: it does appear to be related to the title field. Plain text fields seem to work.

xjm’s picture

Okay. The reason it doesn't work is that the line that adds the title is commented out:
http://drupalcode.org/viewvc/drupal/contributions/modules/realname/realn...

There's a reference to #606364: Author name instead of subject/title in forum topic list. It looks to me like the wrong patch is committed there... one that simply removes a line of code someone was having a problem with, with absolutely no regard whatsoever for why that line was there in the first place. The commit should be reverted and perhaps the patch in #25 of that issue used instead, or some other solution should be found.

I have resolved the issue for myself by simply uncommenting line 42 of realname_content_profile.inc, but obviously that doesn't help with #606364: Author name instead of subject/title in forum topic list.

cgmonroe’s picture

This might be related to: http://drupal.org/node/875972.

gapple’s picture

Can this be closed as a duplicate of #606364: Author name instead of subject/title in forum topic list then?

I've added a new patch to that issue that may resolve this issue properly. Please test it so that it can be improved / committed.

gapple’s picture

Status: Active » Closed (duplicate)

Closing this as a duplicate of #606364: Author name instead of subject/title in forum topic list

Reopen if you have additional information indicating that it is a separate issue.