I do know how but not only using HTML. That will require an extension as you want to exclude the posts from the user's view.
It has loopholes tho. One would be accessing it by direct link (if someone sends you the link in PM for example).
This can be checked and to return an error such as "This user "username" is currently in your foes list please remove them to see the topic", etc.
Then you want to exclude them from the search results. Then you need to exclude them from the forumlist view (last post).
My method was simple using the available variable to return if the poster is or isn't your foe. If you're thinking of writing an extension you can hide those posts directly from the database with no HTML edits.
You can even exclude them from the online users list, member list, block their profiles entirely. So you will never see them again.
I am not sure if I want to get involved in such extension but I will keep that in mind.
It has loopholes tho. One would be accessing it by direct link (if someone sends you the link in PM for example).
This can be checked and to return an error such as "This user "username" is currently in your foes list please remove them to see the topic", etc.
Then you want to exclude them from the search results. Then you need to exclude them from the forumlist view (last post).
My method was simple using the available variable to return if the poster is or isn't your foe. If you're thinking of writing an extension you can hide those posts directly from the database with no HTML edits.
You can even exclude them from the online users list, member list, block their profiles entirely. So you will never see them again.
I am not sure if I want to get involved in such extension but I will keep that in mind.
Statistics: Posted by Anișor — Wed Jan 08, 2025 7:51 pm