[support] protecting time sensitive content for X days

Earnie Boyd earnie at users.sourceforge.net
Thu Apr 15 02:26:50 UTC 2010


neil at esl-lounge.com wrote:
> 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?
>

Maybe the Node Access module will help you?

-- 
Earnie
-- http://progw.com
-- http://www.for-my-kids.com


More information about the support mailing list