SMF Shop
SMFShop => Bugs => Topic started by: sasafetch on January 08, 2008, 05:30:35 pm
-
Hello! Let me say great job on the mods! I love the shop and the many features people here have been able to create! In my toying around with the shop, however, I think I may have found a possible bug.
I'm trying to make my own change display name item that changes the username, display name, and another name I have in a linked database for a game. On my site the three are linked, so it is imperative that a user has all 3 changed. Everything works smoothly with the item, but I think I may have found a problem with the change username item. The problem is that it doesn't seem that the username checks to see if a user name is already in use. As a result, you end up getting duplicate usernames...which sounds like a problem to me. This problem occurs both in the original smf shop change username item as well as my customized item. I believe smf checks against this and doesn't allow it, so I'm assuming it is unintended for the SMF shop to have this "repeated username feature". Is this a bug that I have stumbled upon? How would one go about fixing this?
I would imagine you could look up the database to see if the name already exists, but I'm a newb at php and don't know how exactly one would go about doing that....
-
Hi,
Indeed, this looks like a bug. I thought that updateMemberData checked things like this, but clearly it doesn't. I'll need to look into how to fix this, this is a pretty serious bug.
Thanks for reporting it.