I have 3 groups in membership_groups
but I need it on the signup page
the group list is hidden and the registration is forcibly inserted with group 1
anyone want to help me?
signup page
Re: signup page
Hi,
I am not sure what you want to accomplish. I do not understand your problem. Can you please rephrase it.
You have 3 groups - ok.
If it's allowed for new members to sign up, can't they choose the group?
If you want all "new members" to have "Group A" after sign up ("forcibly inserted with group 1" as you write) simply allow sign in to this group only. I am not sure, but can't this be done?
Or: Allow sign up and add all new sign ups by code to Group 1
Olaf
I am not sure what you want to accomplish. I do not understand your problem. Can you please rephrase it.
You have 3 groups - ok.
If it's allowed for new members to sign up, can't they choose the group?
If you want all "new members" to have "Group A" after sign up ("forcibly inserted with group 1" as you write) simply allow sign in to this group only. I am not sure, but can't this be done?
Or: Allow sign up and add all new sign ups by code to Group 1
Olaf
Some postings I was involved, you might find useful:
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
-
- Veteran Member
- Posts: 61
- Joined: 2017-03-12 09:24
Re: signup page
Hi Olaf
You're right, I expressed myself poorly
in the registration form, I would like to hide the groups drop-down menu
and the "groupID" value to be inserted in the membership_users table, always be "groupA"
You're right, I expressed myself poorly
in the registration form, I would like to hide the groups drop-down menu
and the "groupID" value to be inserted in the membership_users table, always be "groupA"
Re: signup page
Hi,
I am not sure, but isn't it possible to define for which groups a user can sign up? Yes, it is (just tested):
Simply set in your group 1 (where all new users belong to) the corresponding checkbox. Disable this checkbox on all other groups!: Then, once a new user want's to sign up, this user can choose only ONE group: IMHO this should be what you desire - is it not?
Olaf
I am not sure, but isn't it possible to define for which groups a user can sign up? Yes, it is (just tested):
Simply set in your group 1 (where all new users belong to) the corresponding checkbox. Disable this checkbox on all other groups!: Then, once a new user want's to sign up, this user can choose only ONE group: IMHO this should be what you desire - is it not?
Olaf
Some postings I was involved, you might find useful:
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
-
- Veteran Member
- Posts: 61
- Joined: 2017-03-12 09:24
Re: signup page
yes I did this
but I would like to hide the groups drop-down menu
and enter the groupID as if it were selected.
Olaf, thanks for your patience
but I would like to hide the groups drop-down menu
and enter the groupID as if it were selected.
Olaf, thanks for your patience
Re: signup page
Hi,
so what is the problem? When you remove (uncheck) the checkbox in the group 2 and group 3 setting, these groups should not appear.
You could also use javascript to preselect group 1 while on the sign up page and at the same time make the dropdown hidden...
But... it seems MUCH easier to me to simply disallow selecting a group at all and use a hook to assign group 1 to each new user by php code.
Olaf
so what is the problem? When you remove (uncheck) the checkbox in the group 2 and group 3 setting, these groups should not appear.
You could also use javascript to preselect group 1 while on the sign up page and at the same time make the dropdown hidden...
But... it seems MUCH easier to me to simply disallow selecting a group at all and use a hook to assign group 1 to each new user by php code.
Olaf
Some postings I was involved, you might find useful:
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button