Email Confirmation
-
This is a great plugin! Thank you so much! I had to edit the ispconfig.php file for a couple things, and obviously creating additional shortcode functions requires some PHP coding knowledge, but I finally got a setup perfect for me! I would like to make one small recommendation though. If you are to release a new version (not that you need to in my opinion), could you replace the mail() function with wp_mail() for those of us that require SMTP to send out the confirmation emails, and possibly include an update client function that uses the username to modify the existing user. I’m including the function I used below in case you’d like to implement it. Then I’d only have to backup my additional PHP scripts! Here’s the update function:
public function UpdClient($options = [], $c_id){ $defaultOptions = array( 'locked' => 'n', 'canceled' => 'n' ); $options = array_merge($defaultOptions, $options); if(!array_key_exists('username', $options)) throw new Exception("Error missing or invalid username"); $this->client_id = $this->soap->client_update($this->session_id, $c_id, $this->reseller_id, $options); return $this; }
Thank you again for this amazing plugin.
- The topic ‘Email Confirmation’ is closed to new replies.