Advertisement:

Author Topic: Removing extra User Info From a Theme  (Read 199 times)

Offline resolutegamer9

  • Newbie
  • *
  • Posts: 1
Removing extra User Info From a Theme
« on: December 07, 2017, 04:45:57 AM »
I'm using the latest version of SMF along with the theme Bad Company 3 theme, by Akyhne (Bad_Company_3_2.0).
I want to disable or remove the "User Info" Option for Login/Register/Info from the theme..
Can anyone guide me through the process?

P.S: Added a SS of which part i am particularly mentioning !

Offline sǝๅqɯɐɥS

  • SMF Hero
  • ******
  • Posts: 4,509
  • Gender: Male
    • i30 Owners Club
Re: Removing extra User Info From a Theme
« Reply #1 on: December 07, 2017, 06:36:10 AM »
Probably better asking in the support topic for that theme ;)

https://www.simplemachines.org/community/index.php?topic=440062.0

Online Rock Lee

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Removing extra User Info From a Theme
« Reply #2 on: December 07, 2017, 07:23:05 AM »
Using the elmentos inspector on the zone that you want to edit you can quickly remove the variables you must delete, if not, you must edit the file boardindex.php for what you want to achieve ...


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2017
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 7,072
  • 'Tis the gift to be simple
Re: Removing extra User Info From a Theme
« Reply #3 on: December 07, 2017, 03:31:19 PM »
No, header login is in index.template.php, pretty simple to remove the entire block.  Will have a look soon as get a minute.


Ok, here's the simplest way to remove it -

index.css

Code: [Select]

div#upper_section div.user
{
width: 50%;
float: left;
overflow: auto;
display: none;
}


Your members may not like this (I don't), because the theme uses a split menu, login button is off in upper right corner.  Last forum I worked on that ran this theme, I dropped it back to main menu, where it's easier to find.
« Last Edit: December 07, 2017, 03:49:36 PM by Sir Osis of Liver »