User Group and Login option

Hi,

Can someone kindly provide some insight to the following two questions I have?

1.) How can I set the rights of registered users automatically? For example, if my friend registers on my website, I want him to be able to upload pictures immediately. In other words, how can a register user be in the Album Manager group automatically?

2.) Is there a way to add a login link to the website? I see a link for Register for this website but see no Login for existing users?

Thank you for your help.

Regards,
Steven

Comments

  • acrylian Administrator, Developer
    1) I don't think that is possible without doing extra coding but sbillard will know more I guess.
    2) Sure, place a link to `/admin` and you will be directed to the login form. For a logout link use this:
    http://www.zenphoto.org/documentation/plugins/_plugins---user_logout.php.html
  • Thanks Acrylian - by placing a link, you mean edit the php file? Apologies if this is a silly question.
  • acrylian Administrator, Developer
    Yes, I meant that. Place the link on that theme file you want it to appear. Please see also the theming tutorial if you haven't.
  • 1. In your theme do a `setOptions("register user" rights", );`.
    2. You can also use the "user-logout" plugin with the appropriate options set.
  • Thanks Acrylian/Sbillard - do i do the setoptions("register user" rights", <desired right>); in the index.php?
  • Yes, you can also just store them directly in the database. Or you can try last night's nightly build. If you have enabled the user_groups plugin you will be able to set a default group/template for the newly registered/verified users.
  • Thanks Sbillard - I am just a bit confused as to:

    1.) How do I update to the latest nightly build? I tried clicking on the update button in the admin panel and it says I am running latest version

    2.) I do have the user_groups plugin active but I don't see an option for me to set a default group/template for new users? Can you kindly advise as to where I can set this?

    Thank you for your help.

    Regards,
    Steve
  • acrylian Administrator, Developer
    1) Updating to the nightly build (which is no official release thus the update info) is like updating to any release. Info on our site in detail.

    2) If you did not update to the nightly build you of course don't see this new feature...
Sign In or Register to comment.