Author |
Topic |
modifichicci
Average Member
Italy
787 Posts |
|
Pull My Finger
Starting Member
43 Posts |
Posted - 06 July 2006 : 22:24:43
|
pop_warning_message.asp Below Lines: 27,28 and 29 (Also has old crash code in bold)....... Am I correct to say that these 3 lines can be removed because they are not needed? If they are needed what about the bit of old crash code in bold?
<table border="0" cellspacing="0" cellpadding="1" align="center">
<tr valign="top">
<td bgcolor="<% =strPortalBGColor %>"> < |
Edited by - Pull My Finger on 06 July 2006 22:25:27 |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
Pull My Finger
Starting Member
43 Posts |
Posted - 07 July 2006 : 22:59:40
|
Well modifichicci... you just about got this completed on my end. The only thing that remains on my end (unless I missed something else)is the e-mail (inc_warnmembers_email.asp). IM asuming (inc_warnmembers_email.asp) anyway.
Don't know if my website has anything to do with it, but anyway my website SHN e-mail "Select E-mail Component" is set at CDONTS (ISS 3/4/5). When setting a warning using a test member the e-mail sent to one of my server e-mail accounts (e-mail setting set to allow html) shows the open html tags before text, and after text no closing tags. For example ...<.font color=000000><b>bla bla bla After that I changed the e-mail address in test member profile to one of my ISP e-mail accounts. Set a warning again and the email shows all open and closing html tags
< |
|
|
modifichicci
Average Member
Italy
787 Posts |
Posted - 08 July 2006 : 04:28:39
|
Send mail is often an adventure... I have tryed the solutions I have found on this forum to send html letter with cdonts and cdosys. It works properly with my server that is a large diffusion hosting service in Italy, and it works with my friends forums.. But the issue of mail sending is open to all solutions. I don't know why with a server you have clkose tag and with another no.. But message is checked with a very simply line, and i think we can do better.. htmlmessage = InStr(WarnMessage, "<") this check for "<" tag in message and if it is present set the flag to 1 and allow html letter. I assume warning is set by correct people (admin or mod)and not more sicurity check would be necessary. If you set a formatted warn, do you receive a formatted letter or only a text letter with tag explain? We receive formatted letter, but we have a mail reader allowing html letters, if it is set to text letters only you have a tag letter.< |
Ernia e Laparocele Forum di Ernia e Laparocele Acces - MySql Migration Tutorial Adamantine forum |
|
|
Pull My Finger
Starting Member
43 Posts |
Posted - 08 July 2006 : 17:33:26
|
modifichicci:
Before submitting my last post above it slipped My mind (tired as hell yesterday) to try the other E-mail Component in "Admin: Email Server Configuration". There I selected the CDOSYS (ISS 5/5 1.6) E-mail Component. This time when using the Warning Message "Format Options" on "test member" the html in sent e-mails was "WORKING" in my ISP and Website email accounts! Problem Solved on My end!
My Vote is that this MOD is now complete and bug free!
< |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
richfed
Average Member
United States
999 Posts |
Posted - 09 July 2006 : 10:41:22
|
I have it installed on my forum ... seems to be OK!< |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 10 July 2006 : 06:05:11
|
quote: Originally posted by modifichicci For Shaggy: Have I to post a link to this Mod in Mod W/Code or you can move it there or nothing to do? Thank you!
No need to repost it, I'll move it back once a few more people have tested it
< |
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Morpheus2001
Starting Member
9 Posts |
Posted - 13 July 2006 : 19:23:40
|
if in the text there is "'" in the page appears an error, in order not to errare, it must put the double "'"
can you help me ?
sorry for may bad english< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 13 July 2006 : 19:32:02
|
Not having the code in front of me, it sounds like the SQL string isn't being checked for single quotes.
What is the specific error you are getting?< |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 14 July 2006 : 04:24:03
|
Ay, sounds to me like it's a string that's not getting passed through the chkString() function.
< |
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
modifichicci
Average Member
Italy
787 Posts |
Posted - 15 July 2006 : 06:02:50
|
Fixed! Zip updated!
in admin_warning find
strSQL = "UPDATE " & strMemberTablePrefix & "MEMBERS SET M_WARNMESS = '" & Request.Form("strWarnMessage") & "',M_WARNICON = '" & Request.Form("strWarnMemberIcon") & "' WHERE M_NAME = '" & Request.Form("strWarnMember") & "'"
and replace with
txtMessage = ChkString(Request.Form("strWarnMessage"),"message")
strSQL = "UPDATE " & strMemberTablePrefix & "MEMBERS SET M_WARNMESS = '" & txtMessage & "',M_WARNICON = '" & Request.Form("strWarnMemberIcon") & "' WHERE M_NAME = '" & Request.Form("strWarnMember") & "'"
in pop_warning find
txtMessage = Request.Form("strWarnMessage")
replace with
txtMessage = ChkString(Request.Form("strWarnMessage"),"message")
give me feedback please.< |
Ernia e Laparocele Forum di Ernia e Laparocele Acces - MySql Migration Tutorial Adamantine forum |
|
|
Topic |
|