Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Warn Members Mod 2.00
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

modifichicci
Average Member

Italy
787 Posts

Posted - 06 July 2006 :  07:30:59  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Thanks for feedbacks, I have implemented an error check in admin_warning, fixed a little bug in admin_warn_members.

ZIP UPDATED

I think now it is quite fixed, if you can try it with a new install we can say: completed!
Thank you<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

Pull My Finger
Starting Member

43 Posts

Posted - 06 July 2006 :  22:24:43  Show Profile  Reply with Quote
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
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 07 July 2006 :  11:37:50  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Yes, maybe that lines aren't needed, and the Crash code is ineffective, so we can delete it.
<table border="0" cellspacing="0" cellpadding="1" align="center">
	<tr valign="top"> 
		<td>


I haven't deleted lines, but I think they can..

Anyway ZIP UPDATED!<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

Pull My Finger
Starting Member

43 Posts

Posted - 07 July 2006 :  22:59:40  Show Profile  Reply with Quote
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



<
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 08 July 2006 :  04:28:39  Show Profile  Visit modifichicci's Homepage  Reply with Quote
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
Go to Top of Page

Pull My Finger
Starting Member

43 Posts

Posted - 08 July 2006 :  17:33:26  Show Profile  Reply with Quote
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!




<
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 09 July 2006 :  04:00:35  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Thank you! You have done a good testing work!

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!<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 09 July 2006 :  10:41:22  Show Profile  Visit richfed's Homepage  Reply with Quote
I have it installed on my forum ... seems to be OK!<
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 09 July 2006 :  11:16:55  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Thanks to you!<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 10 July 2006 :  06:05:11  Show Profile  Reply with Quote
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.”
Go to Top of Page

Morpheus2001
Starting Member

9 Posts

Posted - 13 July 2006 :  19:23:40  Show Profile  Reply with Quote
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<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 13 July 2006 :  19:32:02  Show Profile  Visit AnonJr's Homepage  Reply with Quote
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?<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 July 2006 :  04:24:03  Show Profile  Reply with Quote
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.”
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 14 July 2006 :  05:40:16  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Yes I have noticed that just today, I'll check code. I think there is warnmessage that isn't checked before update db.<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 15 July 2006 :  06:02:50  Show Profile  Visit modifichicci's Homepage  Reply with Quote
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
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07