The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
e-mail not verifying
#2
Ok. So on the first thing, the / is missing because it's not in your site url when you go to settings->email settings in the dashboard. This isn't your fault at all because the one that's in there as a demo doesn't have a / on it, but the tooltip shows it. Let me do a bug report for that.

As far as the email when someone registers, right now, you would have to do it in the usersc/scripts/during_user_creation.php file

If you go into users/views you will see a bunch of _email templates in there. You can copy one for your template

Then you would just do
Params is whatever variables you might want access to in the email. You could just do an empty array if you don't want to customize the email on every join.
$params = array(
'username' => $userdetails->username,
'sitename' => $settings->site_name,
'fname' => $userdetails->fname,
'email' => rawurlencode($userdetails->email),
'vericode' => $userdetails->vericode,
'reset_vericode_expiry' => $settings->reset_vericode_expiry
);
$to = rawurlencode("you@you.com);
$subject = 'Password Reset';
$body = email_body('_email_adminPwReset.php',$params);
email($to,$subject,$body);
  Reply


Messages In This Thread
e-mail not verifying - by LBC - 05-27-2019, 07:06 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 09:55 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 10:09 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 10:13 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 10:20 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 10:26 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 10:45 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 10:45 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 10:48 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 10:49 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 10:51 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 10:52 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 10:57 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 10:58 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 11:01 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 11:01 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 11:03 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 11:04 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 11:13 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 11:19 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 11:38 AM
RE: e-mail not verifying - by mudmin - 05-29-2019, 11:53 AM
RE: e-mail not verifying - by LBC - 05-29-2019, 11:55 AM
RE: e-mail not verifying - by LBC - 06-03-2019, 06:39 AM
RE: e-mail not verifying - by mudmin - 06-05-2019, 10:36 AM
RE: e-mail not verifying - by LBC - 06-05-2019, 10:43 AM
RE: e-mail not verifying - by mudmin - 06-05-2019, 11:10 AM
RE: e-mail not verifying - by LBC - 06-05-2019, 11:37 AM
RE: e-mail not verifying - by LBC - 06-12-2019, 10:20 AM
RE: e-mail not verifying - by LBC - 06-28-2019, 06:18 AM
RE: e-mail not verifying - by mudmin - 07-09-2019, 03:45 PM
RE: e-mail not verifying - by LBC - 07-10-2019, 11:34 AM

Forum Jump:


Users browsing this thread: 10 Guest(s)