Hi everyone,

I'm looking for external help after open this support request and chat with some guys in freenode but noone can't help me to solve this (may be stupid?) problem.

When I'm trying to save the settings in (http://example.com/admin/settings/me) and change the default 'me' to '[user-name]' I'm getting this error message: The alias can only contain characters from a-z and A-Z, or one of the tokens specified in the "Replacement patterns for me alias" section.

I do not know what to do to fix ... that?

Thanks from Spain.

Comments

gregoiresan’s picture

I guess it might be a limit from the module. Tokens are not working as replacement pattern. But you can write a constant word. I put 'moi' in French. So, may be you write 'mi' in spanish. I think it is the only solution for now as the maintainer is not answering issues anymore.

killua99’s picture

Yes I actually try with a word w/o the [user-name] (ex: "asdasd") and that works well, So if the Token is not working as replacement who is working ?(jk). So the code need to be "hacked" ? or something like that? I was thinking is something wrong with the validation submit.

gregoiresan’s picture

You're probably right. And unfortunatly, I can't help u with the code as I'm not coder (it might be 100 times I'm saying it, I should learn...)

However, I have an alternative to your problem.

If I understand, you want the user-name instead of me, right ? So, you can achieve this by using "Subpath_alias" and "url_alter" modules.

What I did is:

uninstall 'me' aliases
install url_alter
install subpath_alias
install 'me' aliases
check the 'redirect to uid' option in the settings section of 'me' aliases

With this configuration you can use me in menus but actually see the username in the url.

fehin’s picture

Using user/me/blog took people to username/blog on my site. So this works fine.

nohup’s picture

Status: Active » Closed (works as designed)