Author |
Topic |
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 30 March 2003 : 13:54:15
|
hi all, hey if u lock a member...doesi t come up with a message tellign them that they have been locked/banned???
if it dont can some one tell me how i could add this to the code??
thankx
MaD2ko0l |
© 1999-2010 MaD2ko0l |
Edited by - ruirib on 15 April 2003 17:03:33 |
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 30 March 2003 : 15:47:04
|
I once released a MOD that would allow you to email a member when you locked him/her. That way you're almost sure they'll know their account has been locked. For as far as I know, they will get a normal "username and/or password were incorrect" message when they try to log in. You'd need to perform an SQL query for the user with that name and then retrieve the member_status field's value if you'd want to show a special message if their account has been locked. |
|
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 30 March 2003 : 18:00:09
|
ok i an not to good at sql but is this how it would go??
if M_STATUS = "0" then Err_Msg = "<li>You Have Been Locked By An Admin. Please Contact <a href=""mailto:MaddMartin@hotmail.com"">MaD2ko0l</a> To Get Un-Locked. Thanks.</li>"
Response.Write " <table width=""100%"" border=""0"">" & vbNewLine & _ " <tr>" & vbNewLine & _ " <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _ " " & getCurrentIcon(strIconFolderOpen,"","") & " <a href=""default.asp"">All Forums</a><br />" & vbNewLine & _ " " & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconFolderOpenTopic,"","") & " Member Information</font></td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " </table>" & vbNewLine & _ " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """ color=""" & strHiLiteFontColor & """>There Was A Problem!</font></p>" & vbNewLine & _ " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHiLiteFontColor & """>You must be logged in to view this page</font></p>" & vbNewLine & _ " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""JavaScript:history.go(-1)"">Back to Forum</a></font></p>" & vbNewLine & _ " <br />" & vbNewLine WriteFooter Response.End end if
somthing liek that???
if not can u post some code or help me out plz?
thankx |
© 1999-2010 MaD2ko0l |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 31 March 2003 : 04:53:26
|
I'm at work now and have very little time to get into the codes, but if you can wait and nobody else helps you out, I'll see what I can do tonight when I get home. |
|
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 31 March 2003 : 17:08:12
|
k thankx |
© 1999-2010 MaD2ko0l |
|
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 02 April 2003 : 16:51:47
|
**BUMP** ANything???? |
© 1999-2010 MaD2ko0l |
Edited by - MaD2ko0l on 20 April 2003 11:27:12 |
|
|
|
Topic |
|