User has not posted for x days
HI,
I see that the notcies system allows you to show a notice to someone who hasnt posted in X days.
I am looking for somethig similar as a template conditional. So something like:
<in condition="user has not posted in x days">fu</if>
Is something like this is possible?
--------------- Added [DATE]1260284142[/DATE] at [TIME]1260284142[/TIME] ---------------
OK I see that there is a 'lastpost' field in the user table...
so this is obviously possible using TIMENOW but I need help with the conditional syntax please.
--------------- Added [DATE]1260285070[/DATE] at [TIME]1260285070[/TIME] ---------------
<if condition="$bbuserinfo['lastpost'] > (TIMENOW - 86400)">
When I try that I get an error saving the templates saying the > is a function that can be used in a confditional....
I think i have the "> <" signs mixed up but when i try "<" it doesnt seem to work
|