Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [bob1980] How to fix a login bug

Quote Reply
Re: [bob1980] How to fix a login bug In reply to
Hi,

I know about the cart bugs, but since they don't do anything if a user clicks them, I figured at worst, it was advertising for the shopping area ;)

The fix should have worked, by not returning the Username field at all.

I'll check to see why, but some things are different between versions of Links.
There is another way to do it, in the HTML end of the system.

Change your menu, or any test for "Username" to be:

<%if Username and Status%>

Status will only be set to a value if the user is logged in. That's the flag for "Registered", "Administrator" etc, so it will always be available if Username is available, and won't be available if it's not. (Unless a plugin or script does something funky).

These variables should really be prefaced with User_ but, not in this version ;)


PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread How to fix a login bug bob1980 1729 Oct 1, 2004, 2:53 PM
Thread Re: [bob1980] How to fix a login bug
pugdog 1676 Oct 1, 2004, 4:29 PM
Thread Re: [pugdog] How to fix a login bug
bob1980 1673 Oct 1, 2004, 5:04 PM
Thread Re: [bob1980] How to fix a login bug
pugdog 1644 Oct 2, 2004, 5:38 AM
Thread Re: [pugdog] How to fix a login bug
bob1980 1649 Oct 2, 2004, 11:13 AM
Thread Re: [bob1980] How to fix a login bug
pugdog 1654 Oct 2, 2004, 4:06 PM
Post Re: [pugdog] How to fix a login bug
bob1980 1593 Oct 6, 2004, 4:42 PM