demon wrote:
<!--#include file="forum/common.asp" --> |
This isn't everything you need,
At each page you wan't to lock you need to paste under <!--#include file="common.asp" -->
<%
If if intGroupID = 3 or blnadmin then
%>
example:
<% @ Language=VBScript %>
<% Option Explicit %>
<!--#include file="common.asp" -->
<% If if intGroupID = 3 or blnadmin then %>
The red part is what you need to add
Group ID is the id of the group you wan't to give premission like 3 the moderators, the easiest way the check the group id is in "manage groups" in admin cp. Move the mouse over and see the ID. blnadmin is administrator this work for mod and admin. At the end of the page paste:
<% else
Response.Redirect("insufficient_permission.asp?M=PAGE")
end if %>