Print Page | Close Window

allow permissions to certain pages??

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=27038
Printed Date: 29 March 2026 at 10:25am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: allow permissions to certain pages??
Posted By: jarv
Subject: allow permissions to certain pages??
Date Posted: 25 February 2009 at 2:43pm
Can anyone help me, I would like to lock certain members out of certain pages
I have extra custom pages built onto the forum see example code of my other pages below:

[code]
<% @ Language=VBScript %>
<% Option Explicit %>
<!--#include file="common.asp" -->
<% If blnGuest AND blnGuestSessions = True Then
    response.Redirect("login_user.asp")
End If %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="test.css" />
<title>EAWP</title>

</head>

<body>
<div id="wrapper">
    <div id="top">
        <div class="left">
            <a href="main.asp" title="Home"><img src="images/logo.jpg" alt="Logo for EAWP" border="0" /></a>
        </div>
        <div class="contact"><a href="contact1.asp">Contact information&nbsp;&nbsp;<img src="images/contact-icon.gif" alt="Contact EAWP" border="0" /></a></div>
  </div>
    <div id="topgreencurves"></div>
  <div id="topgreenmain"></div>
    <div id="mainholder">
        <div id="leftcolumn">
        <ul>
            <li>
                  <ul>
                    <li id="bicon2" class="bicons"><a href="about1.asp">About EAWP</a></li>
                    <li id="subicon1" class="subicons"><a href="objectives1.asp" target="centerandright">Objectives</a></li>
                    <li id="subicon1" class="subicons"><a href="#" target="centerandright">Management Committee</a></li>
                    <li id="subicon1" class="subicons"><a href="partners1.asp" target="centerandright">Partners</a></li>
                  </ul>
            </li>
            <li id="bicon2" class="bicons"><a href="project-overview1.asp">Project Overview</a></li>
            <li id="bicon3" class="bicons"><a href="best-practice1.asp">Best Practice</a></li>
            <li id="bicon4" class="bicons"><a href="news1.asp">News</a></li>
            <li id="bicon5" class="bicons"><a href="links1.asp">Links</a></li>
        </ul>
         <ul>
            <li id="icon1" class="icons"><a href="default1.asp">Clusters</a></li>
              <li id="icon2" class="icons"><a href="calendar.asp">Calendar</a></li>
            <li id="icon3" class="icons"><a href="management-committee.asp">Management Committee</a></li>
            <li id="icon4" class="icons"><a href="downloads.asp">Downloads</a></li>
        </ul>
        </div>
        <div id="centercolumn">
            <img src="images/fishpic.jpg" alt="picture of fish swimming in the sea" border="0" />
          <h2>About EAWP</h2>           
            <p>The European Animal Welfare Platform (EAWP) is a unique project aimed at helping European producers to implement higher standards for animal welfare. It unites leading organisations in the field ranging from companies to research institutes and animal welfare organisations.</p>
            <p>This European project is funded under the EU’s Seventh Framework Programme for Research. It enables the establishment of a stakeholders’ platform aimed at facilitating the exchange of knowledge, expertise and best practice thereby resulting in improved animal welfare in the food supply chain.</p>
            <p>The work of the platform is organised into four work packages:</p>
            <ul>
              <li>
                <p>Best practices and implementation</p>
              </li>
              <li>
                <p>Research and development needs and     priorities</p>
              </li>
              <li>
                <p>Information and communication</p>
              </li>
              <li>
                <p>Management</p>
              </li>
            </ul>
            <p>The activities of the first three work packages are grouped in product clusters.  These clusters develop strategic visions on the role of animal welfare in each of the different product supply chains (beef and dairy, poultry meat and eggs, farmed salmon, and pork). In each cluster companies work together with NGOs and academia to achieve informed input on aspects relevant to the economically viable, animal friendly production of that product. The leader of each cluster is the EAWP



Replies:
Posted By: WebWiz-Bruce
Date Posted: 25 February 2009 at 2:58pm
The best way to tell if the user is loged into the forum and an active member is to check the group:-

If intGroupID = 2 Then

If you want to check if they are logged in then:-

If lngLoggedInUserID <> 2 Then


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Scotty32
Date Posted: 26 February 2009 at 7:53pm
Havent you asked this several times? and I refered you to my http://www.s2h.co.uk/wwf/tips/intergration/member-only-pages.asp" rel="no follow - Member-Only Pages tutorial which provides the answer?

-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net