WebSite X5Help Center

 
Vitalii L.
Vitalii L.
User

Adding functionality login/logout plugin  en

Author: Vitalii L.
Visited 1376, Followers 1, Shared 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'];
?>

Posted on the
5 ANSWERS - 2 USEFUL
JiPeR 48
JiPeR 48
Moderator

Hello All,

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

J.P.

Read more
Posted on the from JiPeR 48
Vitalii L.
Vitalii L.
User
Author

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.

Read more
Posted on the from 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.

Read more
Posted on the from Elisa B.