Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 help needed on how to find and delete some code
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cheops@collector
Starting Member

Denmark
13 Posts

Posted - 11 July 2003 :  20:14:37  Show Profile

Hi There.

I have a Forum, I need to restrict, from people out side our community.
My forum is in private, and everything is just the way I wnat it...

I only need to remove the "| Register |" ´link from the forum, and move it to our "internal" part of our website...( not in the forum)

I was hoping a nice soul in here, know where to find thise 2 needed parts of code; the code I need to delete from the forum, and the code I need to put in our "internal" and password protected part of our website....

I have no knoledge in asp
( sorry for my bad english )

I hope some nice person will help me out......

Best regards
Cheops

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 11 July 2003 :  20:17:00  Show Profile
Why not just Restrict Registration?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

cheops@collector
Starting Member

Denmark
13 Posts

Posted - 11 July 2003 :  20:22:04  Show Profile
I need this to control 100% that only the ones with access to our Extranet can join in on our forum.....
Go to Top of Page

cheops@collector
Starting Member

Denmark
13 Posts

Posted - 11 July 2003 :  20:25:56  Show Profile
quote:
Originally posted by Nikkol

Why not just Restrict Registration?



what do you ref. to ( I´m new to this forum, just installed it today, if you have another solution I could use that as well

Cheops@Collector
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 11 July 2003 :  20:27:09  Show Profile
Look at the Main Forum Config in Admin Options. Restrict Registration allows the admin to approve registrations before the user can post at the forum.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

rsoxhater
Junior Member

120 Posts

Posted - 11 July 2003 :  20:30:29  Show Profile
I did a simple if mlev > 3 (or maybe 4) in the in header to show the registegation link or not as we are nota n open community either. Then on the register.asp page I the first line a code was if mlev > 3 it will display the code, else it displays a message saying you need to apply for membership
Go to Top of Page

rsoxhater
Junior Member

120 Posts

Posted - 11 July 2003 :  20:31:31  Show Profile
http://traderretreat.reddiweb.com/community if you want to take a look.
Go to Top of Page

cheops@collector
Starting Member

Denmark
13 Posts

Posted - 11 July 2003 :  20:37:06  Show Profile
quote:
Originally posted by rsoxhater

http://traderretreat.reddiweb.com/community if you want to take a look.


YES YES - thats just what I Need, I´m a no good in asp, could you maby show the code here with the modifications here ??
Go to Top of Page

rsoxhater
Junior Member

120 Posts

Posted - 11 July 2003 :  21:59:00  Show Profile
if strAutoLogon <> "1" then
if mlev = 4 then
Response.Write " |" & vbNewline & _
" <a href=""policy.asp""" & dWStatus("Register to post to our forum...") & " tabindex=""-1""><acronym title=""Register to post to our forum..."">Register</acronym></a>" & vbNewline
end if

Thats the inc_header.asp on the bottom where the script writes out the links - if i remember all you need to add is if mlev = 4 adn the end if after the writing out.
Go to Top of Page

rsoxhater
Junior Member

120 Posts

Posted - 11 July 2003 :  22:01:11  Show Profile
my register asp where i inserted the first part of the code right at the top looks like this:
<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
<!--#INCLUDE FILE="inc_func_member.asp" -->
<!--#INCLUDE FILE="inc_func_posting.asp"-->
<!--#include file="inc_profile.asp"-->
<%
if mLev = 4 then

Rest of page here....

at the bottom after the entire register code

else
Response.write " We do not have open membership - you must apply for membership from http://www.traderretreat.com, upper right hand corner. After you have applied and been accepted you will then be allowed to post here." & vbNewLine
end if
%>
Go to Top of Page

rsoxhater
Junior Member

120 Posts

Posted - 11 July 2003 :  22:03:19  Show Profile
If you need more help than that let me know - it feels good to actually help someone here instead of being helped
Go to Top of Page

cheops@collector
Starting Member

Denmark
13 Posts

Posted - 12 July 2003 :  05:02:33  Show Profile
THANX a million - your nice strip of code did the trick.

Thanx again, You just saved my day, week, and month.

Best Regards
Cheops@Collector
Go to Top of Page

cheops@collector
Starting Member

Denmark
13 Posts

Posted - 12 July 2003 :  08:04:00  Show Profile
"Atten: rsoxhater"
when you use this code you posted, how do you sign people up/ Register them, do you Register them directly in the database or do you have a nother way of doing that...??

I hope you can help me, this is the only thing I need to launch the forum.

Best Regards
Cheops@Collector

Go to Top of Page

rsoxhater
Junior Member

120 Posts

Posted - 12 July 2003 :  11:36:58  Show Profile
Anyone that is an admin level can see the register link and register page and register people.
Go to Top of Page

cheops@collector
Starting Member

Denmark
13 Posts

Posted - 12 July 2003 :  14:21:49  Show Profile
okay thanx
and again thanx for your replys and help.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07