Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
assignform.png 17.2 kB 1 09-Oct-2016 18:14 Ben Spink
png
registration.png 31.8 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
selfregister auto enable0.png 116.0 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
selfregister auto enable1.png 54.7 kB 3 20-Dec-2016 12:53 Halmágyi Árpád
png
selfregister auto enable2.png 22.9 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
selfregister auto enable3.png 22.3 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
selfregister auto enable4.png 63.2 kB 3 20-Dec-2016 12:53 Halmágyi Árpád
png
signupform.png 180.8 kB 2 09-Oct-2016 18:14 Halmágyi Árpád

This page (revision-11) was last changed on 29-Oct-2018 11:23 by Halmágyi Árpád

This page was created on 09-Oct-2016 18:14 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 7 added one line
{{{
At line 9 added one line
}}}
At line 9 changed one line
When this page loads, it looks at the URL to see the name of the HTML file. The default is "messageForm" and its fine to keep it this way. It then asks the server to give it the registration form named "messageForm" as long as it has been assigned to the "register" user. If it hasn't, you will just get a blank page.
When this page loads, it looks at the URL to see the name of the HTML file. The default is "messageForm" and its fine to keep it this way. It then asks the server to give it the registration form named "messageForm" as long as it has been assigned to the "register" user. If it hasn't, you will just get a blank page. If you do not use this custom login.html page, the registration can still be processed, its just a little less intuitive to the user that it was processed.
At line 13 changed one line
So for the two required items, they would be 'registration_username' and 'registration_password'. You can have more items, just look at a user.xml file to see other element names. So if you wanted to include email in the registration, you would do 'registration_email'.
So for the two required items, they would be 'registration_username' and 'registration_password'. You can have more items, just look at a user.XML file to see other element names. So if you wanted to include email in the registration, you would do 'registration_email'. If you want to prepend the user to one group you can use 'pendingSelfRegistration' as a dropdown box and set the possible group values in it. The user that way will be part of the selected group, just will need to be enabled by the group admin.
At line 17 changed one line
Now that you have the form defined, and the registration user created, you need to assign this form to the registration user.
Now that you have the form defined, and the registration user created, you need to assign this form to the registration user. You do this in the [User Manager]. Use the Quick Jump drop down to get to the WebInterface section. Then assign your form there.
At line 22 added 40 lines
Save all changes, and you are ready to test. When you login as the registration username, and go to that specific HTML page, this form will be loaded and sent in a 'registration' request mode.
{{{
http://www.domain.com:8080/?u=register&p=register&path=/WebInterface/jQuery/messageForm.html
}}}
This is what the form looks like for the user:
[attachments|registration.png]
When a user self registers, their account is created as a disabled user, and added to a specific group called "pendingSelfRegistration". This group will contain all users that signup in this way. You can then review users in the group, enable their accounts, and remove them from the group. Or you may simply delete the user if they are not approved.
----
You can also do more advanced things with this as well. You can attach events that send email notifications thanking users for registering, and for letting you know there is a user that is pending. This is done via the events section, and using an event for when a user "accepts disclaimer" as this is the same form.
----
If you need further customizations, you can customize the messageForm.html page with your own copy and use it instead. Just be sure to use the appropriately named form name based on the html file's name.
----
If you want to enable the self registered accounts without user interference, you can use the following event, on the register user. Set the path according to the machine that is hosting CrushFTP.
The path should be something like:
/Applications/CrushFTP8OSX/users/MainUsers/{registration_username}/user.XML
Or
C:/Program Files/CrushFTP8_PC/users/MainUsers/{registration_username}/user.XML
[attachments|Self Registration/selfregister auto enable0.png]
[attachments|Self Registration/selfregister auto enable1.png]
[attachments|Self Registration/selfregister auto enable2.png]
[attachments|Self Registration/selfregister auto enable3.png]
[attachments|Self Registration/selfregister auto enable4.png]
The text entered should be <max_logins>0</max_logins><email{registration_email}</email> or <max_logins>0</max_logins><email{registration_name}</email> if you used the user email for their name as well.
Version Date Modified Size Author Changes ... Change note
11 29-Oct-2018 11:23 4.55 kB Halmágyi Árpád to previous
10 20-Dec-2016 12:53 4.342 kB Halmágyi Árpád to previous | to last
9 09-Oct-2016 18:14 4.342 kB Halmágyi Árpád to previous | to last
8 09-Oct-2016 18:14 4.29 kB Halmágyi Árpád to previous | to last
7 09-Oct-2016 18:14 4.045 kB Halmágyi Árpád to previous | to last
6 09-Oct-2016 18:14 3.768 kB Halmágyi Árpád to previous | to last
5 09-Oct-2016 18:14 3.356 kB Ben Spink to previous | to last
4 09-Oct-2016 18:14 2.296 kB Ben Spink to previous | to last
3 09-Oct-2016 18:14 1.767 kB Ben Spink to previous | to last
2 09-Oct-2016 18:14 1.606 kB Ben Spink to previous | to last
1 09-Oct-2016 18:14 1.029 kB Ben Spink to last
« This page (revision-11) was last changed on 29-Oct-2018 11:23 by Halmágyi Árpád
G’day (anonymous guest)

OLD WIKI!!!#

New: CrushFTPv9#

OLD WIKI!!!#


CrushFTP8 | What's New

Referenced by
LeftMenu

JSPWiki