If you are building an image sharing platform, you might want to restrict the number of uploads a user can make a day/week/month. If your platform is constructed such that images are shared by attaching them to an empty node via an imagefield, then Node Limit Module can do the job for you.

However, with the File Entity Access API just now being finished, the new way to build an image (or more generally file) sharing platform is to use File Entity Module and sharing files as files; without having to artificially attach them to nodes.

Are there any plans to generalize the concept of Node Limit Module to something like (File) Entity Limit Module? It shouldn't be too complicated to accomplish this with all the code for nodes working perfectly fine.

Comments

semei’s picture

Issue summary: View changes

different formulation

DuaelFr’s picture

I would love to help to build something like this but
- this module does not work perfectly so it will need more improvements,
- moreover, porting the code from nodes to entities is not so easy because each different entity uses different database tables and has its own properties,
- finally, I do not have as much time as I would like to invest in this module.

If you can provide some patches to acheive this I will review it.
If you want to co-maintain this module, it is also possible ; just ask.

Best regards.

semei’s picture

Unfortunately I am super new to coding, but I will look into it anyway. Maybe I can come up with some ideas.

Cross-posted this, hoping that I can convince some File Entity experts that this feature would be neat to have: Use Node Limit Module to build a File Entity Limit Module

semei’s picture

Issue summary: View changes

typo