1. gigian
  2. Features Request
  3. Monday, July 14 2014, 02:07 PM
On my clients site i would like to do the following,
I would like to register two different types of users (simple users / admins)

I will do that with two seperate buttons on the main menu, (Register As User) and (Register as Admin).
But i would like admins to be able to search simple users but not vice versa and if possible not all fields to be visible when an admin is registering.

Can i do that ?
admin Accepted Answer
Admin
Hi,
to have 2 different registration type you can do this:
- Create hidden field (from Easy Profile) and set condition like this: if equal to 1 add to Admin usergroup
- Create first menu item for normal registration (menu type User Manager->Registration Form)
- Create second menu item for Admins of type System->External URL and set in the url the same of normal registration but add this "?alias_of_hidden_field=1". Example
/http://index.php/registration?alias_of_hidden_field=1
with this the hidden field assumed URL value, documentation at https://www.easy-profile.com/docs/27-set-default-value-in-registration-from-url.html

But i would like admins to be able to search simple users but not vice versa and if possible not all fields to be visible when an admin is registering.
Some tips:
- You can set Accesslevel on User List menu item, so you can choose who can see this menu item
- You can set Accesslevel on Fields by "visibility for" parameter. read the tips on this parameter.

I hope this can help. ;)
  1. more than a month ago
  2. Features Request
  3. # 1
klox7 Accepted Answer
Hi,

I also need to do this but when i put registration?fieldalias=1 in alias of menu item it saves as registration-fieldalias-1

Regards
  1. more than a month ago
  2. Features Request
  3. # 2
admin Accepted Answer
Admin
Hi,
you need to put link in URL parameter in menu item of type System->External URL, alias is generated by title.
  1. more than a month ago
  2. Features Request
  3. # 3
klox7 Accepted Answer
Ah, of course. Sorry and thank you.
  1. more than a month ago
  2. Features Request
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.