1. whitejedi86
  2. Support
  3. Friday, August 05 2016, 01:54 AM
Hy there, how can i add users to a specific group depending on a radio box? i have checked: add to group but after subscrition, the user is only set as registered, i have 2 groups beneath register: Teacher and Student

http://www.studimi.de/index.php/registrieren

i can give you login credentials in case you need
References
  1. http://www.studimi.de/index.php/registrieren
admin Accepted Answer
Admin
Hi,
i can give you login credentials in case you need
Yes please, with access we can check your configuration.
  1. more than a month ago
  2. Support
  3. # 1
whitejedi86 Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
You can use the form below the reply in "Site Details" tab, these informations are private.
  1. more than a month ago
  2. Support
  3. # 3
whitejedi86 Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 4
whitejedi86 Accepted Answer
Also i forgot to say that i have a Profile (Alias: profille) hidden filed where i also have some logic
  1. more than a month ago
  2. Support
  3. # 5
admin Accepted Answer
Admin
Hi,
sorry for late reply, it's a weekend for us and our offices are closed.

I found 2 problems,

Problem 1
now you have options like in field "Anmelden":

Lehrer|
Schüler


so condition 1 and condition 2 are not met because Lehrer| is different to Lehrer (see screenshot1)

Easy Profile accept also options like
Lehrer
Schüler

but to avoid problems with charset we recommend to use something like this
lehrer|Lehrer
shuler|Schüler

value|Text

see screenshot2 of tip for more details

Problem 2
You have conditions to add to usergroup in 2 fields, Anmelden (radio) and Profile (profille), this cause a conflict because conditions have 2 ways, I explain you an example:
- in registration I choose "Lehrer" in field "Anmelden".
- when I store registration Conditions in field "Anmelden" add me to group "Lehrer" but Conditions in field "Profile" remove me from this usergroup. This is 2 ways effect.
Condition on field "Profile" do this:
if equal to custom value "Lehrer" add to usergroup "Lehrer" else remove from usergroup "Lehrer" (2 ways).

Second, once i see the userprofile and click edit profile, i also see the hidden objects from student so... its kinda not working
Maybe this is due to bad condition, value is "Lehrer|" and condition is "Lehrer"

Third(should i open a new thread?) how do i see/view the documents that i uploaded? for example i am a student and want to see the the cv of the Teacher with could be word or pdf; I have found some aprox solutions via github+youtube but its not a direct way;
You can create a field of type "File" available only for Teachers called CV


so many questions i hope im not boring you to death
No problem, you are welcome :)
Attachments (2)
  1. more than a month ago
  2. Support
  3. # 6
whitejedi86 Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 7
whitejedi86 Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 8
whitejedi86 Accepted Answer
ps: about yesterday, i did not quite understand the rules, even if they are very clearly stated out, my logic is like this:
Radio box ->
Lehrer|Lehrer
Schüler|Schüler
If EQUAL to Lehrer, show ELSE hide
if EQUAL to Schuler show else hide
it seems to work since they store correctly into the DBS but only second gets stored correctly into the specified usergroup
  1. more than a month ago
  2. Support
  3. # 9
admin Accepted Answer
Admin
Hi, found the problem, in field "Fach 5" (alias: fah7) and in the field "Fach6" (alias: fah6) I found a conditions like this:
- if greater than custom value "0" show field "Stufe" and add to usergroup "Lehrer"
so if you not select value for these fields the users is always removed from Lehrer usergroup.
  1. more than a month ago
  2. Support
  3. # 10
whitejedi86 Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 11
whitejedi86 Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 12
admin Accepted Answer
Admin
Hi,
I found condition usergroup also on field "Fach 4", please fix it. if not works please check all fields.
  1. more than a month ago
  2. Support
  3. # 13
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.