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
Sending a signup link by email
#3
Ok, so you'll need a few files....

Save this file to your root directory as patch.php and run it once and delete it.
https://pastebin.com/ASEMLvfF

Save this file as usersc/join.php (NOT users, usersc). When you visit join.php the first time you'll need to set it as not private (uncheck the private box).
https://pastebin.com/HQvYgNNH

Replace the text in usersc/scripts/during_user_creation.php with the text of this file...
https://pastebin.com/mddHkGb0

What the stuff so far will do is let you do a link to usersc/join.php?ref=12342 and have that stored in the users table as refer (the last column in the db).

So how do you want these links generated? Do you want each user to be able to send a referral link or is it just you the admin doing it?
  Reply


Messages In This Thread
Sending a signup link by email - by eforbes - 09-24-2018, 02:55 PM
RE: Sending a signup link by email - by mudmin - 09-24-2018, 11:39 PM
RE: Sending a signup link by email - by mudmin - 09-25-2018, 12:02 AM
RE: Sending a signup link by email - by eforbes - 09-25-2018, 02:14 AM
RE: Sending a signup link by email - by eforbes - 09-25-2018, 03:30 AM
RE: Sending a signup link by email - by mudmin - 09-25-2018, 09:47 AM
RE: Sending a signup link by email - by mudmin - 09-25-2018, 10:34 AM
RE: Sending a signup link by email - by eforbes - 09-25-2018, 12:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)