Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - need help(using webwiz registration form)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

need help(using webwiz registration form)

 Post Reply Post Reply
Author
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Topic: need help(using webwiz registration form)
    Posted: 26 April 2005 at 9:50am
Hey all.

Fisrt let me just say that I have searched for the similar topic but couldn't find it anywhere, therefor I decided to ask you guys something.

I'm using webwiz forum and its suits me well.
I'm planning to extend my site also in some areas where some informations would be available ( I have small store and repair store of hunting needs; reloading etc...) but I would like that they should be registered users in order to read this informations.

Now because I'm not an expert in asp coding I would like to know, what must I do that if you would like to see so called "member pages" you'll have to register in my forum??

Thanks in advance


Urko
Back to Top
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Posted: 05 May 2005 at 1:53pm
Guess I''ll have to try and look somwhere else thenCryCry
Urko
Back to Top
aks427 View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 06 December 2003
Location: United States
Status: Offline
Points: 276
Post Options Post Options   Thanks (0) Thanks(0)   Quote aks427 Quote  Post ReplyReply Direct Link To This Post Posted: 05 May 2005 at 3:06pm
If you want to protect pages so only registered members can view them, add this to the top of your asp page.
 
<!--#include file="forum/common.asp"-->
<%
If intGroup_ID = 2 then
      Response.Redirect "forum/insufficient_permission.asp"
End If
%>
 
Change the red part to the correct path.
Back to Top
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Posted: 07 May 2005 at 2:23am
I have changed the path to correct 1, but still I can open the page. Is there something else that I have to add as well?
Urko
Back to Top
aks427 View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 06 December 2003
Location: United States
Status: Offline
Points: 276
Post Options Post Options   Thanks (0) Thanks(0)   Quote aks427 Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2005 at 2:15pm
What error do you get?
Back to Top
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2005 at 4:16am
Originally posted by aks427 aks427 wrote:

What error do you get?
I don't get any errors at all.
 
I just created blank page added
<!--#include file="forum/common.asp"-->
<%
If intGroup_ID = 2 then
      Response.Redirect "forum/insufficient_permission.asp"
End If
%>
changed the path nad saved it and wrote "hello world" just to see if page shows anything or not.
.
So when I go to this page it opens with no error!
M I missing something??
 
Urko
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2005 at 5:41am
i believe the veriable is intGroupID without a _


Back to Top
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2005 at 5:47am
Originally posted by dj air dj air wrote:

i believe the veriable is intGroupID without a _
 
Thanks, it works now!!!!!Big smile
Urko
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.