Add member list to DB - نوشته شده در (2145 Views)
Starting Member
gazzaro
مطلب: 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>
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Forum Admin
HuwR
مطلب: 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.
نوشته شده در
Starting Member
gazzaro
مطلب: 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
نوشته شده در
Forum Admin
HuwR
مطلب: 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
نوشته شده در
Starting Member
gazzaro
مطلب: 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
 
شما باید یک متن وارد کنید