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
#6
Not exactly. So in your users/views/_email_newuser.php you have the whole top part right

So after </head> and before </body>, you would put something like
<p>Hey, you got a new user at <?=$sitename?>.</p>

Then cut all that php out at the bottom.
All of that would go inside usersc/scripts/during_user_creation.php
and in that situation it would be

<?php

$params = array(
'sitename' => $settings->site_name,
);
$to = rawurlencode("you@you.com");
$subject = 'You got a new user!';
$body = email_body('_email_newuser.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: 7 Guest(s)