Add member list to DB - Posted (2144 Views)
Starting Member
gazzaro
Posts: 7
7
Is it possible to add a list of members directly to the DB, with no or identical personal password? I could then turn subscriptions off for security reasons.
Thanks, Gabriele

<i>Gabriele</i>
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Forum Admin
HuwR
Posts: 20611
20611
not sure what you are asking, what have subscriptions got to do with security or lists of members, if you don't want subscriptions just turn them off.
Posted
Starting Member
gazzaro
Posts: 7
7
What I need to do is add a long list of students (just individual names and one standard password for everybody) to avoid having them to subscribe, if possible. I have tried adding just the names in the DB leaving passwords blank, but it won't work... Thanks, Gabriele
Posted
Forum Admin
HuwR
Posts: 20611
20611
right ok, you will need to write some code to do it as the password is encrypted, what you could do is register one user with the password you wish to use, you could then grabthe encrypted password for that user from the database and use it for all the other members. you will also need to set a few other colums to specific values in the database ( you could just use the record that you registered with as a template) also remember that usernames and email addresses are unique
Posted
Starting Member
gazzaro
Posts: 7
7
IT'S SUCH A BRILLIANT (AND NEAT) SOLUTION!!!
THANKS, Gabriele

Originally posted by HuwR
right ok, you will need to write some code to do it as the password is encrypted, what you could do is register one user with the password you wish to use, you could then grabthe encrypted password for that user from the database and use it for all the other members. you will also need to set a few other colums to specific values in the database ( you could just use the record that you registered with as a template) also remember that usernames and email addresses are unique
 
You Must enter a message