I manged to modify the file discourse/app/controllers/directory_items_controller.rb
So now people who have more that 5 posts read are shown in the directory.
To manage this I entered the container and modified the file there.
This is not a good solution since changes are lost after updates.
is it possible to do this with a plugin, I could not find any info regarding this.
All I need is to replace that file or apply a patch.
Any input is welcome.