Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.40 veröffentlicht (28.05.26)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Tab Sub Menu
#1
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.

Code:
<section data-tab-sub-menu-category="{$forum['fid']}">...</section>
Compatibility Baseline
  • 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:

Code:
Admin CP -> Configuration -> Plugins
After activation, configure the plugin from the Tab Sub Menu settings group.
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  OUGC Show As Sub Team MyBB.de Bot 0 1.309 16.04.2012, 19:40
Letzter Beitrag: MyBB.de Bot
  Portal Tab MyBB.de Bot 8 4.431 15.05.2011, 20:56
Letzter Beitrag: joggi
  Custom Tab MyBB.de Bot 0 2.023 30.06.2009, 18:58
Letzter Beitrag: MyBB.de Bot