| Pages: [1] |
|
|
Author |
Topic: Editing snippet-db by script (Read 2458 times) |
|
BridgeScore
Posts: 11
|
I am trying to upgrade to version 2.2.2 , I think that it is the lastest version I have an old version 1 and have applied for a new license number(they say up to 48 hours). I had a lot of automation edited into the old version and am changeing due to DHTML problem.
What I want to do is automatically create a new user or delete a user and update the "snippet-db" files. When some new signs up for my service. I want to restrict their directory for edit and upload, as well as a quota. Can you tell me which files need to be edited and what fields. Almost all the users will be Regular.
What especially need to know is how to generate the encyrpted password for the user. or a small php script that would generate the encrypted password passed to it so that I could place the output the snippet-db files. The small script could also be protected with Zend. I do not need to know how to de-crypt the password just be able to encrypt.
Thanks,
Alan
|
|
|
|
|
admin
Forum Administrator

Posts: 3132
SnippetMaster Author
|
At the moment, it is not possible to manually create a new user. However, if you send me an email in mid february, I will be able to create this script for you.
Cheers!
|
|
|
|
|
|
BridgeScore
Posts: 11
|
I don't want a script to create a new user. All I need is a simple few lines to create the encrypted password. I will provide all the rest of the fields for the users.php db file. It Seems that you already may have created this script according to the following previoust post by Admin.
===================================================================
admin
Forum Administrator
Posts: 2459
SnippetMaster Author
|
|
|
|
|
|
ronberry
Posts: 2
|
However... what I can do is take a look at maybe creating an "external encryption engine" or something...
I have just downloaded the SN script and am considering purchase. Like the poster above, I want to automate
the process of user registration. The sticking point seems to be the encrypted password. Did you ever create
the "external encryption engine" you spoke of?
And is there anything in the works for users ability to change their passwords? I apologize if these questions have
already been answered, I looked but could not find them.
Thanks,
Ron
|
|
|
|
|
admin
Forum Administrator

Posts: 3132
SnippetMaster Author
|
Hello,
Yes, the last version 2.2.3 includes an API to create encrypted passwords. Let me know if you would like information on how to use it. (Send an email to henri@www.snippetmaster.com.)
I am working on adding ability for user's to change their own passwords. Should be in the next release.
|
|
|
|
|
|
ronberry
Posts: 2
|
Thanks for the quick reply and the answer(s) I hoped I'd hear.
I will shoot you an email for the info about using the API shortly.
Ron
|
|
|
|
|
admin
Forum Administrator

Posts: 3132
SnippetMaster Author
|
Sounds good. I just sent a reply.
Let me know if you get stuck with anything.
|
|
|
|
|
|
tomcat90
Posts: 4
|
I need this ability and cannot find any more information. Any help would be appreciated.
|
|
|
|
|
|
ej3-martin
Posts: 10
|
With the API, does SM create passwords for users automatically? ANy news on the next release with users changing passwords - That would be really useful! Thanks
|
|
|
|
|
admin
Forum Administrator

Posts: 3132
SnippetMaster Author
|
Hello,
The API no longer works in the current version due to PHP changes.
It will work in the next version, due out in a few weeks.
|
|
|
|
|
|
|
Pages: [1]
|
|
|
|