Modify "system" file


(marioMAN) #1

Hello guys

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.

Related post:


(Jeff Atwood) #2

Simply search the howto section for information on making plugins

https://meta.discourse.org/search?q=plugin%20beginner%20category%3A10