Gossamer Forum
Home : Products : Gossamer Links : Discussions :

login reset

Quote Reply
login reset
Ok, I got the links script installed and decided to do a quick test. I registered a user, validated the registration and was able to then log into my site. Problem I have is that I get logged out whenever I click one of the tabs on the navigation bar (luna template). Why is the login not being retained? I am sure there is something simple in the setup I missed but I have no idea what that may be. Thanks.
Quote Reply
Re: [Jaggster] login reset In reply to
Hi,

Mmm.. are you using static?

Also, what cookie domain do you have setup in Setup > User Options > user_cookie_domain

You should have it set to .domain.com

i.e on our site, we have it as:

.ultranerds.com

This lets it work on test.ultranerds.com (example), www.ultranerds.com and ultranerds.com - instead of just the URL they were on when it was set.

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] login reset In reply to
I did originally set the build options to use Dynamic but turned that off and rebuilt the site to see if that was the problem. However, I still have the issue. My domain is www.kidsrate.com and I have the user_cookie_domain to ".kidsrate.com". Not sure what else it could be. Thanks
Quote Reply
Re: [Jaggster] login reset In reply to
Hi,

If you send over admin panel access (andy@ultranerds.com), I'll take a quick look for you. Shouldn't be anything too hard Smile (at least, not when you've dealt with as many installations as me ;))

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] login reset In reply to
For anyone interested, the reason its not working - is because hes edited the login bar HTML from:

Code:
<div id="loginbar"><a href="<%config.db_cgi_url%>/user.cgi<%if user.Username%>?logout=1<%endif%>" class="<%if user.Username%>in<%else%>out<%endif%>"><%if user.Username%>Logout<%else%>Login/Register<%endif%></a></div>

..instead of:

Code:
<div id="loginbar">
<a href="<%config.db_cgi_url%>/user.cgi<%if user.Username%>?logout=1<%endif%>" class="<%if user.Username%>in<%else%>out<%endif%>"> <%if user.Username%><img src="<%Links::Utils::image_url('logoff_img.gif')%>" alt="Logoff" /><%else%><img src="<%Links::Utils::image_url('logon_img.gif')%>" alt="Logon/Register" /><%endif%></a>
</div>

This means the JS code in the header can't do its job right then =)

The only solution I can think of, is using mod_rewrite.

Anyway - I'm off for bed now , been a long day Tongue

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates