Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 1145
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

How to disable main smf login in the header?

Started by dpacmittal, February 24, 2009, 04:33:14 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

dpacmittal

I dont know if this is a very basic question. I have SMF 2.0RC1 and I want to remove the login in header because I've already kept a block for that in simple portal.

Now, I've got two login forms. I want to remove the one in the header but I dont know how.

I've attached the screenshot for reference.

I searched to disable it in current theme settings but couldn't find any option for it.

[SiNaN]

Do you want to disable it for every page, or just for portal? What's is your theme?
And slowly, you come to realize... It's all as it should be...

Manu

Quote from: Blue Dream on February 24, 2009, 06:38:05 AM
Do you want to disable it for every page, or just for portal? What's is your theme?

Is this possible?
If it is, I would like to know how and what I have to do.
I'm using the "Multi Color Overview" and would be happy to get off the login part in the
header of the portal at our site. :D

But only in the portal, at the forum itself it should still be. :D
Sometimes I'm an angel, sometimes I'm a devil, but I am always 100% woman and if you have a problem with me, learn to deal with it!

dpacmittal

I am using SimpleV2.. I thought it was really easy.. I never knew someone didnt ask that before.

I want to disable it on every page as I've configured my block to be displayed on every page.

[SiNaN]

dpacmittal:

index.template.php

Find:

// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else


Replace:

// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
elseif (1 == 2)


Manu:

I'll look into yours later, I don't have Overview with me ATM.
And slowly, you come to realize... It's all as it should be...


Manu

Quote from: Blue Dream on February 24, 2009, 09:49:49 AM
dpacmittal:

index.template.php

Find:

// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else


Replace:

// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
elseif (1 == 2)


Manu:

I'll look into yours later, I don't have Overview with me ATM.

After a little change of the code, I had to put space between else and if, the code works perfect for me too.

   // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
   else if (1 == 2)


Danke Blue Dream :-*
Sometimes I'm an angel, sometimes I'm a devil, but I am always 100% woman and if you have a problem with me, learn to deal with it!