WebSite X5Help Center

 
Vitalii L.
Vitalii L.
User

Adding functionality login/logout plugin  en

Auteur : Vitalii L.
Visité 1382, Followers 1, Partagé 0  

Hello!
how to add to site using login/logout plugin such possibility:
- display text Hello "logged name" and logout button, in reason when client is loged;
- or Hello gest please login and login button if client not loged .

Is it posssible using this php code
<?php
$pa = new imPrivateArea();
$user = $pa->who_is_logged();
echo $user['realname'];
?>

Posté le
5 RéPONSES - 2 UTILE
JiPeR 48
JiPeR 48
Moderator

Hello All,

However, pay attention to the compatibility of the software version (...2021.5...).

J.P.

Lire plus
Posté le de JiPeR 48
Vitalii L.
Vitalii L.
User
Auteur

Thank You, but this suggestion not fit for me, because this plugin is not compatible with my version license.Currently available login logout plugin don't have these features.

Lire plus
Posté le de Vitalii L.
Incomedia
Elisa B.
Incomedia

Hi Vitalii, 

I confirm this function is available for the new version only, which you can possibly get here:

https://market.websitex5.com/en/users/1143018/offers

If you still want to use version 2019.1, however, you will need to integrate custom code, which we unfortunately do not offer direct support for. 

Thanks! Kind regards.

Lire plus
Posté le de Elisa B.