![]() |
Authbox INSANITY! Login/Logout broken!
Ok, here is my site http://www.thecharmingbeadshop.com. It is not at all finished and I am very sure has many bugs in it, but that's ok. I am having a problem with my authbox. If you go to my site it is located at the bottom of the help menu on the left hand side...it's not going to stay there, just there for testing purposes at the moment.
Anyhow, my problem is this, even if you are not logged in it says: " is logged in!" and it has the option to log out. If you do log in from the top menu bar it does say "name is logged in". (If you would like to test it you are more than welcome to make a test profile.) I restored the original authbox.tpl file, but my auth.tpl file isn't original, does this have any impact on it, is there anything mandatory that must be there? Would there be any other files that impact this one? Please help! Been going over it for hours and it's probably something small. |
your best bet is to restore those files and also look at how the auth boxes were included in the home.tpl in the first place. It looks like you removed the {if $login} sections
|
Ok. I restored my home.tpl file and the authbox works great. So what I need to know is what code is it that I should take out if I want to include my modified version of the authbox and login box on a different section of the page, the head for instance. This is all I took out and it doesn't work:
Code:
{if $login eq "" } And here is the original home.tpl file: Code:
{* $Id: home.tpl,v 1.67.2.8 2005/06/15 06:14:26 max Exp $ *} |
Try this. I think you have forgotten to end the IF statement.
Code:
{if $login eq "" } |
Hahaha! Thanks! That's great....must mean it's time to take a break if I missed something that simple. Works fine...for now...until I can think of another way to mess it up...lol.
|
All times are GMT -8. The time now is 05:17 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.