Sim Posted December 10, 2020 Share Posted December 10, 2020 Once approved: Requested by @Karma 1 Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 10, 2020 Share Posted December 10, 2020 Approved and added a comment 🙂 Quote Link to comment Share on other sites More sharing options...
Sim Posted December 10, 2020 Author Share Posted December 10, 2020 5 minutes ago, Dayo said: Approved and added a comment 🙂 I seen. Thanks. Can you reapprove my business mod as well. The change username mod only took less then 30 minutes and coded on my cellphone. Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 20, 2021 Share Posted March 20, 2021 This upload/install didnt work for me kept mentioning needs the JSON file when i unzipped it there is a folder within a folder which is the cause also your module.json refers to Attack just so your aware Sim... but the mod does work great 🙂 I should have looked on the downloads before trying to do my own Edit Username which worked to an extent I used the profile module to add the change username.. HOWEVER it didnt work correctly you could change your name to any ones name within the game... 1 Quote Link to comment Share on other sites More sharing options...
Sim Posted March 20, 2021 Author Share Posted March 20, 2021 2 hours ago, Uridium said: This upload/install didnt work for me kept mentioning needs the JSON file when i unzipped it there is a folder within a folder which is the cause also your module.json refers to Attack just so your aware Sim... but the mod does work great 🙂 I should have looked on the downloads before trying to do my own Edit Username which worked to an extent I used the profile module to add the change username.. HOWEVER it didnt work correctly you could change your name to any ones name within the game... Thanks. Ill update this mod once i get off work. $sel = $this->db->prepare (" SELECT * FROM users WHERE U_name=:username "); $sel->bindParam(":username", $this->methodData->username); $sel->execute (); $sel = $sel->fetch(PDO::FETCH_ASSOC); if(!empty($sel)) { return $this->html = $this->page->buildElement('error', array( "text" => 'Username already in use..' )); } According to my code, duplicate usernames should never happen. I will look into this further. Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 20, 2021 Share Posted March 20, 2021 1 hour ago, Sim said: According to my code, duplicate usernames should never happen. I will look into this further. That part worked fine on your version i was on about the username editor i made that one didnt work.... Yours works flawlessly Quote Link to comment Share on other sites More sharing options...
Sim Posted March 20, 2021 Author Share Posted March 20, 2021 1 hour ago, Uridium said: That part worked fine on your version i was on about the username editor i made that one didnt work.... Yours works flawlessly Oh, lol. Glad to hear. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.