i have a module(page) on my site where u need to be registered to see it. is it possible to restrict the user to only access the page once per week?
i have a module(page) on my site where u need to be registered to see it. is it possible to restrict the user to only access the page once per week?
Last edited by TarinC; 01-01-2006 at 05:02 PM.
Thats a tricky one. The only thing i could think of without having to code it yourself is too password protect that modules directly using your cPanel, then enable the leech protect and set it to stop after one login. Obvioulsy this is a bad way of doing it and im sure there are lots of other methods, but this is the only i way i can think of without googling it.
its a custom module... i know how to script a bit.
do u know the code to add the restriction?
No, i have no idea, i'm very sorry. I suggest a bit of Google. It usually sorts things out.
You could add a php scode to use the same code as lasted loged in where it adds the time and date to a new table for everyuser then make a php code that only alows it to echo <module> if Ladt View Date > 7 days old. You could do it so it ads the date and username when they first view the module then when it checks ur username in the table next time ou try to view it will not echo the module you are using.
Complicated Solution
:ughdance: ::Trev Is back:: :ughdance:X10Hosting is the best free host ever
i got no idea what u just said right there.
can u post an example?