Vor 42 Minuten
Eine neue Erweiterung wurde veröffentlicht: Tab Sub Menu
Zitat:Tab Sub Menu is a MyBB 1.8 plugin that lets forum administrators organize top-level forum categories into a clean, configurable tabbed menu on the forum index.
Instead of showing every category in one long list, administrators can create named tabs such as Home, Gaming, Programming, Marketplace, or any structure that fits their community. Each tab can target one or more forum/category IDs, and an empty ID list can be used to create a show-all tab.
The plugin is designed to work without requiring template edits for normal installations. It adds the needed stylesheet and template variables during activation, keeps plugin-owned theme assets synchronized, and supports newly created, imported, or duplicated themes while the plugin remains active.
Key Features
- Configurable tab IDs, display names, category assignments, and enabled states
- Optional default tab selection
- Optional visitor tab persistence using browser storage
- Optional shareable tab URLs using the [icode]tsm_tab[/icode] parameter
- Empty-tab hiding for tabs whose categories are not visible to the current visitor
- Permission-aware behavior for guests, members, moderators, and administrators
- Accessible tab markup, keyboard navigation, and visible focus states
- Responsive styling for desktop, tablet, and phone layouts
- Custom CSS override support from the Admin CP
- Maintained default CSS reference inside the settings page
- Automatic stylesheet and template synchronization for themes
- Safe fallback behavior when JavaScript or browser storage is unavailable
- English, Spanish, French, and Simplified Chinese language files
Admin CP Configuration
Configuration is handled through the MyBB Admin CP. Administrators can define tab IDs, display names, assigned forum/category IDs, enabled states, the default tab, empty-tab behavior, browser persistence, shareable URLs, and custom CSS.
Theme Compatibility
Tab Sub Menu supports stock MyBB 1.8 themes and has also been tested with the responsive Space Cadet theme. Heavily customized themes can still integrate by adding a category data attribute to their outer category containers if their markup differs from standard MyBB output.
Compatibility BaselineCode:<section data-tab-sub-menu-category="{$forum['fid']}">...</section>
- MyBB 1.8.x
- PHP 7.4 through PHP 8.4
- Current or previous major versions of Chrome, Firefox, Edge, and Safari
Installation
Upload the contents of the [icode]Upload/[/icode] directory to your MyBB forum root, then install and activate Tab Sub Menu from:
After activation, configure the plugin from the Tab Sub Menu settings group.Code:Admin CP -> Configuration -> Plugins