CMS MADE SIMPLE FORGE

CGFEURegister

 

[#12241] Username in after_verify.tpl

avatar
Created By: Raymond Juillerat (raiyul) (raymond)
Date Submitted: Thu Jan 09 05:21:19 -0500 2020

Assigned To: Robert Campbell (calguy1000)
Version: 1.0.4
CMSMS Version: 2.2.13
Severity: Minor
Resolution: None
State: Open
Summary:
Username in after_verify.tpl
Detailed Description:
The template after_verify.tpl in the second line uses "$user->username", but
"$user" is not known.
To have the user-name, take "feu_smarty::get_username($feu_uid)", "$feu_uid" is
known.
Here my second line, corrected:

<h3>{$mod->Lang('msg_welcome')}
<span>{feu_smarty::get_username($feu_uid)}</span> <em>({$feu_uid})</em></h3>
instead (commented)
//   <h3>{$mod->Lang('msg_welcome')} <span>{$user->username}</span>
<em>({$feu_uid})</em></h3>


History