SOLVED Login and Lo...
 
Notifications
Clear all

SOLVED Login and Logout both showing when logged in

8 Posts
2 Users
0 Reactions
1,508 Views
 Sue
(@sue)
Posts: 131
Estimable Member
Topic starter
 

URL to your eFiction: http://www.fictioning.net
Version of eFiction: 3.5.1
Have you bridged eFiction, if so with what?: No
Version of PHP: 5.2.9
Version of MySQL: 5 ish
Have you searched for your problem: yes
If so, what terms did you try: login logout menu
Do you have a test account for us? test/test

It's a just a niggle really. Certainly nothing dire. I noticed that "Login" still appears in the menu when you're already logged in.

If it's an easy fix (and it needs to be easy for me), is it possible to not show "login" when people are already logged in?


 
Posted : 05/10/2009 2:25 am
(@lyndsie)
Posts: 1263
Member Moderator
 

The Login link is supposed to change to Account Info once the user is logged in. Something's changed that. Hmm... Does this skin have a variables.php? It looks like it's based on elegance so probably not, right?


 
Posted : 05/10/2009 2:46 am
 Sue
(@sue)
Posts: 131
Estimable Member
Topic starter
 

Thanks for the fast reply Lyndsie!

Level = 0
Hidden = checked
Type = U


 
Posted : 05/10/2009 2:50 am
(@lyndsie)
Posts: 1263
Member Moderator
 

Ah, sorry, you caught my first edit. Not bad to check that, but I was on the wrong track. Under Admin > Page Links, do you have the Account Info page link created? If not, this is what it should be.

Name: login
Text of Link: Account Info
Link Access Key: [this is blank]
Link URL: user.php
Link Target: Same Window
Link Access Level: user

You can actually call this whatever you want by changing "text of link."


 
Posted : 05/10/2009 2:53 am
 Sue
(@sue)
Posts: 131
Estimable Member
Topic starter
 

Yep, got one of those:

The options in the Link Access Level are: all/members/admin


 
Posted : 05/10/2009 2:59 am
(@lyndsie)
Posts: 1263
Member Moderator
 

Ah, sorry, that was a typo on my part. On my sites it's set to Members.


 
Posted : 05/10/2009 3:01 am
 Sue
(@sue)
Posts: 131
Estimable Member
Topic starter
 

You are a LEGEND! Thanks very much. A solution where I don't have to dabble in PHP is a very good solution!

Thanks again.


 
Posted : 05/10/2009 3:05 am
(@lyndsie)
Posts: 1263
Member Moderator
 

You know, I really like to play with these Page Links. I use the Members/Admin level a lot. For instance, in one of my skins I created a new page link that goes to the Admin > News > Add New News Item page, but the link is next to the {news_title} on the index page. But it's set to Admin so only admins see it, when they're logged in. It's nice because it saves two or three clicks for the admins who add news. Silly, but pretty easy to do.  (I also have the Story Tracker mod created a Members level page link to the user's Tracked Stories page; it only appears when members are logged in.)


 
Posted : 05/10/2009 3:21 am
Share: