Author |
Topic |
Gandiel
Starting Member
21 Posts |
Posted - 25 June 2003 : 11:40:07
|
Gotcha!
Thanks a ton, Nikkol and everyone else that put this mod together!
Gandiel |
|
|
Gandiel
Starting Member
21 Posts |
Posted - 25 June 2003 : 12:02:15
|
Ok... found another thing...
If I add someone to a "Probation" group, that user is still able to use all functions until he logs off and back on or until his session ends. Can we update the session variable that controls this? Thoughts?
Gandiel |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 25 June 2003 : 12:31:20
|
I'm not sure how you would do that though. There's no point in having a session variable if you have to keep checking to see whether or not to update it. I'll take a look at it later. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
|
|
Gandiel
Starting Member
21 Posts |
Posted - 25 June 2003 : 12:33:21
|
Sorry to be a pain... =)
Gandiel |
|
|
homeacademy
Junior Member
USA
163 Posts |
Posted - 25 June 2003 : 19:48:17
|
I think I have found another bug: I turned on E-mail Validation, and registered a new member. I got the e-mail about confirming my registration, and clicked on the link. Then I get this:
error '80020009'
Exception occurred.
/cvba/forum/inc_func_common.asp, line 284 Line 284 and surrounding code:
function chkString(pString,fField_Type) '## Types - name, password, title, message, url, urlpath, email, number, list
fString = trim(pString)
if fString = "" or isNull(fString) then
fString = " "
else
' chkBadWords(fString)
end if
Select Case lcase(fField_Type) BTW, I had a look in the db, and the registration is successfully confirmed despite the error. I can even log in as the new user, etc. But, the error occurs instead of the 'Successful Registration' message. Ideas? |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 25 June 2003 : 21:03:32
|
Here's the fix in register.asp for this: Code right now lines 187 -195: Call DoCount
'## Forum_SQL - Delete the Member
strSql = "DELETE FROM " & strMemberTablePrefix & "MEMBERS_PENDING "
strSql = strSql & " WHERE M_KEY = '" & key & "'"
my_Conn.Execute (strSql),,adCmdText + adExecuteNoRecords
Call UserGroupAutoJoin(chkString(rsKey("M_NAME"),"SQLString")) '####### UserGroup MOD #######
Make it this instead: Call DoCount
Call UserGroupAutoJoin(chkString(rsKey("M_NAME"),"SQLString")) '####### UserGroup MOD #######
'## Forum_SQL - Delete the Member
strSql = "DELETE FROM " & strMemberTablePrefix & "MEMBERS_PENDING "
strSql = strSql & " WHERE M_KEY = '" & key & "'"
my_Conn.Execute (strSql),,adCmdText + adExecuteNoRecords |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
Edited by - Nikkol on 25 June 2003 21:05:33 |
|
|
homeacademy
Junior Member
USA
163 Posts |
Posted - 25 June 2003 : 21:50:17
|
Thanks Nikkol! |
|
|
Ryan
Average Member
USA
858 Posts |
Posted - 26 June 2003 : 11:02:19
|
The UserGroups (so far) appears to work for me. Thanks for this great MOD!!!
I do have one suggestion however. I think adding this to the UserGroups MOD would be a hit. We all know that spammers are out there and I think that my suggestion would be a good "lesson" for them. Currently I dont have any spammers on my forum but I know they are coming. My suggestion is this: Why dont you make an option where you can create a "spammer" group and place certain users in it where you can limit the number of posts per day that they may post. In this way they will have to be more conservative with their posts. I know of ppl (from another forum that uses snitz) who are truly interested in the forum but know no limit to posts. By introducing this it may keep them in check. What do you think? Is it possible? |
The Poultry Link - "Serving the best of the fancy with the best of the web" Forum Setup Help |
|
|
Ryan
Average Member
USA
858 Posts |
Posted - 26 June 2003 : 11:04:55
|
Actually I found an error: Microsoft VBScript compilation error '800a03ea'
Syntax error
/inc_smilies.asp, line 54
'############# SmileManager Plus MOD ################ and remove &_ from the line above
This was when I went to reply to a topic. Do you want to see any of my files? How do I fix this? |
The Poultry Link - "Serving the best of the fancy with the best of the web" Forum Setup Help |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 26 June 2003 : 11:05:47
|
I would be possible, but I'm not going to consider it now. Maybe for a future release. I just want to make sure that the code as is works as expected first. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 26 June 2003 : 11:09:41
|
Did you get that on post or post_info.asp? Also, I never guaranteed that this MOD would work with other MODs. You can post the text versions of the files giving you problems and I'll see what I can determine when I have time. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
|
|
Tam
New Member
Sweden
56 Posts |
Posted - 26 June 2003 : 11:12:09
|
quote:
Syntax error
/inc_smilies.asp, line 54
'############# SmileManager Plus MOD ################ and remove &_ from the line above
If that is all in one line, I would suggest removing
and remove &_ from the line above
(and did you remove the "&_" from the line above this one? :P ) |
Edited by - Tam on 26 June 2003 11:13:36 |
|
|
Ryan
Average Member
USA
858 Posts |
Posted - 26 June 2003 : 11:35:06
|
Another error: Microsoft VBScript compilation error '800a03f6'
Expected 'End'
/post.asp, line 1569
This one came up when I tried to reply again after correcting the code that Tam told me to. |
The Poultry Link - "Serving the best of the fancy with the best of the web" Forum Setup Help |
|
|
Tam
New Member
Sweden
56 Posts |
Posted - 26 June 2003 : 11:48:38
|
quote: Originally posted by reducks87
Another error: Microsoft VBScript compilation error '800a03f6'
Expected 'End'
/post.asp, line 1569
As Nikkol said above, its easier if you post a link to a textversion of your post.asp file. Apparently, you have left out a "End if" somewhere in the code. |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
Topic |
|