We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9359
    • 128 Posts
    Hello everybody,
    i have a big issue with LoginPE:
    i have this call
    [!WebLoginPE? &type=`register` &regType=`instant` &registerTpl=`Form-Registrazione` &groups=`QualityTime` &liHomeId=`1` &regSuccessId=`1` &customFields=`regione,provincia` &regRequired=`email,username,fullname,password,regione`!]

    the registration step is ok, the user is saved in database, but when the user is logged-in, the placeholder like this [+user.fullname+] don't work... i have placed this placeholder in my home page template for display a customised message to user that is logged...

    Any help is very helpfull
      "Destiny is not a matter of chance, it's a matter of choice"
      • 36533
      • 65 Posts
      nuwebstudios Reply #2, 12 years ago
      Use this in a snippet to get the user's full name:

      $full_name  = $_SESSION['webFullname'];
      return $full_name;

      Or this in a snippet to get the username:

      $short_name  = $_SESSION['webShortname'];
      return $short_name;