Questions tagged [users]

Craft member accounts.

Read more in Craft's Users Documentation.

509 questions
18
votes
9 answers

Craft constantly logging out from admin area

While working in the Craft admin area, on a fresh install, I get logged out every once in a while. It makes the CMS unusable. I have tried: Clearing cookies Resetting the cache in the backend Sometimes it logs out after 1 pageview, sometimes…
Jason D
  • 1,132
  • 1
  • 9
  • 17
10
votes
1 answer

How do I change a user's password programmatically in a plugin?

I'm new to Craft and (attempting to) create a plugin so that I can import existing users from CSV. I'm referencing this method: https://docs.craftcms.com/api/v2/craft-usersservice.html#method-changepassword In my function, I'm using the following…
casey
  • 437
  • 2
  • 11
9
votes
1 answer

Use email address as username

Is there a specific or preferred way to set the username for new user registrations to be their email address? At the moment my user signup form contains both fields:
Niall Thompson
  • 1,199
  • 1
  • 11
  • 24
8
votes
3 answers

Craft Forum/Community options

Im curious to hear more about what any of you are using to build "community"/ "forum" messaging options into your craft cms site. From what I've found it seems there would be a couple of interesting options Socialize Plugin…
Keith Mancuso
  • 2,421
  • 16
  • 27
8
votes
3 answers

Comprehensive logging of user actions with Craft Pro?

I am considering a purchase of Craft Pro in place of a new ExpressionEngine build for a client. One of the client's requirements is that there be a comprehensive set of logs like Audit Pro of what each user is doing (logging on, deleting entries,…
epocsquadron
  • 183
  • 4
7
votes
2 answers

User profile public page

I'd like to manage my users (both active site users, and other employees at my client's company) via the Craft user management. I've added more profile fields, etc. But i'm wondering, is there a built in public profile page/route for users? I'm…
carbonjoetunis
  • 401
  • 4
  • 9
6
votes
1 answer

How can I prevent "spam" user registrations?

We recently launched our first site with front end user registration and we are getting a lot (not a ton, like 5 a day) spam registrations. See here: Im trying to find a way to cut down on these without doing something like a captcha but maybe…
Keith Mancuso
  • 2,421
  • 16
  • 27
5
votes
1 answer

How do I display the Image of an Author in a post?

This might be a stupid question... but I can't seem to figure it out. I'd like to show the photo of an author beside their entry. I thought the proper variable was... {{user.photoUrl}} ...until I logged out and my photo disappeared.
5
votes
1 answer

Single-sign on for multiple Craft sites

Does Craft support any form of single sign-on across separate installations? I don't think there is a native way of doing this, but does anyone have any idea how I would approach this? What I need is for users of Site A and Site B to be kept in sync…
Steve Rowling
  • 3,443
  • 10
  • 24
4
votes
1 answer

Custom fields on users

Is it possible somehow to add custom fields to the users in Craft? I'd like the users to be able to add a Bio. I know I can add a channel but wondering if I am missing something obvious or if this would be a good feature request? I'd like to add,…
Tim
  • 355
  • 1
  • 8
4
votes
1 answer

What's the simplest way of automatically activating/verifying user accounts?

I'd like to have my users automatically verified/activated so they can immediately login after registration. Normally this would be done through the automatic emailer, but I'd like to skip that. Are there any easy changes to do this, or will I have…
Joshua Ohm
  • 175
  • 1
  • 6
4
votes
2 answers

How to list all User Groups and Users

I'm nearly there on this one but could use some help. I want to list all User Groups, with all Users listed under each group. For bonus points, this all needs to be alphabetical (Group, then Users). Something like... User Group A User Name A User…
Ian Ebden
  • 894
  • 6
  • 12
4
votes
1 answer

User registration plugin listening

How can I listen in my plugin to see if craft()->on('users.saveUser', function(Event $event) { onsaveUser came from front end creation or control panel ?
joomkit
  • 2,014
  • 1
  • 13
  • 24
4
votes
2 answers

Redirecting after login based on user group

I'd like to control where a user gets re-directed after login based on the user group. That is, userGroupA logs in and is sent to /templateA/_entry, while userGroupB logs in and is sent to /templateB/_entry. I understand that postLoginRedirect can…
Nathan D Huening
  • 355
  • 2
  • 10
4
votes
2 answers

Author List, Only Users With Entry

I am trying to show a list of users but only if they have created a post in a certain section... the code I am using isn't working as expected. Perhaps I have the syntax wrong when it comes to the user model Help would be greatly appreciated. {% set…
Alan Miller
  • 780
  • 5
  • 12
1
2 3 4 5