Thread: Login Status

Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Login Status

    hi all,

    instead of showing the login status at the main page by displaying "Hi Guest! Would you like to log yourself in?" and the 'Guest!' text will change to the customer's first name upon login, can this be add also to somewhere else like at the header bar for example?! how can it be done, dr byte?!
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

  2. #2
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Default Login Status

    anybody?!
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

  3. #3
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Login Status



    just forget it!
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Login Status

    hmmm ... just saw this while sorting through the 1000 posts since I was last on....


    PHP Code:
    <?php if (isset($_SESSION['customer_id']) && $_SESSION['customer_first_name']) echo $_SESSION['customer_first_name']; ?>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 9 Jun 2015, 10:36 PM
  2. Customer login status
    By familynow in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 8 Nov 2011, 08:47 PM
  3. Store status 2 but no login or prices
    By Octavious8 in forum General Questions
    Replies: 3
    Last Post: 23 Jan 2011, 02:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg