Hi,

Is it possible to use realname to autocomplete the author of a node on their real name? This would be useful for admin users not having to know the username of the person they want to put down as the author.

Any thoughts?

Comments

restyler’s picture

I think that 'authored by' is excluded :(
http://drupal.org/node/420886

Balbo’s picture

I have a similar problem. I use RealName for company profiles so that they can log in with email but the displayed one is the company name.

My editorial office can change the author of a node and would be great to put there the name of the company instead of the email used to login. Any suggestion?

jenlampton’s picture

I currently maintain a module which updates the "authored by" autocomplete to pull from values other than the user name (http://drupal.org/project/author_smart_name). I would love to see that module included as part of Real Name instead of being out there on its own.

I'll start on a patch for you when I have time, but if anyone else wants to take a stab at it that would be great!

Jen

JcX’s picture

Status: Active » Closed (fixed)

Hi all,

I've found a patch that fixes Realname autocomplete to Authoring Information nicely.
http://drupal.org/node/369334#comment-1260448

sylvaticus’s picture

Status: Closed (fixed) » Active
StatusFileSize
new30.42 KB

That patch doesn't work on my system:

[moodle@aabsrv ~/drupal/sites/all/modules/realname]$ patch < realname_autocomplete.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- realname.module Tue Dec 30 15:30:42 2008
|+++ realname.module Mon Feb 16 03:06:37 2009
--------------------------
Patching file realname.module using Plan A...
Hunk #1 failed at 47.
Hunk #2 failed at 255.
patch: **** malformed patch at line 86:

Any how, I managed to get the file merged manually (patch was quite short) but now I don't have any autocomplete functionality at all on node authoring.
I'm attaching the manually merged file (maybe I did some errors???)

hass’s picture