Author |
Topic |
JohnC
Junior Member
215 Posts |
Posted - 27 March 2007 : 10:30:31
|
I upgraded to the latest version of Snitz (3.4.06) and now this mod no longer works. I get the following error:error '8004020f'
/forums/inc_mail.asp, line 142
Anyone find a cure yet?< |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
JohnC
Junior Member
215 Posts |
Posted - 27 March 2007 : 11:39:22
|
Thanks for your responses, Rui. The start of this topic says "Version 1.01 - 2006/08/25, Snitz forum version: 3.4.05" posted by some guy named Rui.
All of our other email functions are working fine.
Line 142 of inc_mail.asp is "objNewMail.Send"< |
Edited by - JohnC on 27 March 2007 11:55:26 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
JohnC
Junior Member
215 Posts |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
JohnC
Junior Member
215 Posts |
Posted - 27 March 2007 : 13:15:52
|
My .05 version pop_mail.asp works fine with this mod and my .06 version does not.
Update: Tried 1 (cdoSendUsingPickup) in sendusing and get this error: "The pickup directory path is required and was not specified."
Update: Added:Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") = "c:\inetpub\mailroot\pickup" Now I don't get any errors but also don't get any email. Why would there be so much of a difference between versions? Both version are on the same server.
Update: Went back to 2 (cdoSendUsingPort) and now it works on the new version as well.< |
Edited by - JohnC on 27 March 2007 14:30:32 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
daveo
New Member
97 Posts |
Posted - 29 March 2007 : 11:09:52
|
I implemented the original version of the mod as posted with .06 and it works great. Too 10 minutes and fixed a problem I just had occur.< |
http://copdforum.portalone.us/ |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 29 March 2007 : 11:14:18
|
quote: Originally posted by daveo
I implemented the original version of the mod as posted with .06 and it works great. Too 10 minutes and fixed a problem I just had occur.
Yes, that should be the case. The previous issue was related to server authentication, not to the mod.< |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
matko
New Member
54 Posts |
Posted - 28 May 2007 : 09:44:10
|
Rurib,
thank you for this mod, it is very useful for me, however I need it for other reason than prevent spammers. I am running forum dealing with catholic religion and spirituality and I have come across problem, that some users from different sects are registering, just to be able to reach other users by mail in effort to convert them. Until I know who the new user is, I don't want to let him/her to send e-mail to others. For this limiting by post count would work just fine, but some users come by recommendation from senior members and I would like to allow them e-mail immidiately.
I have some experience in programming asp (not professional), however I don't fully understand forum code and variables used so I was thinking of small improvement of your mod, just to add one more field in MEMBERS table, lets say M_ALLOWEMAIL yes/no and modify your code accordingly.
I am not sure if this is the right forum for this, but my idea is to try to modify your code and in case I don't understand something to ask you for little explanation. Whould it be acceptable for you?< |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 28 May 2007 : 11:24:21
|
quote: small improvement of your mod, just to add one more field in MEMBERS table, lets say M_ALLOWEMAIL yes/no and modify your code accordingly.
I just manually increase their post count so they can email. Since I'm the boss, I can do that. Please don't tell my wife I said that.
< |
Switch the order of your title tags |
|
|
matko
New Member
54 Posts |
Posted - 28 May 2007 : 11:46:37
|
I think simple modification of your code will do. This code is supposed to look into database if member is allowed to send e-mail independently of post count:
strSql = "SELECT M_NAME, M_POSTS, M_ALLOWEMAIL FROM " & strMemberTablePrefix & "MEMBERS M"
strSql = strSql & " WHERE M.MEMBER_ID = " & MemberID
set rs = my_Conn.Execute (strSql)
If Not rs.EOF then
intMPosts = rs("M_POSTS")
intAllowEmail = rs("M_ALLOWEMAIL")
if intMPosts < 10 and intAllowEmail="0" then
Now I need to do two things: 1. Find a tutorial how to write dbs_ modification file.I mean syntax how to add one column into existing table with default value of 1 Any suggestion, where can I read about it? I tried to "reverse engineer" it from dbs_ files I have, will this work?
[ALTER]
MEMBERS
ADD#M_ALLOWEMAIL#INT#NULL#1
[END]
What exactly is the NULL statement for? I need to create column with value 1 for existing records, but 0 for new records.
2. modify pop_profile.asp to allow admin to change e-mail status of user from disallowed to allowed.< |
Edited by - matko on 28 May 2007 12:51:00 |
|
|
Topic |
|