Quote:
Originally Posted by amykhar
Is it an all or nothing thing with the old database? I mean, if they are in the database, do you want them to have access? Or, are there different levels of access?
|
I only want them to be able to edit their own record. They can't have access to anyone elses.
Quote:
Originally Posted by amykhar
I think going the custom field route in vbulletin will be easier. but it'll work either way. As long as you can corrolate which forum member = which custom script member, you'll be fine.
|
The only thing that bothers me about the custom field route is I think it would create two steps for me whenever I have to create a new record. Wouldn't I first have to make a new record in the database, then go into the user's vB profile and add info into the custom field.
On the other hand, if I just put their username or id into the new record I could just email them and let them login and do the rest.
Either way, I'm still not sure how I would create the log-in. Can I use the Deluxe vB User login mod? The example below restricts access based on usergroup. Would you just edit it this somehow to restrict by userid?
Code:
<?php
if ($vbulletin->userinfo['usergroupid'] == '6' )
{
echo "This is only visible to people in usergroup 6";}
?>
I guess the login page would also have to pass a variable like userid on to the page that retrieves the member's listing, that's also why I thought it might be better to add the userid or username to the contact table.