X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   What Does The Variable $newbie Mean? (https://forum.x-cart.com/showthread.php?t=18801)

RyanD789 12-21-2005 09:52 AM

What Does The Variable $newbie Mean?
 
I can't find where this variable is created or assigned. Help!

Thanks,
Ryan

balinor 12-21-2005 10:06 AM

It means a non-registered customer. Please put your x-cart version in your signature per the forum rules.

RyanD789 12-21-2005 10:14 AM

So what is the difference between $login, $registered, and $newbie then?

Thanks,
Ryan

shan 12-21-2005 04:07 PM

as it says

$login = user logged in
$registered = user registered
$newbie = neither of the above

RyanD789 12-23-2005 01:20 PM

Still confused.

How can a person be logged in, but not registered? Also, if they are not logged in, how can we tell if they are registered? Isn't that the same thing?

Also, if they are not registered, doesn't that make them a newbie by default, so (if $registered == false) would be enough, not needing a new variable?

Thanks for your help.

Ryan


All times are GMT -8. The time now is 05:43 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.