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: MOD Implementation
 Content Display on home page needs login
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

digitaldi
Starting Member

7 Posts

Posted - 04 February 2004 :  18:25:54  Show Profile  Visit digitaldi's Homepage
By implementing the Content Display MOD, our 'most recent forum topics' now display on our non-forum home page. When the home page is accessed, it requires the user to log-on to our snitz forum before viewing the page. Is there a way to display the content without requiring a login?

Users need to view and navigate around the site who may not be interested in the forum, but we still want to show the most recent posts to spark interest in the forum.



Diane
Page Forward Design
www.pageforwarddesign.com

masterao
Senior Member

Sweden
1678 Posts

Posted - 04 February 2004 :  19:38:01  Show Profile  Visit masterao's Homepage
As you are requiring visitors to login before seeing the forum, you have two choices.

1. You change the option that requires visitors to login to off, or...

2. You have to create a new inc_header.asp for your non-forum homepage, which doesn't require visitors to login.

If you want to go with #2, you must remove the following code from your new 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,"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

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07