Oct 19th, 2009, 10:03 AM
Hi Jah,
Yes, it does sound rather like the functionality offered by te Submission Accounts module, with the one small change being: new validation to confirm that the user is logged in for pages OUTSIDE of the script.
What you'd need to do is write a function to re-use the code in the module on the other pages you want to password-protect. The drawback is that they'd all need to be PHP pages.
To be honest, it's not really the best solution - what you really need is a content management system of some sort to handle the user accounts & permissions... hmmm! Sorry, I don't have any great ideas for you!
- Ben
Yes, it does sound rather like the functionality offered by te Submission Accounts module, with the one small change being: new validation to confirm that the user is logged in for pages OUTSIDE of the script.
What you'd need to do is write a function to re-use the code in the module on the other pages you want to password-protect. The drawback is that they'd all need to be PHP pages.
To be honest, it's not really the best solution - what you really need is a content management system of some sort to handle the user accounts & permissions... hmmm! Sorry, I don't have any great ideas for you!
- Ben