Login Name
Autore: Gökhan Uçar
Visite 1787,
Followers 2,
Condiviso 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
Postato il
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
Autore
Thank you very much ı will try it
Autore
hi thanks for your answer
and can you explane me short how? where?
if it's possible
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/it/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/it/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
Autore
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
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/it/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