Cydh Posted July 5, 2018 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted July 5, 2018 View File Char Deletion Code for #3272 So the example usage for Sub-query part of Pull: 3272 can be tested by using this FluxCP Addon: Char Deletion Code for #3272. No source mod needed (iirc lol). The plot is to not using birthdate, email, nor pincode as deletion code for deleting character (the confirmation part after the char deletion date's turned blue). The code will be sent into the registered e-mail. This is not OTP (one true pair couple... errrr One-time Password) but has expiration time, so make sure your FluxCP has same timezone with your server timezone (don't ask me). Requirements Have this Pull Request merged into your working rAthena Pull: 3272 For FluxCP from https://github.com/rathena/FluxCP Tested only after https://github.com/rathena/FluxCP/commit/e0fa6a8347db17de99b3fe0926dc87c0769262fc Make sure your server enable to send e-mail You can edit the addons/delcode/module/create.php to disable Captcha check or merge this PR to your FluxCP https://github.com/rathena/FluxCP/pull/196 Installations Import table from char_delcode.sql into database that has your login table Copy addons/delcode directory to your FluxCP's addons directory Edit the char_deletion_code value to char_deletion_code: (SELECT `delcode` FROM `char_delcode` WHERE `account_id`=`login`.`account_id` AND `expired` > NOW() ORDER BY `id` DESC LIMIT 1) Copy data/templates/delcode.php to data/templates directory on your FluxCP's That's all Example Usage PS: The menu labels were edited Submitter Cydh Submitted 07/05/2018 Category FluxCP Addons Video https://www.youtube.com/watch?v=wJdkRYmcSyY Content Author Cydh 1 Link to comment Share on other sites More sharing options...
Recommended Posts