I know there is the Real Name module, and I like it, however I like this module too as it does exactly what I need it to... replace usernames across the board and straight into the database without the deception of realname that the username doesnt exist, when in fact it does (and, having to worry that modules wont implement the realname theme() function)... is it possible we will see a D6 release?

CommentFileSizeAuthor
#7 377970-auto_username_to_D6.patch13.47 KBfax8

Comments

design.er’s picture

Oh yes, this would be AWESOME! :)

I have to subscribe.

s.daniel’s picture

espirates’s picture

+1 Subscribe

Crell’s picture

I am not working on a Drupal 6 version. I probably won't, and am only barely maintaining this module. If someone else wants to submit a Drupal 6 port of it, that would be a great first step to talking this module over, which I would encourage. :-)

dotidentity’s picture

Any updates?

asb’s picture

sub

fax8’s picture

Status: Active » Needs review
StatusFileSize
new13.47 KB

Attached you find iteration #1 of my attempt in porting auto_username to D6.

Some notes:

  • The code modifications in auto_username_configuration() are caused by the fact that I moved the token pattern help in a fieldset with the replacement pattern
  • I added some logic to check that pathauto is executed always after auto_username by altering module weights in system table. Anyway I'm not quite sure this is needed
  • I had to limit the type of the profile fields only to textfield: I doubt someone would use URLs, selections lists and things like that in user names

This is very young code, needs lot of testing. Absolutely not ready for production. Anyway I'm looking for review and testing. Any help really appreciated.

Thanks,

Fabio Varesano

fax8’s picture

Status: Needs review » Fixed

Committed the above code to a new D6 branch of auto_username. The new package should come out in some ours. If you are interested in this module please grab the 6.x-dev package and try it on your (non production) Drupal website.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.