WebSite X5Help Center

 
Gökhan Uçar
Gökhan Uçar
User

Login Name  en

Auteur : Gökhan Uçar
Visité 1590, Followers 2, Partagé 0  

Hi Everybody  ı put to my website login logout widget  and ı can create new user  and ı see users on the kontrol panel but ı can not see the user name on the website ı mean in the login widget

what ı have to do ? please help me

Posté le
6 RéPONSES - 2 UTILE
John S.
John S.
User

Hello Gökhan

You could try this :

<?php
$pa = new imPrivateArea();
$user = $pa->who_is_logged();
echo $user['realname'];
?>

If You put this in an HTML object on a page, then You will see the name of the one logged in.

Hope this was helpful

Kind regards

Schwartz

Lire plus
Posté le de John S.
Gökhan Uçar
Gökhan Uçar
User
Auteur

Thank you very much ı will try it

Lire plus
Posté le de Gökhan Uçar
Gökhan Uçar
Gökhan Uçar
User
Auteur

hi thanks for your answer

and can you explane me short how? where?

if it's possible

Lire plus
Posté le de Gökhan Uçar
John S.
John S.
User

Hello Gökhan

The code in my former post, has to be placed on one or more of the locked/protected pages. Then - once You are logged in, You will see the name on all (locked )  pages. Outside the locked area, You can't use this method.

If You on a locked page place a HTML-object with the code, You will see the name instead of the code.

There is a thread : https://helpcenter.websitex5.com/fr/post/132687

This is something about the same I think. It is more complicated when You are outside the protected area.

I really mean that INCOMEDIA should make an "object" which could put username anywhere You want, and that You could use one of the object-names in (mail)forms and so. The object could have the options : Show -

Group

First and last name

Username

And then the designer could in the object choose : "First and last name" and then the users first and last name were shown where the object was placed. If not logged in, You could have a text in the object that says "not logged in".

Another post about Your question is here : https://helpcenter.websitex5.com/fr/post/76355

In short : Place the code in a html-object on one or more protected pages, and then You will see the name when logged in.

Kind regards

John

Lire plus
Posté le de John S.
Gökhan Uçar
Gökhan Uçar
User
Auteur

Hallo John S.

Thank you very much for your helping it's working well

but there is a different problem

after last update get error about create new user on the website

write on the left up "enable java" and don't create new user

why ı say after last update   ı do same configuration with 13.0.3.24 version it's working normal but with last one not

i write to incomedia also but they don't turn to me...

maybe do you know that problem

Lire plus
Posté le de Gökhan Uçar
John S.
John S.
User

Hello Gökhan

There seem to be a problem with the last update regarding java.

Other users have reported problems about this : https://helpcenter.websitex5.com/fr/post/166410

I advice You to write a new post and mark it private ( else You will have on the forum a duplicate post ).

In this new post, try to describe to INCOMEDIA, some more about the error ( some technical specs for Your PC, exactly when does it occur and ...) and add some screenshots.

This will maybe help the developers to find and correct the error.

They will normally answer within one work-day.

Hope You/we will be helped

Kind regards

Schwartz

Lire plus
Posté le de John S.