Closed (fixed)
Project:
DrupalChat
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2011 at 13:28 UTC
Updated:
10 Feb 2012 at 20:00 UTC
This patch adds a different way to provide usernames, using template_preprocess_username.
This will make it possible for modules like the http://drupal.org/project/realname to overwrite the username used in drupalchat, otherwise normal username is used. This way no dependency is made.
Saw that somone had requested the same for the 6 branch:
#1050254: Real name instead of username in chat
| Comment | File | Size | Author |
|---|---|---|---|
| use_template_preprocess_username.patch | 3.02 KB | olemsa |
Comments
Comment #1
nikkubhai commentedsub...any updates?
Comment #2
super_romeo commentedAny updates?
Comment #3
darklrd commentedFixed - http://drupalcode.org/project/drupalchat.git/commit/b2946ae!
Comment #4
kmare commentedHello,
with the latest update to beta3, I get an error creating a node with the following message:
"The username *Real Name* does not exist"Reverting to beta2, everything is back to normal. Any ideas?
Thank you in advance
Comment #5
darklrd commentedAre you using RealName module?
Comment #6
kmare commentedyes.. the realname module is used (version 7.x-1.0-rc2). Also something weird is happening using the following simple snippet in a custom block:
With drupalchat beta2, it would just report the username, but upgrading to beta3, it returned the realname without any other change on the site. Of course again, simply downgrading to beta2 returned everything to normal. I actually love the realname feature in drupalchat, but right now it looks like it's messing with other parts of the site.
Thank you again for the quick answer and of course this great module :)
Comment #7
darklrd commentedHave you upgraded the version of realname module as well?
Comment #8
kmare commentednope, not since 2011-Jul-24 (latest stable version of realname 7.x-1.0-rc2). The only thing that was changed was the upgrade to beta3 from beta2 of drupalchat.
Comment #9
darklrd commentedFixed - http://drupalcode.org/project/drupalchat.git/commit/4d871a1. Thanks.
Comment #10
darklrd commentedTry drupalchat 7.x-1.0-beta4. Thanks.
Comment #11
kmare commentedwow, that was fast! thanks a lot, I just upgraded to beta4 and everything looks like it's working properly again.
Thank you again :)