![]() |
Issue with Authentication/Login box
Ok, best way to explain it is to have you just log in and see what happens.
If you go to http://www.rjroffroad.com and on the left menu bar about halfway down is the login box. Go ahead and log in (live site, keep in mind): username: test password: account Now that you're logged in, you can see that the login box didn't get switched to the "logged in" version. You will actually find the logged in version, down at the bottom of that left menu bar column. I suppose I could just re-order it so they're stacked right against eachother, but how do I get it to remove the one, and replace it with the other? |
Re: Issue with Authentication/Login box
Here's my code, should've posted that.
It calls auth.tpl on line 17, and calls authbox on line 93. Every attempt to re-arrange it on my part leads to my site not functioning and just showing smarty errors. Code:
{* $Id: home.tpl,v 1.19.2.5 2006/10/24 13:46:18 svowl Exp $ *} |
Re: Issue with Authentication/Login box
You've got kind of a mess there. Replace this:
{if $login eq "" } {/if} {if $login eq "" } { include file="news.tpl" } {else} { include file="authbox.tpl" } {/if} with this: { include file="news.tpl" } {if $login eq "" } {include file="auth.tpl" } {else} {include file="authbox.tpl" } {/if} |
Re: Issue with Authentication/Login box
Quote:
I couldn't agree more. I originally did this over a year ago when I was still really new at this. I did your version, it seems to have added another auth login at the bottom. So I moved it up to line 73, and deleted the other junk that was on 73...works just like it should now! Thanks! |
All times are GMT -8. The time now is 05:43 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.