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

Handle problems or report system bug
Post Reply
Victor 123
Posts: 30
Joined: Sun Feb 25, 2024 4:46 pm

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

Post by Victor 123 »

:!: Please help a bro out🥺
samuel_anttunes
Posts: 29
Joined: Thu Mar 09, 2023 12:25 pm

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

Post by samuel_anttunes »

Try this


Enter Config

Code: Select all

<id_not> {{VAR(USER_ID)}} </id_not>
Victor 123
Posts: 30
Joined: Sun Feb 25, 2024 4:46 pm

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

Post by Victor 123 »

@samuel thanks I will give you feed back
Victor 123
Posts: 30
Joined: Sun Feb 25, 2024 4:46 pm

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

Post 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
Victor 123
Posts: 30
Joined: Sun Feb 25, 2024 4:46 pm

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

Post by Victor 123 »

@Samuel do you have another code or
Is anybody here who can help
User avatar
francisco
Posts: 62
Joined: Tue Mar 07, 2023 1:48 pm
Location: Brazil
Contact:

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

Post by francisco »

If you are the only user online of course nothing will be displayed
😴
User avatar
francisco
Posts: 62
Joined: Tue Mar 07, 2023 1:48 pm
Location: Brazil
Contact:

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

Post 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
😴
Victor 123
Posts: 30
Joined: Sun Feb 25, 2024 4:46 pm

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

Post 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
vikkas
Posts: 84
Joined: Sun May 07, 2023 9:28 am

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

Post by vikkas »

bro install Wapka themes and view codes, https://forum.wapka.co Wapka official forum.
Post Reply