Author |
Topic |
|
Rocket468
New Member
USA
57 Posts |
Posted - 28 September 2005 : 10:06:55
|
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? |
|
Edited by - Shaggy on 28 September 2005 11:34:24 |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 28 September 2005 : 10:13:47
|
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.” |
|
|
Rocket468
New Member
USA
57 Posts |
Posted - 28 September 2005 : 10:52:03
|
Do you have an idea what code to look for to delete this feature? Or what lines it is in the base code? |
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 28 September 2005 : 11:00:29
|
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.” |
|
|
Rocket468
New Member
USA
57 Posts |
Posted - 28 September 2005 : 11:07:43
|
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. |
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 28 September 2005 : 11:09:38
|
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.” |
|
|
Rocket468
New Member
USA
57 Posts |
Posted - 28 September 2005 : 11:12:15
|
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. |
|
|
|
Rocket468
New Member
USA
57 Posts |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 28 September 2005 : 11:34:04
|
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.” |
|
|
Rocket468
New Member
USA
57 Posts |
Posted - 28 September 2005 : 13:26:00
|
Thanks I now have login box on the pages I had in question. I aprciate it. |
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 29 September 2005 : 06:16:00
|
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.” |
|
|
|
Topic |
|