When I need to add something to the head tags of the forum I have to do it in the inc_header.asp page. When you do that, the content in the head ends up in every page of the forum.
Is it possible to make it only appear on the pages that it is needed on? Something like this:
if request.servervariables("URL") = "/forum/post.asp" then
%>
Content in here
<%
Else if mlev > 0 and request.servervariables("URL") = "/forum/topic.asp" then
%>
Content in here
<%
end if
end if
You only need one "end if" and "Else if" should be one word. Also, there's a variable called strScriptName declared in inc_header.asp that you can use to determine which page you're on.
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.”
Thanks Shaggy. So this would be the way to do it...
if request.servervariables("URL") = "/forum/post.asp" then
%>
Content in here
<%
Elseif mlev > 0 and request.servervariables("URL") = "/forum/topic.asp" then
%>
Content in here
<%
end if
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.”