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.
Apr 7, 2008, 12:03 PM
Veteran / Moderator (17366 posts)
Apr 7, 2008, 12:03 PM
Post #2 of 5
Views: 429
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
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
Apr 7, 2008, 12:10 PM
Novice (30 posts)
Apr 7, 2008, 12:10 PM
Post #3 of 5
Views: 428
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
Apr 7, 2008, 12:16 PM
Veteran / Moderator (17366 posts)
Apr 7, 2008, 12:16 PM
Post #4 of 5
Views: 427
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
(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
If you send over admin panel access (andy@ultranerds.com), I'll take a quick look for you. Shouldn't be anything too hard
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
Apr 7, 2008, 2:02 PM
Veteran / Moderator (17366 posts)
Apr 7, 2008, 2:02 PM
Post #5 of 5
Views: 423
For anyone interested, the reason its not working - is because hes edited the login bar HTML from:
..instead of:
<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
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
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
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

