Author |
Topic |
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 05 November 2003 : 18:32:14
|
Thanks to everyone who caught bugs in the first beta, especially Reinsnitz and altisdesign... BETA2 is here
Why BETA2? Well, this is simply a packaged version of the first beta with the bugs and fixes discussed in the original topic and an important change in a table name. Once we are sure the wrinkles are ironed out, this version will become the official first release.
(Note to the current users of this MOD: in order to use the files in this version, you will need to manually change the name of the USERGEROUP_MEMBERS table to USERGROUP_USERS.)
The zip file contains setup instructions, the usergroups.asp and admin_usergroups.asp files, and pre-modified forum files (use only if you have not installed other MODs on your forum). Currently there is not a full forum version available with this MOD. Download here
[future space for an explanation of code changes over the first beta] |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
Edited by - Nikkol on 05 November 2003 18:58:33 |
|
StephenD
Senior Member
Australia
1044 Posts |
Posted - 06 November 2003 : 05:42:15
|
I get this error on Access when adding new user group:
Microsoft JET Database Engine error '80040e14'
Syntax error in ORDER BY clause.
/admin_usergroups.asp, line 117
|
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
altisdesign
Junior Member
United Kingdom
357 Posts |
Posted - 06 November 2003 : 11:50:39
|
Nikkol,
Do you know if that LIMIT 0,1 is compatible with access? I havnt tested it, I only used it on myswl and its working fine with that code.. my users love it . It could be removed all together, I only put it in to improve performance, as only the first id is needed. I suppose we could test the strdbtype and use SELECT TOP 1 if its access. |
Altis Design offers all manner of web design services to a variety of commercial and personal clients |
|
|
Reinsnitz
Snitz Forums Admin
USA
3545 Posts |
Posted - 06 November 2003 : 14:10:36
|
Nikkol is out of town for a week or so |
Reinsnitz (Mike) |
|
|
Reinsnitz
Snitz Forums Admin
USA
3545 Posts |
Posted - 06 November 2003 : 14:23:40
|
Go ahead and give it a test run... if it works we'll get everyone to update their message as part of the install (I can put it in the original post for you) |
Reinsnitz (Mike) |
|
|
altisdesign
Junior Member
United Kingdom
357 Posts |
Posted - 06 November 2003 : 14:30:33
|
OK Cool I will do that later on today or possibly tommorow and post back, thanks mike |
Altis Design offers all manner of web design services to a variety of commercial and personal clients |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 06 November 2003 : 16:56:48
|
quote: Originally posted by altisdesign
Nikkol,
Do you know if that LIMIT 0,1 is compatible with access? I havnt tested it, I only used it on myswl and its working fine with that code.. my users love it . It could be removed all together, I only put it in to improve performance, as only the first id is needed. I suppose we could test the strdbtype and use SELECT TOP 1 if its access.
LIMIT only works with MySQL. For access you use TOP immediately after the SELECT keyword. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
altisdesign
Junior Member
United Kingdom
357 Posts |
Posted - 06 November 2003 : 17:06:03
|
OK I will make a change using strdbtype to determine whether to use LIMIT or TOP. Which is the prefered method of limiting records on SQL Server? |
Altis Design offers all manner of web design services to a variety of commercial and personal clients |
|
|
StephenD
Senior Member
Australia
1044 Posts |
Posted - 06 November 2003 : 21:07:11
|
I also get this error when editing an existing forum:
Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters.
/post.asp, line 1489
The block of code (Allowed User - listbox Code) surrounding this error looks like this:
if strRqMethod = "EditForum" or strRqMethod = "EditURL" then
strSql = "SELECT MEMBER_ID "
strSql = strSql & " FROM " & strTablePrefix & "ALLOWED_MEMBERS "
strSql = strSql & " WHERE FORUM_ID = " & strRqForumID
strSql = strSql & " ORDER BY M_NAME "
set rsAllowedMember = Server.CreateObject("ADODB.Recordset")
rsAllowedMember.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
if rsAllowedMember.EOF then
recAllowedMemberCount = ""
else
allAllowedMemberData = rsAllowedMember.GetRows(adGetRowsRest)
recAllowedMemberCount = UBound(allAllowedMemberData,2)
amMEMBER_ID = 0
end if |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 07 November 2003 : 05:01:11
|
quote: Originally posted by altisdesign
OK I will make a change using strdbtype to determine whether to use LIMIT or TOP. Which is the prefered method of limiting records on SQL Server?
Snitz has a TopSQL function (inc_func_commom) that shows how to achieve that for each of the supported DBs. Although SQL 7 and 2K support TOP, previous versions support only ROWCOUNT and that is what is used in the function. Have a look. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
Klingstedt
Starting Member
Sweden
31 Posts |
Posted - 07 November 2003 : 17:11:18
|
I have set deny as a permission for my only membergroup (which new user autojoin), but guests can see the whole forum. And if they click on the "New Topic"-link they can post a new topic in the forum. They can fill in a userīs usernamne and password (in my only membergroup) and post a new topic in that members name. That member donīt even have access to that forum. |
|
|
Klingstedt
Starting Member
Sweden
31 Posts |
Posted - 07 November 2003 : 17:27:17
|
When I add a group the Group Options dosenīt puts into the DB.. but when I edit a group it does.
Sorry if Iīm maybe writing about old bugs, but I just installed this mod and I havīnt read any other topic about this mod. |
|
|
altisdesign
Junior Member
United Kingdom
357 Posts |
Posted - 07 November 2003 : 17:48:22
|
quote: Originally posted by Klingstedt
I have set deny as a permission for my only membergroup (which new user autojoin), but guests can see the whole forum. And if they click on the "New Topic"-link they can post a new topic in the forum. They can fill in a userīs usernamne and password (in my only membergroup) and post a new topic in that members name. That member donīt even have access to that forum.
Is the forum set to Allowed Member List / Allowed Member List (Hidden). Then you set explicit allow permissions for the members who are allowed in. The usergroups mod does not handle users who are not signed up AFAIK, you would need to set the Auth Type for that forum. |
Altis Design offers all manner of web design services to a variety of commercial and personal clients |
|
|
Klingstedt
Starting Member
Sweden
31 Posts |
Posted - 07 November 2003 : 17:54:39
|
quote: Originally posted by altisdesign
quote: Originally posted by Klingstedt
I have set deny as a permission for my only membergroup (which new user autojoin), but guests can see the whole forum. And if they click on the "New Topic"-link they can post a new topic in the forum. They can fill in a userīs usernamne and password (in my only membergroup) and post a new topic in that members name. That member donīt even have access to that forum.
Is the forum set to Allowed Member List / Allowed Member List (Hidden). Then you set explicit allow permissions for the members who are allowed in. The usergroups mod does not handle users who are not signed up AFAIK, you would need to set the Auth Type for that forum.
Yes, but a user can post in a forum even if the user donīt have the permission to do it. I guess that the mod donīt check in post_info.asp if the user is in a group which can post in the forum.
And maybe I want to set troublesome member in a usergroup to restrict them to post in a public forum. But, then this user can post. Just log out, go to the forum and click on New Topic. There can he just fill in his username and password. Write the topic and click on submit. I have done it, and it works :( |
|
|
altisdesign
Junior Member
United Kingdom
357 Posts |
Posted - 07 November 2003 : 17:57:27
|
OK I'm going to bed now (long day ), but either Nikkol (if shes back - see reinsnitz's post above), another board member or if not I will install and test it for you tommorow and look into a possible fix, tho we may have to wait until nikkol is back for that . |
Altis Design offers all manner of web design services to a variety of commercial and personal clients |
|
|
Topic |
|