Adding functionality login/logout plugin
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
Hi, with the new "Login / Logout" object released by Incomedia (free version) you can do it without extra code:
https://market.websitex5.com/en/objects/live-preview/104a4f63-195c-4f71-a15d-2b4b2b8e5f3
Hi!
Here you can find a dedicated guide:
https://guide.websitex5.com/en/support/solutions/articles/44002291373
Thanks! Kind regards.
Hello All,
However, pay attention to the compatibility of the software version (...2021.5...).
J.P.
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.
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.