Notifications
Clear all

wpForo 1.x.x [Closed] Can I hide the forum selector on add topic

5 Posts
4 Users
2 Reactions
1,069 Views
Posts: 51
Topic starter
(@basatexcellent)
Trusted Member
Joined: 7 years ago

I love the threaded layout but doen't understand why I see a select forum dropdown when adding a topic. The specific board only has 1 forum (so not much to select :)). The question is: can I hide the forum selector dropdown.

Topic Tags
4 Replies
Posts: 5
(@amrdad)
Active Member
Joined: 8 years ago

me to...

VereK
Posts: 522
(@verek)
Honorable Member
Joined: 7 years ago

I think this will require some changes to the core Ajax functions. Perhaps @Robert can supply a snippet that will remove the dropdown in the case where this just a single forum.

For a workaround you could change the settings in Dashboard/Forums/Settings/Forums. In the threaded layout options set:

Threaded Layout - Forums List: Expanded

Threaded Layout - Display Add Topic Button on Forum List : No

This will have the effect of showing the forums in your threaded layout category on the homepage. It will remove the add topic button from the forum main page but will retain the button on each forum once you navigate to same.

Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

@basatexcellent @verek @amrdad,

Please don't forget that a topic cannot be created without attaching it to some forum. When you go to a forum page and click on [Add Topic] button you have already chosen the forum. But on home page in Threaded layout forum list you've not chosen any forum. So you must choose one before creating it. Topics can not be created without forum.

So, no selected forum no topic... And on home page you're not in any forum so you must select it.

Posts: 51
Topic starter
(@basatexcellent)
Trusted Member
Joined: 7 years ago

Thanks. @verek, your solution works just fine for me.