Jump to content

FluxCP Addon: Char Deletion Code for #3272


Cydh

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

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

  1. Have this Pull Request merged into your working rAthena Pull: 3272
  2. For FluxCP from https://github.com/rathena/FluxCP
  3. Tested only after https://github.com/rathena/FluxCP/commit/e0fa6a8347db17de99b3fe0926dc87c0769262fc
  4. Make sure your server enable to send e-mail
  5. 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

  1. Import table from char_delcode.sql into database that has your login table
  2. Copy addons/delcode directory to your FluxCP's addons directory
  3. 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)
  4. 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
  • Submitted
    07/05/2018
  • Category
  • Video
    https://www.youtube.com/watch?v=wJdkRYmcSyY
  • Content Author
    Cydh

 

  • Upvote 1
Link to comment
Share on other sites

×
×
  • Create New...