Author |
Topic |
|
Ken73
Starting Member
USA
35 Posts |
Posted - 12 March 2001 : 11:01:50
|
I installed this mod on a fresh install of Snitz and it worked beautifully. However I've upped to the HuwR release of Snitz and it didn't like that mod at all. Any chance it could be integrated? (Is it something I could integrate?) I really don't want my users to choose their own password - I want them to be 'verified' essentially through their e-mail.
Ken |
|
Ken73
Starting Member
USA
35 Posts |
Posted - 13 March 2001 : 10:34:31
|
Poked around for a bit and found Frankie's mod (thanks Frankie!) and used it to partially insert into HuwR's version. At first it appeared to work but it didn't insert the password into the SQL database! (Ooops!!) I fixed that though, replaced the form.request (Password) line with the strPassword variable (randomly created above previously in the script, of course) and it not only e-mailed me the password, but inserted it into the SQL database as well. A little tricky, but I figured it out.
If anyone is running the *plain-jane* version of HuwR's latest release, here's a zip file that will do the trick! Otherwise, Frankie's version works well, just need to remember to change the form.request(password) line to use the strPassword variable instead (since you're not allowing the users to type in their own password.)
Also, the admin functions work just fine - editing and putting in a new password either from the new user's account OR from the admin level work fine!
http://www.ken73.homeip.net/ken/snitz/pword.zip
Ken |
|
|
frankie
Junior Member
Vatican City
304 Posts |
Posted - 13 March 2001 : 13:48:25
|
Thanks Ken, I'm glad it worked fine for you! Keep up the good work I like your site it's very informative
|
|
|
Ken73
Starting Member
USA
35 Posts |
Posted - 15 March 2001 : 22:30:00
|
The mod seems to work well, but if I turn on Private Messages - and I think it's the New User Private Message that does it - it kills the registration process. The user gets registered, but does not get an e-mail. It stops before then with an error trying to get the username, and the record count has already been increased, so the "current record" is not showing up and it dies.
Since I have no need for Private Messages in my forums, I just disabled them. However, I think there's something else in register.asp that needs to be fixed to work properly with this feature. I may setup a seperate forum just for testing these features and post the link here for everyone to see.
Ken
|
|
|
Ken73
Starting Member
USA
35 Posts |
Posted - 16 March 2001 : 13:31:02
|
Frankie, any idea how I can make it to where it e-mails you a new password to your new e-mail account if you go into your profile and change your e-mail address? Davio has this working already, but I'm not sure how to do it, or where to do it for that matter. I was thinking of putting the password generating code into inc_functions.asp so it could be pulled from either register.asp (when they first register) or inc_profile.asp (when they change something.)
A simple query of their current e-mail address piped into a temporary variable (so it doesn't go away when it's pushed to the database) matched up against what they have in the form seems to be the way to do it, but I haven't a clue how to go about it in ASP.
I'm using HuwR's release of Snitz obviously; I put up a running "test" forum just for grins so you could see what's going on. www.ken73.homeip.net/ken/forum
Ken
|
|
|
|
Topic |
|