WebSite X5Help Center

 
Bjorn Andreassen
Bjorn Andreassen
User

Logged in user  en

Автор: Bjorn Andreassen
Просмотрено 1704, Подписчики 1, Размещенный 0  

Is there a script I can use that writes the name of the logged in user/users?I want to show the name of the user(s) logged in to the website.

Размещено
4 Ответы - 2 Полезно
Bjorn Andreassen
Bjorn Andreassen
User
Автор

I want to list all logged in users.

Читать больше
Размещено От Bjorn Andreassen
Andre E
Andre E
Moderator

That could be possible with some code, but before you do -and if- 
Have you thought about the privacy law, GDPR?

Читать больше
Размещено От Andre E
Bjorn Andreassen
Bjorn Andreassen
User
Автор

Hello Andre  

GDPR is no problem in this case  

Читать больше
Размещено От Bjorn Andreassen
Andre E
Andre E
Moderator

If you set this in an html object it will show the user name when he is logged in.

<?php echo $user['realname']; ?>

This was code from Paul, i am not very good with PHP strugling at the moment to get paymant in my own shop built in.....so maybe someone can help you with code for all user's....Or maybe this is already enough?

Читать больше
Размещено От Andre E