Jump to content

Rhuan

Retired Forum Member
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Rhuan

  1. Description Admin Alert Login allow all administrators receive one email when anyone login into whmcs admincp... You can enable/disable this alerts for some accounts, for example: 1- John 2- Dayana If you disable login alert for john, when he login into system nobody will receive email. Documentation included License 100% open source, you can edit all code and install in your own whmcs, but can't share or resell. Price 20 USD accept paypal, if you want this module please send pm.
  2. To change whmcs template go to Setup > General Settings Template > Choose your template
  3. Yes, can be... But the problem is how to get the email address of client use to try login in field username.
  4. Hi, thank you for answer my thread but, I think you don't understand I need to send emails to clients when login failed, like admincp when you insert incorrect password and receive one notification in email... Thanks!
  5. Hi... I'm trying to do one module to send one email to client when anyone wrong password account (like admin) But I'm having problem to get the email on input username, all data $_POST will be send to dologin.php My hook: <?php function hook_loginfail($vars) { if($_SERVER["REQUEST_URI"] = "incorrect=true"){ // echo $whmcs->get_req_var('username'); $command = "sendemail"; $adminuser = "Rhuan"; $values["customtype"] = "general"; $values["customsubject"] = "Login Failed"; $values["custommessage"] = "Olá clientname..."; $values["id"] = 1; // With one selection on database using WHERE emailofclient to get ID, Firstname... $results = localAPI($command,$values,$adminuser); if ($results['result']!="success") echo "An Error Occurred: ".$results['result']; } } add_hook("ClientAreaHeaderOutput",1,"hook_loginfail"); ?> I need the email of client to check on database if exist and get the id to send email address... Thank you very much!
  6. Hi... I'm trying to do one module to send one email to client when anyone wrong password account (like admin) But I'm having problem to get the email on input username, all data $_POST will be send to dologin.php My hook: <?php function hook_loginfail($vars) { if($_SERVER["REQUEST_URI"] = "incorrect=true"){ // echo $whmcs->get_req_var('username'); $command = "sendemail"; $adminuser = "Rhuan"; $values["customtype"] = "general"; $values["customsubject"] = "Login Failed"; $values["custommessage"] = "Olá clientname..."; $values["id"] = 1; // With one selection on database using WHERE emailofclient to get ID, Firstname... $results = localAPI($command,$values,$adminuser); if ($results['result']!="success") echo "An Error Occurred: ".$results['result']; } } add_hook("ClientAreaHeaderOutput",1,"hook_loginfail"); ?> I need the email of client to check on database if exist and get the id to send email address... Thank you very much!
  7. wbLoginRedirect Automatic Admin Redirect on Login for WHMCS Last item of this page...
  8. Hi, is it possible hide footer.tpl in homepage and anothers pages of whmcs ? Tks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated