Front End File Management (Uploads) and Event Manager
Posted: Tue Dec 09, 2014 11:51 pm
We've built a site that is a secure, password-protected document repository, with access to documents controlled by membership in FEU group. Uploads has Categories that correspond to these FEU Groups. Combined with some additional user Properties we can show some users documents from multiple Categories, and the client is thrilled. I should note that this is the second iteration of this site - the multi-category feature was recently added.
The latest request is for a member of a group to be notified when a document is uploaded to their category. The Uploads module is only being used by site administrators to upload files for client viewing - the end clients (FEUsers) do not upload documents themselves. The wish to be notified when an admin person uploads to their category - basically a 'hi, we just uploaded new stuff for you!' notification.
I think I need a combination of a UDT with the Event Manager, along with some tweaking of FEU, to handle this, but I'm not sure I'll have access to enough information to produce the desired result. Here's what I envision:
1. A new FEU User Property is added (something like 'notify'), that will be used to denote the person to receive email notifications.
2. A UDT will look to see:
a. What Category the file was Uploaded to
b. Look within the corresponding Group in FEU for a user with the 'notify' flag
c. extract their email address
d. email them that a new file (along with it's particulars, like name and various field defs) has been uploaded.
Is this even possible? Any help is appreciated!
The latest request is for a member of a group to be notified when a document is uploaded to their category. The Uploads module is only being used by site administrators to upload files for client viewing - the end clients (FEUsers) do not upload documents themselves. The wish to be notified when an admin person uploads to their category - basically a 'hi, we just uploaded new stuff for you!' notification.
I think I need a combination of a UDT with the Event Manager, along with some tweaking of FEU, to handle this, but I'm not sure I'll have access to enough information to produce the desired result. Here's what I envision:
1. A new FEU User Property is added (something like 'notify'), that will be used to denote the person to receive email notifications.
2. A UDT will look to see:
a. What Category the file was Uploaded to
b. Look within the corresponding Group in FEU for a user with the 'notify' flag
c. extract their email address
d. email them that a new file (along with it's particulars, like name and various field defs) has been uploaded.
Is this even possible? Any help is appreciated!