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/Code)
 UserGroups v1.0 BETA
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 15

Gandiel
Starting Member

21 Posts

Posted - 25 June 2003 :  11:40:07  Show Profile
Gotcha!

Thanks a ton, Nikkol and everyone else that put this mod together!


Gandiel
Go to Top of Page

Gandiel
Starting Member

21 Posts

Posted - 25 June 2003 :  12:02:15  Show Profile
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
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 25 June 2003 :  12:31:20  Show Profile
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 ~
Go to Top of Page

Gandiel
Starting Member

21 Posts

Posted - 25 June 2003 :  12:33:21  Show Profile
Sorry to be a pain... =)

Gandiel
Go to Top of Page

homeacademy
Junior Member

USA
163 Posts

Posted - 25 June 2003 :  19:48:17  Show Profile
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?
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 25 June 2003 :  21:03:32  Show Profile
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
Go to Top of Page

homeacademy
Junior Member

USA
163 Posts

Posted - 25 June 2003 :  21:50:17  Show Profile
Thanks Nikkol!
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 26 June 2003 :  11:02:19  Show Profile  Visit Ryan's Homepage
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
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 26 June 2003 :  11:04:55  Show Profile  Visit Ryan's Homepage
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
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 26 June 2003 :  11:05:47  Show Profile
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 ~
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 26 June 2003 :  11:09:41  Show Profile
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 ~
Go to Top of Page

Tam
New Member

Sweden
56 Posts

Posted - 26 June 2003 :  11:12:09  Show Profile  Visit Tam's Homepage
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
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 26 June 2003 :  11:35:06  Show Profile  Visit Ryan's Homepage
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
Go to Top of Page

Tam
New Member

Sweden
56 Posts

Posted - 26 June 2003 :  11:48:38  Show Profile  Visit Tam's Homepage
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.
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 26 June 2003 :  11:50:09  Show Profile
Also, please post this in the MOD Implementation forum, as your problem has to do with combining more than one MOD.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page
Page: of 15 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07