I'm trying to upgrade a site to use the log-on features of the program. Both for editors, and for users to modify their additions. I've never paid much attention to all this, since I wasn't using it on any sites, and know it will be much improved in the next version. But I need to make something work now.
1) users don't need to be registered to add links. (potential problem, I know).
2) users need to be registered, and have added their link as a registered user to make changes to their link. (see #1 above, but possibly able to get around it with a mod to the forget-password mod, to check email addresses, and send a validation code)
3) Editor log on, to edit user links.
Now, I know 3 or 4 people here have used this successfully, and have modified their sites to work this way.
What I'm looking for are any "gotchas" .... right now the only files I've modified are user.cgi, modify.cgi and add.cgi. I've not added all the required fields to them, _BUT_ do I have to modify any other scripts or templates to make this work?
I've used a munge of Widgetz, Eliots and Roberts mods to get the scripts to compile, and I'm not sure _if_ they are working yet. (This is not my site, I'm in the last stages of modifying someone elses site.)
I'd like to add in Eliot's password for the admin/build/etc files for added protection.
What I need:
1) editors to be able to edit any files in the Validation database, as well as files in the main database. but _ONLY_ those files. They can use (and currently do) use a non-public URL requiring a log-in. With the log-on working, this would then go through the normal user.cgi most likely, I would assume?
2) users can add links, but only modify links if they have a password/ID match, but those files still go to validate for editor approval. Add.cgi/modify.cgi
3) The Admin gets all the links that were "Edited" and can approve those, ignoring links that were added, but not "Edited" yet. I have most of the code for that working, just a few extra fields and tests, nothing biggie. It's #1 and #2 where I am, and expecting to, hit problems.
I'm asking because this is complicated for me by not having designed the site, or the templates, and having to do a lot of backtracking... and I know some things are template related, and other things are not. I'm just trying to get everything in one place, since I know I'm not the only one struggling to get this to work in this (or very similar) ways.
http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/
1) users don't need to be registered to add links. (potential problem, I know).
2) users need to be registered, and have added their link as a registered user to make changes to their link. (see #1 above, but possibly able to get around it with a mod to the forget-password mod, to check email addresses, and send a validation code)
3) Editor log on, to edit user links.
Now, I know 3 or 4 people here have used this successfully, and have modified their sites to work this way.
What I'm looking for are any "gotchas" .... right now the only files I've modified are user.cgi, modify.cgi and add.cgi. I've not added all the required fields to them, _BUT_ do I have to modify any other scripts or templates to make this work?
I've used a munge of Widgetz, Eliots and Roberts mods to get the scripts to compile, and I'm not sure _if_ they are working yet. (This is not my site, I'm in the last stages of modifying someone elses site.)
I'd like to add in Eliot's password for the admin/build/etc files for added protection.
What I need:
1) editors to be able to edit any files in the Validation database, as well as files in the main database. but _ONLY_ those files. They can use (and currently do) use a non-public URL requiring a log-in. With the log-on working, this would then go through the normal user.cgi most likely, I would assume?
2) users can add links, but only modify links if they have a password/ID match, but those files still go to validate for editor approval. Add.cgi/modify.cgi
3) The Admin gets all the links that were "Edited" and can approve those, ignoring links that were added, but not "Edited" yet. I have most of the code for that working, just a few extra fields and tests, nothing biggie. It's #1 and #2 where I am, and expecting to, hit problems.
I'm asking because this is complicated for me by not having designed the site, or the templates, and having to do a lot of backtracking... and I know some things are template related, and other things are not. I'm just trying to get everything in one place, since I know I'm not the only one struggling to get this to work in this (or very similar) ways.
http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/