Short answer – sure.
Long answer:
The information is stored in the [registered] field – see user section of manual.
You can use [if] to check the value of the field and display content accordingly.
Thanks for your response @polarracing
What are the date compare functions available? I have managed to display user registration date using the plugins, but I’m not sure how to compare.
`[set user_reg][user registered][/set]
[pass field=user_reg]
[if pass='{FIELD}’ value=today-7]
Show image.
[/if]
[/pass]’
First one issue with your code.
[set user_reg][user registered][/set]
[pass vars] YOU ARE PASSING A VAR NOT A FIELD
[if var='{USER_REG}’ value=today-7]
Show image.
[/if]
[/pass]
Check the date section in the [if post] section of the documentation for comparison options (in your case [before]).
-
This reply was modified 5 years, 7 months ago by
polarracing.
-
This reply was modified 5 years, 7 months ago by
polarracing.
-
This reply was modified 5 years, 7 months ago by
polarracing.
it works perfectly, thank you @polarracing
here it is in case there’s another noob like me looking for a similar function:
[set user_reg][user registered][/set]
[pass vars=user_reg]
[if var='{USER_REG}’ after='1 week ago']
[show image]
[/if]
[/pass]