At line 3 changed one line |
This example is not exclusively a CrushTask scenario but it is using the same among others. |
This example is not exclusively a [CrushTask] scenario but it is using the same among others. |
At line 9 changed 5 lines |
1. Custom Form. This custom form is similar to the one used in [Self Registration]. On Preferences, Webinterface, Custom Forms page create a new form, ours is called notify_form. Add (drag it or use the + sign in front) a single Dropdown to the right side and customize it as follows: |
Label: arbitrary, we used Who to notify? |
Name: notify_who . This cannot have a space in it and will be used later at the notification event as a variable. |
Options: add email addresses as different options here. The first part before the : is the alias, and the second part is the value. This syntax is not obligatory, you can simply enter the email address in the field and that will be displayed and used. |
Required: Yes |
!1. Custom Form. |
This custom form is similar to the one used in [Self Registration]. On Preferences, Webinterface, Custom Forms page create a new form, ours is called notify_form. Add (drag it or use the + sign in front) a single Dropdown to the right side and customize it as follows: |
Label: arbitrary, we used Who to notify?\\ |
Name: notify_who . This cannot have a space in it and will be used later at the notification event as a variable.\\ |
Options: add email addresses as different options here. The first part before the : is the alias, and the second part is the value. This syntax is not obligatory, you can simply enter the email address in the field and that will be displayed and used.\\ |
Required: Yes\\ |
At line 18 changed one line |
2. User. We need to create a user in User Manager. For simplicity's sake, both Username and Password will be upload. This is important later when building the link for the visitors. |
!2. User |
We need to create a user in User Manager. For simplicity's sake, both Username and Password will be upload. This is important later when building the link for the visitors. |
At line 20 changed one line |
2.1 Upload-only interface. In User Manager, Quick Jump go to Webinterface. Enable the Available Customizations section by putting a checkmark in front of the section. Filter to Upload Only on the left side and double-click on the Upload Only Window option. Set its value to True. Save the user. |
!2.1 Upload-only interface. |
In User Manager, Quick Jump go to Webinterface. Enable the Available Customizations section by putting a checkmark in front of the section. Filter to Upload Only on the left side and double-click on the Upload Only Window option. Set its value to True. Save the user. |
At line 22 changed one line |
2.2 Applying the form for the user. Scroll down in the user's Webinterface section to the Forms, enable this with the checkmark in front of it, and select the notify_form. Save the user. |
!2.2 Applying the form for the user |
Scroll down in the user's Webinterface section to the Forms, enable this with the checkmark in front of it, and select the notify_form. Save the user. |
At line 26 changed 5 lines |
2.3. HomeDirectory Event. We need to create an event for this user. In Quick Jump go to Events. Create a new event (we called ours homedir_NO_DELAY)as follows: |
Action type: Run Plugin |
The event is triggered when the use Connects |
"Always do the event" -enabled |
"Do event immediately" - enabled. In the Plugin selector we select the HomeDirectory (User Defined) plugin. |
!2.3. HomeDirectory Event. |
We need to create an event for this user. In Quick Jump go to Events. Create a new event (we called ours homedir_NO_DELAY)as follows:\\ |
Action type: Run Plugin\\ |
The event is triggered when the use Connects\\ |
"Always do the event" -enabled\\ |
"Do event immediately" - enabled.\\ |
In the Plugin selector, we select the HomeDirectory (User Defined) plugin. |
At line 32 removed one line |
[attachments|homedir1.png] |
At line 34 changed 7 lines |
At the plugin config, the Path field needs to define a directory that will be the root of the upload folders. |
Set up the Directory Permissions as you wish, Upload, and Resume Transfers are essential, but you might want to enable the Create Folder too. These types of "anonymous" users won't see each other's data. |
Allowed Server Port: All |
Use Unique Time Stamped Folder option enabled, variable sequence: {MM}{dd}{yy}{HH}{mm}{ss}. , |
Username matching: * |
Only build VFS in memory - enabled |
Only run if configured for a login event - enabled |
At the plugin config, the Path field needs to define a directory that will be the root of the upload folders.\\ |
Set up the Directory Permissions as you wish, Upload, and Resume Transfers are essential, but you might want to enable the Create Folder too. These types of "anonymous" users won't see each other's data.\\ |
Allowed Server Port: All\\ |
Use Unique Time Stamped Folder option enabled, variable sequence: {{{ |
{MM}{dd}{yy}{HH}{mm}{ss} |
}}} |
Username matching: *\\ |
Only build VFS in memory - enabled\\ |
Only run if configured for a login event - enabled\\ |
At line 42 changed one line |
[attachments|homedir2.png] |
[attachments|homedir.png] |
At line 44 changed one line |
2.4 Email notification event. Similarly to the previous event, we need to create a new one for sending the email notification to the selected contact person. Configure the event the following way: |
!2.4 Email notification event |
Similarly to the previous event, we need to create a new one for sending the email notification to the selected contact person. Configure the event the following way: |
At line 46 changed 5 lines |
Action: Run Plugin |
When this user: Uploads |
Always do the event |
Do event after user: Disconnects all sessions |
CrushTask (User Defined) |
Action: Run Plugin\\ |
When this user: Uploads\\ |
Always do the event\\ |
Do event after user: Disconnects all sessions\\ |
CrushTask (User Defined)\\ |
At line 61 added one line |
{{{ |
At line 55 changed one line |
{line_end} - this variable sequence enlists all uploaded file paths in new lines. |
{line_end} |
}}} |
This variable sequence enlists all uploaded file paths in new lines. |
At line 68 added one line |
\\ |
At line 61 changed one line |
3. On Preferences -> Webinterface -> Login page, Header or Footer field insert a hyperlink containing the domain name or IP of the server and the credentials for the upload user like this: https://yourserver.com/?u=upload&p=upload |
!3. Hyperlink to the Login page |
On Preferences -> Webinterface -> Login page, Header or Footer field, insert a hyperlink containing the domain name or IP of the server and the credentials for the upload user like this: https://yourserver.com/?u=upload&p=upload |
At line 80 added 10 lines |
|
A possible result: |
|
[attachments|result.png] |
|
[attachments|result2.png] |
|
[attachments|result3.png] |
|
Naturally, you can customize the link's appearance forward, this is just a simple draft. |