Support Forum

Show Login/Logout Link? (also disappearing login boxes)

WI williambennettiv
williambennettiv
Member

Good morning!

 

Did the ability to hide the Login button (via Components – Login and Registration) on the forum go away with 5.0?  Also the Registration button? (as we will not have open registration)

Previously I could take this off the forum page and have users just use a widget to login… 

 

One of the main reasons I ask is the inline form is giving me issues (the text boxes disappear when I enter text?)…I thought it may actually be some sort of conflict with the login widget because by clicking the “remember me” box my page jumps to the footer where there is another remember me box in the widget.  I disabled the widget and the jumping is gone, but the text boxes still disappear on me when I start entering text =/  

11 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

V5 is theme and template driven so many options are now a matter of editing the template.
You will need the spHead.php template. Load it up in the SP theme editor and you will find the template functions class for login, registration and the login form. They should be real easy to spot. You can just remove them or comment them out.

As always we recommend making your own theme to avoid losing customisation during a future upgrade.

WI williambennettiv
williambennettiv
Member

Gotcha!  Thats fantastic – and definitely easy to go in and find what you are looking for!  Thank you!

Any thoughts on the disappearing text boxes?

YS Yellow Swordfish
Yellow Swordfish
Member

My guess is this will be a CSS styling conflict with your theme (or possibly another plugin). if you know how to use Firebug or your browsers developer tools then you should be able to track it down to see what CSS is being applied.

Does it happen everywhere within the forum or just the login form?

WI williambennettiv
williambennettiv
Member

So far it seems to be ONLY on the login…

 

seems as soon as I type in the box something is is changing it from display:inline to display:NONE…thus the disappearing box!  i’ll keep hunting with firebug and report back

WI williambennettiv
williambennettiv
Member

Haha….well….yes I think….but I am also open to keeping it because it is very attractive, and if I use a full page setup the only login would be in the footer and a login towards the top would be useful as well.  Glutton for punishment?  

Right now I’m just seeing an inline element making the opacity 0…….not the best with investigating using firebug…having the issue at http://schools.borislow.com/forum/ 

YS Yellow Swordfish
Yellow Swordfish
Member

Ah interesting. Something is embedding an opacity style statement into the text input control when it becomes selected – via javascript. So this is not being done through a stylesheet. It is also not being done by SP. Probably theme or plugin related. No ides what i am afraid.

Just a word of caution…. now I have looked at your source I see theme or plugin is loading jQuery and the jQuery UI from outside sources instead of using the WP versions. This may well cause some items within SP to just not work although you may be one of the lucky ones.

WI williambennettiv
williambennettiv
Member

Thank you again for the expertise!!!

I will hunt through the theme….(see? glutton for punishment)….I did disable all of my plugins and it did not correct itself, so that’s leaving me with it being a theme issue!

YS Yellow Swordfish
Yellow Swordfish
Member

Well – it didn’t look that bad to me.

WI williambennettiv
williambennettiv
Member

Thanks =)

 

I just like to torture myself sometimes….even though I’m 50/50 whether I’d even use it, I still want to make sure if I want to use it, it will work….looks like it *might* be related to fancybox.

 

EDIT:  by disabling (changing the filename of) jquery.jcarousel.min.js the problem goes away…so that seems to be part of the issue…

YS Yellow Swordfish
Yellow Swordfish
Member

I have no idea what that does. But the cause will be in the component that uses it I guess.