The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
Customise Welcome Email
#2
haha. Yeah. There's some trickery going on there. So the _email_template_verify is being pulled in on the join form.

On the join form, you'll notice that on line 68, we're getting $fname from Input::get('fname')

Basically what that's doing is taking their form input from the join form, sanitizing it, and giving it that variable. Because the verify email thing is required in on line 171 of the join form, you basically have access to any variables that were declared up to that point. Basically if you want access to anything they filled out on the join form, just do

$variable = Input::get('the name of the input you're grabbing');


If you need help working out any of your activation logic, I'd be happy to help.


  Reply


Messages In This Thread
Customise Welcome Email - by Aaron - 03-02-2017, 03:28 AM
Customise Welcome Email - by mudmin - 03-02-2017, 03:45 AM
Customise Welcome Email - by Aaron - 03-02-2017, 03:52 AM
Customise Welcome Email - by mudmin - 03-02-2017, 05:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)