[support] protecting time sensitive content for X days

neil at esl-lounge.com neil at esl-lounge.com
Wed Apr 14 22:42:24 UTC 2010


I am setting up a subscription site where there will be attachments to
each node that are time sensitive...within a couple of days, the info in
the attachments is more or less useless.

what would be the best way to prevent non-members gaining access to those
attachments for a few days.

I realise I could make a tpl file and wrap the file attachments div in
some sort of conditional php based on date/node creation time. Is there a
neater way?

Regards

Neil


More information about the support mailing list