Arrow

Username made by 2 words | Peter's Login Redirect | Forum

Back to the login redirect plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Username made by 2 words
May 6, 2010
4:05 am
pegroeg
Guest

Hi,

I have some users that have 2 words in the username e.g. Go Dany. The redirect for this does not work since it puts siteurl/GoDany instead of siteurl/Go Dany/.

It seems that it trims the username.

I would like to prevent users to use split username but I do not know how to fix this. In this case, I wouldn't have problems with this plugin.

Thanks,
george

May 13, 2010
8:38 pm
Peter
Admin
Forum Posts: 841
Offline

Try replacing line 74 in the plugin:

return $user->user_login;

with:

return rawurlencode( $user->user_login );