Vor 2 Stunden
Eine neue Erweiterung wurde veröffentlicht: MyTabsX
Zitat:MyTabs - Tabbed Forum Browsing for MyBB 1.8
Tired of the endless scroll on your forum index? MyTabs lets you split your board into clean, clickable tabs so your users can jump straight to the sections they care about instead of wading through everything at once.
I originally picked this up as a full rewrite of Ethan / FatalMessiah's old plugin from MyBBPlugins. This version is rebuilt from the ground up for MyBB 1.8.35+, PHP 8.0+, and MySQL 8.4+ with InnoDB.
What it does:
- Divide your forum index into tabs, each containing whatever forums you choose
- Two display modes: AJAX (seamless switching without page reloads) or static (all tabs rendered at once, toggled with CSS)
- Per-user default tab via the User CP so members land on their preferred section
- Full visual control - HTML templates for tab styling (normal, selected, and tab list containers) using {$link} and {$name} placeholders
- Admins can hide tabs without deleting them, reorder them, and assign any forum (or parent category) to any tab
Why I rewrote it:
The old plugin used eval() to render tab templates which was a security concern and broke on stricter PHP configurations. It had MySQL errors (MyISAM, TEXT defaults), PHP 8.1+ type errors on empty arrays, JavaScript issues with for...in on NodeLists and a global xmlhttp variable that caused race conditions between concurrent AJAX requests, and an "Add Tab" form that couldn't save because of a misplaced isset() guard. All fixed. Version numbering reset to 1.0.0 since this is effectively a new plugin.
Requirements:
- MyBB 1.8.35+
- PHP 8.0+
- MySQL 8.4+ with InnoDB
Install:
Upload the contents of inc/, admin/, and jscripts/ to your forum root, activate in the ACP, and you'll find it under Forums & Posts → MyTabs.
Issues / contributions:
github.com/hisoka-root/mytabs