SnippetMaster Support Forums
Return to main website
 
November 10, 2013, 10:09:39 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 10, 2013, 10:09:39 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Editing snippet-db by script « previous next »
Pages: [1] Print
Author Topic: Editing snippet-db by script  (Read 2978 times)
BridgeScore

Posts: 11


[-] Editing snippet-db by script
« on: December 27, 2008, 06:01:04 PM »

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
« Last Edit: December 27, 2008, 08:43:04 PM by BridgeScore » Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3139

SnippetMaster Author


WWW
[-] Re: Editing snippet-db by script
« Reply #1 on: December 30, 2008, 12:07:24 AM »

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!
Report to moderator   Logged
BridgeScore

Posts: 11


[-] Re: Editing snippet-db by script
« Reply #2 on: December 30, 2008, 01:05:46 PM »

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


   
Report to moderator   Logged
ronberry

Posts: 2


[-] Re: Editing snippet-db by script
« Reply #3 on: April 07, 2009, 06:24:54 PM »

Quote
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
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3139

SnippetMaster Author


WWW
[-] Re: Editing snippet-db by script
« Reply #4 on: April 07, 2009, 06:30:38 PM »

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.
Report to moderator   Logged
ronberry

Posts: 2


[-] Re: Editing snippet-db by script
« Reply #5 on: April 07, 2009, 06:39:05 PM »

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
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3139

SnippetMaster Author


WWW
[-] Re: Editing snippet-db by script
« Reply #6 on: April 07, 2009, 07:03:13 PM »

Sounds good.  I just sent a reply.  Smile

Let me know if you get stuck with anything.

Report to moderator   Logged
tomcat90

Posts: 4


[-] Re: Editing snippet-db by script
« Reply #7 on: December 31, 2012, 08:00:15 PM »

I need this ability and cannot find any more information.  Any help would be appreciated.
Report to moderator   Logged
ej3-martin

Posts: 10


[-] Re: Editing snippet-db by script
« Reply #8 on: January 06, 2013, 09:07:50 AM »

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
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3139

SnippetMaster Author


WWW
[-] Re: Editing snippet-db by script
« Reply #9 on: January 06, 2013, 09:24:54 AM »

Hello,

The API no longer works in the current version due to PHP changes.  Sad

It will work in the next version, due out in a few weeks.
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Editing snippet-db by script « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!