News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

2.02 How to Hide Info Center and/or Statistics

Started by stevesal32, April 23, 2012, 03:29:04 PM

Previous topic - Next topic

stevesal32

I cannot find a way to hide INFO CENTER for version 2.02.  I am sure I need to do something with the BOARDTEMPLATE.PHP file and have tried multiple things but since I am a newbie to PHP, it is pretty much trial and error.  If removal of the entire INFOCENTER is not possible, I'd settle for removal of the stats only.  I have already made sure the group permissions for statistics was unchecked which seems to do nothing.  Any help?  hxxp:www.triatek.com/forum [nonactive]

Robert.

Please attach your BoardIndex.template.php and I'll remove it for you :)

stevesal32

Many thanks.  I am definitely interested in seeing where I am going wrong.

stevesal32

Can you send me the file or reupload.  I fear I may have just overwritten your change by accident.  Sorry.

Robert.

Quote from: stevesal32 on April 24, 2012, 09:52:29 AM
Can you send me the file or reupload.  I fear I may have just overwritten your change by accident.  Sorry.
I'm sorry but I am not sure I understand you :P

I have attached the file, but here is what I did. On line 272, you can find this: template_info_center();
That is the piece of code that calls the info center. If you don't want to see it anymore, you can change that to this (which is what I did):
// template_info_center();

stevesal32

You are a genius!  Thank you SO much.  This works perfectly.

Robert.


Advertisement: