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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Removing required login for one page
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mykel_suthertun
Junior Member

USA
227 Posts

Posted - 15 May 2004 :  03:19:19  Show Profile  Visit mykel_suthertun's Homepage
I've set my forum so that only members can browse it. I've also installed a links mod (Links Manager v3.0 Beta 1 for Snitz Forums v3.4 by OneWayMule). However, I would like to make it so that everyone can browse through the links. Is there simply an include file that I could remove or does it get more complicated than that?

I would have posted this in the MOD forums, but I figured this was related more to how the Snitz required login feature works.

Mike Southerton
Webmaster | Don'tSayDie.com | DriveThe.com

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 15 May 2004 :  15:55:47  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Find the following code in inc_header.asp:
	if not(Instr(Request.ServerVariables("Path_Info"), "register.asp") > 0) and _
	not(Instr(Request.ServerVariables("Path_Info"), "policy.asp") > 0) and _
	not(Instr(Request.ServerVariables("Path_Info"), "pop_profile.asp") > 0) and _
	not(Instr(Request.ServerVariables("Path_Info"), "search.asp") > 0) and _
	not(Instr(Request.ServerVariables("Path_Info"), "login.asp") > 0) and _
	not(Instr(Request.ServerVariables("Path_Info"), "password.asp") > 0) and _
	not(Instr(Request.ServerVariables("Path_Info"), "faq.asp") > 0) and _
	not(Instr(Request.ServerVariables("Path_Info"), "links.asp") > 0) and _
	not(Instr(Request.ServerVariables("Path_Info"), "post.asp") > 0) then

and add the blue line.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

mykel_suthertun
Junior Member

USA
227 Posts

Posted - 16 May 2004 :  15:19:10  Show Profile  Visit mykel_suthertun's Homepage
Thanks for the reply, but that didn't seem to do it. Any ideas?

Mike Southerton
Webmaster | Don'tSayDie.com | DriveThe.com
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 16 May 2004 :  15:22:35  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Sorry, my fault.
Find the following code in inc_header.asp:
if strRequireReg = "1" and strDBNTUserName = "" then
	if not Instr(strScriptName,"policy.asp") > 0 and _
	not Instr(strScriptName,"register.asp") > 0 and _
	not Instr(strScriptName,"password.asp") > 0 and _
	not Instr(strScriptName,"faq.asp") > 0 and _
	not Instr(strScriptName,"links.asp") > 0 and _
	not Instr(strScriptName,"login.asp") > 0 then
		scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
		if Request.QueryString <> "" then
			Response.Redirect("login.asp?target=" & lcase(scriptname(ubound(scriptname))) & "?" & Request.QueryString)
		else
			Response.Redirect("login.asp?target=" & lcase(scriptname(ubound(scriptname))))
		end if
	end if
end if

and add the blue line.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

mykel_suthertun
Junior Member

USA
227 Posts

Posted - 16 May 2004 :  17:17:05  Show Profile  Visit mykel_suthertun's Homepage
Woo! Awesome, thanks a lot.
And by the way, thanks for the MOD. Works great.

Mike Southerton
Webmaster | Don'tSayDie.com | DriveThe.com
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 16 May 2004 :  17:52:45  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
You're welcome, glad you like it.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
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 2.69 seconds. Powered By: Snitz Forums 2000 Version 3.4.07