How can you completely disable the User Info box at the top?

Started by Inferno912, February 24, 2006, 11:50:33 PM

Previous topic - Next topic

Inferno912

I've been trying to mod around with it, like disabling the avatar and stuff, but how can I totally take out the box?

RyanJones

Try this:

Open: Themes/xxxxx/languages/ModSettings.english.php



Find (About line 61):

$txt['todayMod'] = 'Enable "Today" feature';

After, add:

$txt['enableInfoCenter'] = 'Enable user information center?';


Close & Save file



Open: Sources/ModSettings.php


Find (About line 255):

	
	
	
array(
'check''enableVBStyleLogin'),


After, add:

	
	
	
array(
'check''enableInfoCenter'),



Close & Save file



If you want it completly remved, tabs and all use this

Open: Themes/xxxxx/index.template.php


Find (About line 333):

	
</
div>';


	
// Show the menu here, according to the menu sub template.
	
template_menu();


After, add:

}


Close & Save file



If you want to leave the tabs, use this:


Open: Themes/xxxxx/index.template.php


Find (About line 255):

	
echo 
'
	
	
	
	
	
</form>
	
	
	
	
</td>
	
	
	
</tr>
	
	
</table>
	
</div>'
;


After, add:

}


Close & Save file



Enjoy!

Cheers,

Ryan Jones
RyanJ (Ryan Jones)

Support Web Standards!

Currently working On: Additions to the Karma system.

Inferno912

oh man, the theme i have only has 7 lines of code....

Inferno912

in fact, all the themes' settings.english.php have 7 lines of code. Is there a different document you are referring to?

Inferno912

yes found it, thanks

Advertisement: