% @ Language=VBScript %>
<% Option Explicit %>
<%
'****************************************************************************************
'** Copyright Notice
'**
'** Web Wiz Forums(TM)
'** http://www.webwizforums.com
'**
'** Copyright (C)2001-2008 Web Wiz(TM). All Rights Reserved.
'**
'** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS UNDER LICENSE FROM 'WEB WIZ'.
'**
'** IF YOU DO NOT AGREE TO THE LICENSE AGREEMENT THEN 'WEB WIZ' IS UNWILLING TO LICENSE
'** THE SOFTWARE TO YOU, AND YOU SHOULD DESTROY ALL COPIES YOU HOLD OF 'WEB WIZ' SOFTWARE
'** AND DERIVATIVE WORKS IMMEDIATELY.
'**
'** If you have not received a copy of the license with this work then a copy of the latest
'** license contract can be found at:-
'**
'** http://www.webwizguide.com/license
'**
'** For more information about this software and for licensing information please contact
'** 'Web Wiz' at the address and website below:-
'**
'** Web Wiz, Unit 10E, Dawkins Road Industrial Estate, Poole, Dorset, BH15 4JD, England
'** http://www.webwizguide.com
'**
'** Removal or modification of this copyright notice will violate the license contract.
'**
'****************************************************************************************
'*************************** SOFTWARE AND CODE MODIFICATIONS ****************************
'**
'** MODIFICATION OF THE FREE EDITIONS OF THIS SOFTWARE IS A VIOLATION OF THE LICENSE
'** AGREEMENT AND IS STRICTLY PROHIBITED
'**
'** If you wish to modify any part of this software a license must be purchased
'**
'****************************************************************************************
'Set the response buffer to true
Response.Buffer = True
'Dimension variables
Dim strMemberName 'Holds the member name to lookup
Dim blnMemNotFound 'Holds the error code if user not found
Dim lngMemberID 'Holds the ID number of the member
'If this is a postback check for the user exsisting in the db before redirecting
If Request.Form("postBack") Then
'Initliase varaibles
blnMemNotFound = false
'Read in the members name to lookup
strMemberName = Request.Form("member")
'Get rid of milisous code
strMemberName = formatSQLInput(strMemberName)
'Initalise the strSQL variable with an SQL statement to query the database
strSQL = "SELECT " & strDbTable & "Author.Author_ID From " & strDbTable & "Author WHERE " & strDbTable & "Author.Username='" & strMemberName & "';"
'Query the database
rsCommon.Open strSQL, adoCon
'See if a user with that name is returned by the database
If NOT rsCommon.EOF Then
'Read in the user ID
lngMemberID = CLng(rsCommon("Author_ID"))
'Reset Server Objects
rsCommon.Close
Call closeDatabase()
'Redirct to next page
Response.Redirect("admin_user_permissions.asp?UID=" & lngMemberID & strQsSID3)
'Else there is no user with that name returned so set an error code
Else
blnMemNotFound = true
End If
End If
'Reset Server Objects
Call closeDatabase()
%>
Member Permissions
Control Panel Menu
From here you can override Group Permissions for different Members allowing Members to have different permissions on forums, you can
also select Members to be able to have moderator privileges on forums.
Select the Forum Member that you would like to Create, Edit, or Remove Member Permissions for.