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
 Login box disapearing on some pages
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rocket468
New Member

USA
57 Posts

Posted - 28 September 2005 :  10:06:55  Show Profile  Visit Rocket468's Homepage
I noticed if you thumb thur a site not logged in the login box disapears on somepages. for instance search.asp

My new forum www.professionalhouseplan.com I am useing shn fourm for My housedesign business. But I putting the forum itself in the background. You have to register to know its there. Most of my users will not be logged in. There hopefuly there to buy plans or look. I was planing on just having the login button and that takes you to the login.asp page. But I was noticing that the box would disapear on some of my pages and not disapear on some. I thought it was in my progaming :( But I noticed it does this on the default snitz on some pages.

Anyone else notice this? Anyone got a clue what direction to go to fix this/ turn this off?


Professional House Plans

DevilsOwn Alcohol Injection


Edited by - Shaggy on 28 September 2005 11:34:24

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 28 September 2005 :  10:13:47  Show Profile
There are a few pages that the login form in inc_header.asp will not show up on, this is by design to get around a few errors.


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.”
Go to Top of Page

Rocket468
New Member

USA
57 Posts

Posted - 28 September 2005 :  10:52:03  Show Profile  Visit Rocket468's Homepage
Do you have an idea what code to look for to delete this feature? Or what lines it is in the base code?


Professional House Plans

DevilsOwn Alcohol Injection

Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 28 September 2005 :  11:00:29  Show Profile
As I said, it was removed for good reason. If you alter this, you leave yourself open to errors and problems on your forum. This topic mentions one of them, although doesn't go into much detail, there have been a few other posts about it but I can't seem to put my hands on them at the moment.


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.”
Go to Top of Page

Rocket468
New Member

USA
57 Posts

Posted - 28 September 2005 :  11:07:43  Show Profile  Visit Rocket468's Homepage
I understand not to allow it on the defalt pages in snitz that does not have it. I created some pages myself and some show the login box and some don't so if your clicken thru my site then the log in box is turnning on and off, on and off. As your clicken on the next page 0f my java paging. I have 2 pages that are pretty close to the same page, they just sort data differnty and 1 shows the login and one does not. This is what I am truely trying to figure out how to fix.


Professional House Plans

DevilsOwn Alcohol Injection

Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 28 September 2005 :  11:09:38  Show Profile
Ah, OK, getcha now. Can you post a link to your site and a few of the pages the login isn't appearing on? Is the login in an include or hardcoded into each file?


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.”
Go to Top of Page

Rocket468
New Member

USA
57 Posts

Posted - 28 September 2005 :  11:12:15  Show Profile  Visit Rocket468's Homepage
If i need to make the page that shows the login and make it where it does not thats fine, I am just trying to find where I would add pages to ones the login does not show up. I understand you there is a valid point to the login not showing up. I guess I can somehow figure out how to make it only show up on default.asp that would solve my problem too.


Professional House Plans

DevilsOwn Alcohol Injection

Go to Top of Page

Rocket468
New Member

USA
57 Posts

Posted - 28 September 2005 :  11:24:40  Show Profile  Visit Rocket468's Homepage
http://www.professionalhouseplan.com/plansearch.asp it does not show up. and if you click on one of the images of houses it takes you to example http://www.professionalhouseplan.com/plan_details.asp?id=1 and the login shows back up.

Login is hardcoded in the Inc_header file.


Professional House Plans

DevilsOwn Alcohol Injection

Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 28 September 2005 :  11:34:04  Show Profile
Find the following beginning on line 333 of inc_header.asp (may be different in SHN's version):
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 _
and replace it with the following:
not(Instr(Request.ServerVariables("Path_Info"), "pop_profile.asp") > 0) and _
strScriptName <> "search.asp" and _
strScriptName <> "admin_search.asp" and _
not(Instr(Request.ServerVariables("Path_Info"), "login.asp") > 0) and _
< Moving this to Help: Mod Implementation />


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.”
Go to Top of Page

Rocket468
New Member

USA
57 Posts

Posted - 28 September 2005 :  13:26:00  Show Profile  Visit Rocket468's Homepage
Thanks I now have login box on the pages I had in question. I aprciate it.


Professional House Plans

DevilsOwn Alcohol Injection

Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 29 September 2005 :  06:16:00  Show Profile
You're welcome


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.”
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.46 seconds. Powered By: Snitz Forums 2000 Version 3.4.07