News:

Follow us on Bluesky!

Main Menu

Remove Quick Login

Started by OneLung, December 02, 2013, 12:13:52 PM

Previous topic - Next topic

OneLung

Using SMF 1.1.19 and the Invite mod ( http://custom.simplemachines.org/mods/index.php?mod=653 ).

I have the invite mod set to allow registration ONLY by invitation, so I would like to remove the quick login/register form that guests see on the left side of the forum header, but I want to keep the avatar and forum information that is there when a member IS logged-in.

Can this be done?

Thx - Dan.

OneLung

Note: I would like to add that I already unchecked the "Show Quick Login on Every Page" option in Admin > Features & Layout area.

margarett

If you unchecked that, then the quick login should be gone.
Just did that in my test forum and it worked.
What theme are you using?

Tested in 2.0 and it worked, just realized that you are using 1.1.19, sorry...
In 1.1 it really doesn't go away :(
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

margarett

OK, this can easily be fixed...

Go to your index.template.php, and find this:
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else

Replace with:
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
elseif ($context['show_login_bar'])
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

OneLung

Works perfectly. Thank you! :)

Dan.

margarett

You're welcome ;)
I'm moving this to 1.1 support board
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

kat


Advertisement: