Author |
Topic |
|
cheops@collector
Starting Member
Denmark
13 Posts |
Posted - 11 July 2003 : 20:14:37
|
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 |
|
cheops@collector
Starting Member
Denmark
13 Posts |
Posted - 11 July 2003 : 20:22:04
|
I need this to control 100% that only the ones with access to our Extranet can join in on our forum..... |
|
|
cheops@collector
Starting Member
Denmark
13 Posts |
Posted - 11 July 2003 : 20:25:56
|
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 |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 11 July 2003 : 20:27:09
|
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 ~ |
|
|
rsoxhater
Junior Member
120 Posts |
Posted - 11 July 2003 : 20:30:29
|
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 |
|
|
rsoxhater
Junior Member
120 Posts |
|
cheops@collector
Starting Member
Denmark
13 Posts |
Posted - 11 July 2003 : 20:37:06
|
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 ?? |
|
|
rsoxhater
Junior Member
120 Posts |
Posted - 11 July 2003 : 21:59:00
|
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. |
|
|
rsoxhater
Junior Member
120 Posts |
Posted - 11 July 2003 : 22:01:11
|
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 %> |
|
|
rsoxhater
Junior Member
120 Posts |
Posted - 11 July 2003 : 22:03:19
|
If you need more help than that let me know - it feels good to actually help someone here instead of being helped |
|
|
cheops@collector
Starting Member
Denmark
13 Posts |
Posted - 12 July 2003 : 05:02:33
|
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 |
|
|
cheops@collector
Starting Member
Denmark
13 Posts |
Posted - 12 July 2003 : 08:04:00
|
"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
|
|
|
rsoxhater
Junior Member
120 Posts |
Posted - 12 July 2003 : 11:36:58
|
Anyone that is an admin level can see the register link and register page and register people. |
|
|
cheops@collector
Starting Member
Denmark
13 Posts |
Posted - 12 July 2003 : 14:21:49
|
okay thanx and again thanx for your replys and help. |
|
|
|
Topic |
|