I was wondering if there will be a Drupal 7 version of the RealName module?
This module has been great in adding a friendlier environment to my site and we all look forward to it in Drupal 7!
I was wondering if there will be a Drupal 7 version of the RealName module?
This module has been great in adding a friendlier environment to my site and we all look forward to it in Drupal 7!
Comments
Comment #1
nancydruWhen RealLife™ settles down, I can get back to my modules. Yes, I intend to support this on D7.
Comment #2
YK85 commented+1 subscribing
Comment #3
YK85 commentedDrupal 7 Alpha 2 Released! http://drupal.org/drupal-7.0-alpha2
I'm sure a lot of work will be required and the maintainers are well aware of the changes but I came across this info and as Realname module overrides themed username I thought I should post it here: http://drupal.org/node/224333#theme_username
Thanks!
Comment #4
robby.smith commented+1 subscribing
any plans for this in the near future? can anyone in the community help?
Comment #5
BenK commentedSubscribing...
Comment #6
BenK commentedWanted to check in to see if any more work had begun on this...
Comment #7
artwiliam204 commentedsubscribing
Comment #8
BenK commentedAlso, I'd love to see support for Profile2 (http://drupal.org/project/profile2).
--Ben
Comment #9
azuledu commentedRelated with D7 port:
http://drupal.org/node/872380
Comment #10
nancydruI will try to get most issues resolved before porting to D7.
Comment #11
scotwith1t+1 subscribe
Comment #12
dave reidI have a simple working port for D7. Nancy if you're interested I can post the code here or post it as a 'realname light' module.
Comment #13
nancydruWhat are the differences?
What is your CVS ID?Found it. Feel free to commit it on a DRUPAL-7 branch.Comment #14
BenK commented@Dave Reid: If you could post your Realname D7 port on this thread that would be great. I've been working on the D7 version of Private Message module and would love to get it working with a D7 version of RealName as soon as possible.
Thanks,
Ben
Comment #15
dave reidWell it's a significant simplification from the D6 version.
1. Since we have format_username() in core for D7 there's no need to do any override stuff. Modules or themes that don't use it when supposed to should be patched rather than add support in realname.
2. Only relies on token system for replacement (still depends on the Token module for D7 so we can provide the UI).
3. Uses a simple cache table (cache_realname) to store generated results
4. Only supports one global realname pattern, but adds hook_realname_pattern_alter() so that other modules could alter the pattern used for a specific user.
If this sounds like it's an ok direction to move forward on a D7 branch, I'll add the code in, but I'll wait to hear back.
Comment #16
dave reidI uploaded the code to my CVS sandbox for review
http://drupalcode.org/viewvc/drupal/contributions/sandbox/davereid/realn...
Comment #17
nancydru1. From what I remember of that change, there may be some additional formatting options needed (plain text vs. link, "not verified", etc.) but we can check that as a follow up.
2. I'd love to look at how you did that so I can do it on other modules.
3. I originally tried the main cache table and it was slower than doing my own queries, but we can also worry about that as a follow up.
4 Great idea.
You already have CVS access. HEAD is garbage AFAIK, so go ahead and create the branch and set it to generate a -dev.
Thanks, Dave.
Comment #18
dave reidYeah the trick is format_username is just the actual username display. theme_username now uses the result of format_username and adds the extra stuff. I see know what you mean about not using the cache table. It makes a lot more sense to keep it in our own 'realname' table. I'll do some double checking to minimize upgrade path damage before I put the code into CVS later tonight or tomorrow.
Comment #19
nancydruMy current customer uses RealName for the authors on the company blogs. It is so convenient to be able to JOIN the table to pick up the names.
Comment #20
kiphaas7 commentedsub
Comment #21
BenK commented@Dave Reid: Have you created the D7 branch? I don't see it. I see that you've made a bunch of recent commits to the D6 branch, but nothing for D7. Can you create the branch sometime soon? I'd love to begin testing and also integration with Private Message module.
Thanks,
Ben
Comment #22
dave reidPorted code committed to CVS and a dev release has been created!
http://drupal.org/cvs?commit=447544
Comment #23
scotwith1tDave, can you have this put out on the project page so we can get some folks testing it? thanks for working on this!
Comment #24
nancydruIt is on the project page.
Comment #25
Danic commentedWill drupal.profile tokens be supported, too? I added the fields „First Name“ and „Last Name“ to the profile, but module.realname doesn't show the fields in the list.
Comment #26
dave reid@Danic: You added Field API fields or Profile fields? Either way, that support will come from the Token module in D7. See #691078: Field tokens and #125640: Profile tokens.
Comment #27
Danic commentedI added Profile fields. Thanks for the links, I am keen on seeing #125640: Profile tokens in the nightly builds!
Comment #28
dave reidFYI profile tokens have officially been committed to Token 7.x-1.x-dev.
Comment #29
dave reidNote there are still some core issues that could use reviews before we hit 7.0 that will help Real name compatability:
http://drupal.org/project/issues/search/drupal?status[]=Open&issue_tags_op=or&issue_tags=realname