I made an initial pass at porting this to Drupal 7. It seems work fine on a basic level, but some things still don't work.

1. I lost the autocomplete settings form and can't get it back,
2. I didn't have time to look into the theme_ function, so I'm not sure what that is doing or if it is behaving correctly.

Comments

theunraveler’s picture

Status: Active » Needs review
StatusFileSize
new12.85 KB

Resubmitting for testing.

theunraveler’s picture

Status: Needs review » Needs work
StatusFileSize
new12.85 KB

Geez...trying again.

nidble’s picture

StatusFileSize
new10.64 KB

If anyone was interested, I apply current patch and rewrite same part of this module to allow interaction with the 7.x version of references module. Sorry if current version don't make use of git, I promise to make a git patch soon.

musa.thomas’s picture

I try the patch and it doesn't work for me (I try with the module reference, user references) I don't see the widget.
my IDE say there some error /warnings:
line 90/91

  $typed_names = ur_autocomplete_parse_input($value);
 $usernames = ur_autocomplete_parse_input($value);

$value is undefined
At the line 118
_userreference_potential_references
is not a defined function.
I hope it can be help