Is there a plan for a D7 release?

#1 auto_username.zip13.83 KBglennnz
Members fund testing for the Drupal project. Drupal Association Learn more


glennnz’s picture

13.83 KB

I've had a first go at upgrading this to D7

It doesn't work yet, I can't figure out what to do with lines 222 and 223:

  $full   = token_get_values($type, $object, TRUE);
  $tokens = token_prepare_tokens($full->tokens);

token_get_values() and token_prepare_tokens() don't exist any more.

If these two problems are solved, I think it;'s pretty close, does anyone have any ideas for this?



glennnz’s picture


geerlingguy’s picture


Dave Reid’s picture

I think you also may want to take a look at the Realname module for Drupal 7 which was rewritten to use the Token API.

mrbrookman’s picture

Any update on this? I need a solution. The Realname module won't work because I need to create the username automatically.

glennnz’s picture

I don't have time to continue with this at the moment, can someone else work on it?


Taxoman’s picture

Title: D7 » D7 port of Auto username
Priority: Normal » Major

How about putting up a request for more maintainers on the project page?

tonycpsu’s picture


Aldus’s picture

I could try to port the module to D7 in the spare time and take the manteinance for it.

mgifford’s picture

Thanks for stepping up to the plate @Aldus

Any progress?

cesareaugusto’s picture

Any progress?

nouriassafi’s picture

Okay I started work on this module. Give me a couple of days please.

nouriassafi’s picture

Status: Active » Needs review

Here is the Drupal 7 port of Auto Username:
Feedback is more than welcome!
Many thanks.

cesareaugusto’s picture

would it be possible to release it as a standard dev in the module page?

bryancasler’s picture

There might be a duplication of efforts here...

I've been using this module successfully since September. Updating it last week however did create a critical problem #1566418: Does not support legacy profile module from D6 to D7 upgrade

nouriassafi’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs review » Closed (fixed)
alexkb’s picture

I've just checked out the realname_registration module, and it does indeed look like a duplication of efforts. The main difference I guess, is that realname_registration is more user friendly, but less flexible, whilst auto_username is more flexible with its support of tokens and an api hook.

Whatever the case, I've now added a link to realname_registration to the auto_username project page with a bit of an explanation too.