Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: prodevp - joulukuu 15, 2004, 05:29:11 AP

Otsikko: Disable NEWS BOX and KEY STATS
Kirjoitti: prodevp - joulukuu 15, 2004, 05:29:11 AP
Hi,

I am new here. I have just downloaded and installed SMF 1.0 RC2 .

I have a phpbb forum, i am testing if SMF is better.

My phpbb is a private forum .  I am just wonding, is there a way to disable non-registered guests viewing NEWS BOX and KEY STATS , so I can keep every private and secured for registered members only?

Thank you very much.
Otsikko: Re: Disable NEWS BOX and KEY STATS
Kirjoitti: prodevp - joulukuu 15, 2004, 06:01:35 AP
Hi,

I found that part of code in index.template.php . I added a
if ($context['user']['is_logged'])
for that part of code and it is working (although there is an empty space in the index page).

Just to confirm , in case i missed it, there are no such settings in the Admin Control Panel, right ?    ;)

Thanks.
Otsikko: Re: Disable NEWS BOX and KEY STATS
Kirjoitti: A.M.A - joulukuu 15, 2004, 06:44:59 AP
Yes, that will do.
you can disable news in Admin CP.
Otsikko: Re: Disable NEWS BOX and KEY STATS
Kirjoitti: prodevp - joulukuu 15, 2004, 07:07:39 AP
Lainaus käyttäjältä: A.M.A - joulukuu 15, 2004, 06:44:59 AP
Yes, that will do.
you can disable news in Admin CP.
Finally....after much search... I found where to set 'Enable News' .
Thanks.
Otsikko: Re: Disable NEWS BOX and KEY STATS
Kirjoitti: TarantinoArchives - helmikuu 08, 2005, 03:44:03 IP
what abouy the key stats box, am i blind or is there no checkbox in the admin panel to enable/disable it?
Otsikko: Re: Disable NEWS BOX and KEY STATS
Kirjoitti: weekend camper - helmikuu 08, 2005, 07:46:25 IP
key stats is probably a template thing.


Otsikko: Re: Disable NEWS BOX and KEY STATS
Kirjoitti: TarantinoArchives - helmikuu 09, 2005, 07:45:58 AP
Lainaus käyttäjältä: weekend camper - helmikuu 08, 2005, 07:46:25 IP
key stats is probably a template thing.




yeah i just commented those lines out of the template. i think that's one of the downsides of SMF, instead of just some module-oriented template system like Mambo, its all about changing the template. i think it should be more like you set up a Spot A and B in your template and then in the admin section you seleft IF something is displayed in Spot A or B or not at all. thus just changing WHAT is displayed in the template but you dont change the template.
in mambo, if you have a position LEFT and you have nothing displayed in LEFT, nothing is displayed, but nothing is changed in the template. If you select for example a menu displayed in LEFT, its displayed in LEFT, but the template is not changed.....