Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get user createdon date #2

Open
CamilleBeaute opened this issue Aug 16, 2023 · 1 comment
Open

Get user createdon date #2

CamilleBeaute opened this issue Aug 16, 2023 · 1 comment

Comments

@CamilleBeaute
Copy link

Is there a way to get users' createdon dates with this snippet?

@al5040
Copy link

al5040 commented Jul 7, 2024

Hello CamilleBeaute,

since the createdon field is not part of the user_attributes table in the database, it is not possible to output the field via the getProfile snippet. But you could use the getUsers snipped in this way:

[[getUsers? &tpl=`userTpl` &profile=`1` &id=`2`]]

Here for the user with id 2.

In the template, the chunk called userTpl you can get the createdon date with the placeholder [[+createdon]].

Regards Andre.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants