New answers tagged

2 votes
Accepted

Event on new user created

Try $isNew = $user->isNewForSite.
James Smith's user avatar
  • 5,004
1 vote
Accepted

What is your strategy for users accounts when upgrading Craft?

I suspect everyone would have slightly different ways of approaching this according to their appetite for risk, but if you're anything like me, I originally didn't realise that re-running the upgrade ...
James Smith's user avatar
  • 5,004
2 votes
Accepted

Saving custom fields of user with Ajax request

I wager this is the problem: var fields = []; fields['nickname'] = 'Nickname'; JavaScript doesn't have associative arrays like PHP. The fact that this works at all is only a quirk in JavaScript – ...
MoritzLost's user avatar
  • 11.1k

Top 50 recent answers are included