WebSite X5Help Center

 
Vitalii L.
Vitalii L.
User

Adding functionality login/logout plugin  en

Автор: Vitalii L.
Просмотрено 988, Подписчики 1, Размещенный 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'];
?>

Размещено
5 Ответы - 2 Полезно
JiPeR 48
JiPeR 48
Moderator
Лучший пользователь месяца FR

Hello All,

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

J.P.

Читать больше
Размещено От JiPeR 48
Vitalii L.
Vitalii L.
User
Автор

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.

Читать больше
Размещено От 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.

Читать больше
Размещено От Elisa B.