Page 1 of 1

How can I make a user not to see him/her self in list of users?

Posted: Thu Feb 29, 2024 8:29 pm
by Victor 123
:!: Please help a bro out🥺

Re: How can I make a user not to see him/her self in list of users?

Posted: Thu Feb 29, 2024 10:02 pm
by samuel_anttunes
Try this


Enter Config

Code: Select all

<id_not> {{VAR(USER_ID)}} </id_not>

Re: How can I make a user not to see him/her self in list of users?

Posted: Fri Mar 01, 2024 3:53 pm
by Victor 123
@samuel thanks I will give you feed back

Re: How can I make a user not to see him/her self in list of users?

Posted: Fri Mar 01, 2024 7:51 pm
by Victor 123
@Samuel please the code prevents the user from visiting the page
I tried I set the page to Admin and users....
It wrote " Blank page " .... But when ever I remove it and add users only it displays

Re: How can I make a user not to see him/her self in list of users?

Posted: Fri Mar 01, 2024 7:52 pm
by Victor 123
@Samuel do you have another code or
Is anybody here who can help

Re: How can I make a user not to see him/her self in list of users?

Posted: Fri Mar 01, 2024 10:53 pm
by francisco
If you are the only user online of course nothing will be displayed

Re: How can I make a user not to see him/her self in list of users?

Posted: Fri Mar 01, 2024 11:43 pm
by francisco
I noticed now that you are trying to use the User Lister function, I thought it was the Online User, sorry about that.
Try this:

Enter Codes:

Code: Select all

<li>%id% - %username% - %regdate%</li>
Enter Config:

Code: Select all

<LIMIT>30</LIMIT>
<ORDER>new</ORDER>
<ID_NOT>{{VAR(USER_ID)}}</ID_NOT>
Header:

Code: Select all

<h2>Welcome, {{VAR(USER_NAME)@OR(Guest)}}!</h2>
<h3>Registered Users</h3>
<ul>
Footer:

Code: Select all

</ul>
Item will be visible for: All user


Example:

User is not logged in
Image

User is logged in (Francisco in this case)
Image

Re: How can I make a user not to see him/her self in list of users?

Posted: Sat Mar 02, 2024 6:11 pm
by Victor 123
Wow :shock: 😮 greate bro

Please another one or can we friends?

I need another code so that when I click a user it listed ....it displays there profile information.....just like on Facebook

Re: How can I make a user not to see him/her self in list of users?

Posted: Sun Mar 03, 2024 6:36 am
by vikkas
bro install Wapka themes and view codes, https://forum.wapka.co Wapka official forum.