Author |
Topic |
AnonJr
Moderator
United States
5768 Posts |
Posted - 04 March 2008 : 15:57:26
|
Someone else has been working towards the same end. He'd added an extra field to the members table to record who's updated and who hasn't. In inc_header.asp he checked to see if they'd updated, and if they hadn't, they were re-directed to the profile page to update their profile.
You might want to look into something similar....< |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 04 March 2008 : 16:13:54
|
I'm not sure I'd want to go that route... someone may take advantage of it if you reset everyone's password to the same thing. And I'm not sure I'd want to reset that many unique passwords. < |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
StephenD
Senior Member
Australia
1044 Posts |
Posted - 04 March 2008 : 17:02:24
|
I suppose you could also rehash the existing password one time only with a code change.< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 04 March 2008 : 17:31:18
|
quote: Originally posted by modifichicci
you reset each password not all the same, one by one.. you can invent so many password as you need.
That's what I thought you meant. Gets kinda cumbersome after member 25.... < |
|
|
natty
Starting Member
United States
31 Posts |
Posted - 26 April 2008 : 13:12:14
|
cool mod, but I'm getting the following error:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/forums/admin_config_system.asp, line 245
'### start PWORD MOD### ^< |
------------------- http://www.sumwebdesign.com http://www.tppsych.net |
|
|
natty
Starting Member
United States
31 Posts |
Posted - 26 April 2008 : 13:22:00
|
okay, i fixed this by removing the &_ from the line above and adding Response.Write to the line below '### start PWORD MOD###
" <a href=""#top"">" & getCurrentIcon(strIconGoUp,"Go To Top Of Page","align=""right""") & "</a></font></td>" & vbNewLine '& _ '### start PWORD MOD### (commented out &_ above per this mod) Response.Write " </tr>" & vbNewLine & _
I did the same at the end of the MOD. This solved the problem. However, I only did this because someone suggested I do this same thing when I was having a similar problem with another piece of code. I don't know ASP or VB and have no idea what this means or what I did. I'm glad I worked, but could someone please write on whether this is a viable solution? It fixed the problem, but I just want to make sure this was the correct thing to do in this case.< |
------------------- http://www.sumwebdesign.com http://www.tppsych.net |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 28 April 2008 : 09:30:55
|
Run through some of the tutorials here: http://www.w3schools.com/asp/
The "&" is used to concatenate two strings together. The "_" is used to indicate that the current line of instruction continues on the next line. So "& _" tells the interpreter that you want it to treat the next line like its part of this line.< |
|
|
Topic |
|