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
/printthread.php 16 require_once



UserSpice
Redirect before logger - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Redirect before logger (/showthread.php?tid=963)



Redirect before logger - anduse - 02-20-2018

h@,
join.php, rows 265-267: *lines edited*

Code:
Redirect::to($us_url_root.'users/joinThankYou.php');
Code:
if($act==1) logger($theNewId,"User","Registration completed and verification email sent.");
Code:
if($act==0) logger($theNewId,"User","Registration completed.");

Thus registration is not logged.
I changed to:

Code:
if($act==1) logger($theNewId,"User","Registration completed and verification email sent.");
Code:
if($act==0) logger($theNewId,"User","Registration completed.");
Code:
Redirect::to($us_url_root.'users/joinThankYou.php');


and registration is logged.
bra


Redirect before logger - mudmin - 02-20-2018

Thanks for this!



Redirect before logger - anduse - 02-21-2018

With pleasure. Thanks for your app!