Support Forum

Defaults to last logged in user in login

ML Michael Levin
Michael Levin
Member

After I log out, if I go back to SimplePress, I still see the “Welcome back Michael Levin, please log in to post” message at the top left.  If I press the login button, I get an area to enter the password but it assumes I’m the same user.  As I am developing this, I need to easily switch back and forth from an administrative user to a regular or even guest.  Is there some way that when I log out, that can be cleared so it assumes I’m just a guest?  And, if I press login, that I’ll be prompted for both username and password?

9 Answers

New Answer

BR Brandon
Brandon
Member

Typically that is caused by having a WP caching plugin installed and not having it ignore the forum pages.

Check Forum Displays Wrong Information info in the codex. Basically… “If running a caching plugin the WordPress page the forum is displayed on needs to be excluded for all types of caching in use for it’s pages.”

MP Mr Papa
Mr Papa
Member

I think you want to turn off disallow users posting as guests option and the store guest information in cookie options on forum – options – member settings…

ML Michael Levin
Michael Levin
Member

I have done what was suggested, and still get no box for username.  Here is a screenshot:

I think the problem is with my theme, but I have no idea where the interaction may be or where to look.  Any thoughts?

MP Mr Papa
Mr Papa
Member

that looks like a wp theme clash issue…  do you have a link to your site so we can examine the css?

ML Michael Levin
Michael Levin
Member

Clash of the Themes… Sounds like a great title for a high tech thriller.

 

Anyway, www.wegmanlevin.com 

 

Thank you in advance.

 

 

MP Mr Papa
Mr Papa
Member

lol… if you look hard, you will see it way down there in the lower right of your screen… why?

your theme has something called demo.css… its giving it this styling

#log {
    bottom: 0;
    position: fixed;
    right: 1em;
    text-align: right;
}

fixing the position way down there…

#log {
    bottom0;
    positionfixed;
    right1em;
    text-alignright;
}
BR Brandon
Brandon
Member

Mr Papa said
lol… if you look hard, you will see it way down there in the lower right of your screen… why?

your theme has something called demo.css… its giving it this styling

#log {
    bottom: 0;
    position: fixed;
    right: 1em;
    text-align: right;
}

fixing the position way down there…

 

This should take care of it if you add it to your SP theme. You do have a custom one don’t you. ;)

#spMainContainer #log {
    position: relative;
    right: 0;
}
ML Michael Levin
Michael Levin
Member

THANKYOU ! ! !

I inserted the code, and it made the box appear in the right place, but, then, it was setup to input from the right (I believe it may have been designed for Hebrew).  SO, I went into demo.css, and modified the following area there, instead of the sp theme:

li { list-style-type: none; } .basic, #list2, #list3, #navigation { width:20em; }

#log { position: relative; right: 0; text-align: left; } #switch { position: relative; right: 15em; }

 The #log took care of the username box location, and the #switch took care of the input left-to-right.

GREAT!

One last question- this comes up without a cursor.  Is there an easy way I can add some code to place the cursor in the username box?

This theme has some major issues.  I hope the developer is willing to fix them.

MP Mr Papa
Mr Papa
Member

the theme seems really, really dated… using jquery 1.3.2 if I remember… that is ancient released in Feb 2009…  WP now ships with jquey 1.9…  

do you mean the login name input field?  you can do that with some jquery code if you want…