I was able to set rule to unpublished after +30 days. But I would like to tweak my rule to give to my users the possibility to choose between posting for 2 weeks, one month or 3 months.
So, I guess that there would be an "if choice X, than unpublish after Y period of time". Can the field (to choose duration) be a text dropdown?
Can this be done without PHP? If so how?
So, I figured out that I can add a condition like this :
Parameter: Data to compare: [node:field-time-limit], Data value: 2 weeks
But since I have 3 choices for my ads (2 weeks, 1 month, 3 months), does this means that I have to make 3 different rules, one for each time limit? (it seems to make sense, but I'm not shure).
ThanksNote: I'm aware of the thread about "Tutorial 2: Publish content exactly 24 hours after it was created".