![]() |
Customer name in login message
In the authbox after a customer logs in it says "username is logged in!" - How can that be changed to list the customer's first and last name instead of the username?
V 4.1.3 Thanks! |
Re: Customer name in login message
In authbox.tpl
Replace: Code:
{$login} Code:
{$userinfo.firstname} {$userinfo.lastname} Hey Andrea! :wink: |
Re: Customer name in login message
Thanks - I found that code from the registration template and inserted it, but the name only shows on certain pages like the modify profile page, but not all pages.
|
Re: Customer name in login message
Must be a 4.1.3 thing, works fine in 4.0.17!
Post the authbox.tpl code, and a link to the site (if you can) when you get a chance. |
Re: Customer name in login message
check_useraccount.php
add Code:
$smarty->assign("login_lastname",$user_account["lastname"]); then in your template Code:
Welcome back {$login_firstname} {$login_lastname} ... that might do the trick. |
Re: Customer name in login message
OK, nevermind Andrea, I see what your talking about.
PhilJ - worked perfectly! |
Re: Customer name in login message
Thanks, Phil. That worked great! :)
|
Re: Customer name in login message
Phil do you have a fix for this in 4.1.9...I can't find the file check_useraccount.php?
|
Re: Customer name in login message
Found it in the include folder
|
Re: Customer name in login message
Got it to work great on 4.1.9.
Thanks Phil! |
All times are GMT -8. The time now is 03:11 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.