News:

Wondering if this will always be free?  See why free is better.

Main Menu

Forum without categories

Started by Leradis, May 10, 2008, 10:04:19 AM

Previous topic - Next topic

Leradis

I do not need category. I would like boards at the the Index root and collapsible. Is that possible or do we need a MOD?

Thanks in advance.

Leradis

Alternatively, can we post in a category? It does not seem so.

Metal_13

why dont you create 1 category and name it "Forums" or your site name.. then it wont look like a category...

Leradis

#3
Hi, This is what I did ;)

But there are two drawbacks :

1. useless category appears in the bread crumb (would be great to have a tickbox to remove a category from the tree)
2. I can not collapse boards (this is what I would need) and I do not want to create four categories with only one bard each.

Regards

Rumbaar

You could edit out the portion of the BoardIndex.template.php of your theme that displays the category header.

I'm thinking you may change the default workings of SMF to point to MessageIndex.template.php of a single category and not to the normal BoardIndex.template.php file.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Oldiesmann

In 2.x, you can also tell SMF to not even include categories on the board index. Just edit Sources/BoardIndex.php and change 'include_categories' => true to 'include_categories' => false
Michael Eshom
Christian Metal Fans

Leradis

Thanks. What is the normal effect of this feature?

In my case it did not remove the category from the bread crumb.

Oldiesmann

Sources/Load.php

Find and remove the following (lines 716-719):

array(array(
'url' => $scripturl . '#' . $board_info['cat']['id'],
'name' => $board_info['cat']['name']
)),
Michael Eshom
Christian Metal Fans

Leradis

Fantastic! Exactly what i needed.

Thanks all. Very helpful topic.

xenoverse

Hi sorry about bumping such an old topic, I am about to download and install SMF 2 so that I may try this method outlined in this post and I just wanted to try and confirm what this is supposed to do.

As I understand it this is supposed to remove any categories from your board index and instead allow threads to show at the board index, is this correct?

Thank you in advance for any replies.

Kindred

no.... this edit qill just remove the "category" from display. The forum index (aka boardindex.template.php) will still display each BOARD and not each message.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: