A few members on my network have created usernames which have dots in them. It seems that this is preventing them from uploading a profile photo of themselves. I cannot find any way to edit their usernames (version 1.6). I read that one should never, ever delete a user. Any ideas what I should do? I need to get this sorted. Thanks in advance for any help. I'm a newbie by the way.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- tristanpeter@tristanpeter
tristanpeter - 0 likes
- tristanpeter@tristanpeter
tristanpeter - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- tristanpeter@tristanpeter
tristanpeter - 0 likes
- chuckz@chuckz
chuckz - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- slyhne@slyhne
slyhne - 0 likes
- Alexander Leschinsky@lazybadger
Alexander Leschinsky - 0 likes
You must log in to post replies.If you google this issue you will find that it has already been extensively discussed on this site.
If you are using Elgg 1.5 or above, there should be no problem deleting a user.
Hi, I did look at other posts and discussions and I found them to be confusing overall given the amount of them. That's why I wanted to be certain that it is ok to delete a user before I did so...and now I am :) Thanks
Is it okay if a message appears saying "sorry, we could not find the specified user" after deleting a member?
Yes - that shows that the delete worked.
Thanks a million Kevin. Good stuff!
So to be clear, there's no FIX to this, just have to take a loss and lose a member because they wanted to use a dot in their name? How about preventing dots from being used in the registration form in the first place...?
Just put a few lines of code in register.php top reject **any chars you want to block and throw an exception.
I have had good success changing the username in the database.
A rename does not mean dataloss for the user, unless he/she has uploaded photos with tidypics/files. In that case you could go to the Elgg data store directory and rename, but that's rather difficult.
Has anyone made the username field in register.php reject anything but a-z + 0-9? And if so, would you like to share it?
(Makes you wonder why this isn't standard in Elgg when it gives so much trouble)
Yes, it was done, but not in register.php
\engine\lib\users.php, string 1156 in 1.6.1
extend string with all unwanted chars in username (dot in your case)