Closed (fixed)
Project:
Mentions
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2010 at 13:37 UTC
Updated:
31 Dec 2012 at 09:10 UTC
IS there a way to integrate with RealName module?
Comments
Comment #1
tomhung commentedIf you have RealName installed you will get access to the [realame] token.
in my case on /admin/settings/filters/[id]/configure
Output:
Prefix = ""
Content = [realname]
Suffix = ""
Comment #2
zps commented10X
But this is only for the output line.
I need to have the same in the input line.
All over the site I use the realname. no one know the user name.
Comment #3
MauPalantir commentedI made a small modification to Mentions to integrate it with RealName, and to support RealNames with spaces when no end delimiter is given.
I am quite new to drupal so I would not recommend it to produlction use and would be very happy if more experienced ones reviewed my code...
first add a small helper class as wordcountheap.php to the module root for real name sorting:
Then replace mentions_find_users with this funtion:
Comment #4
decipheredWorks with D7 with nothing needed to be done, may work in D6 as well as you can change the output value token.