ForumCrafts — plugins, themes, extensions, add-ons & tools for real boards — tools for real boardsDownloads & licences →

FAQ Schema Plugin for MyBB

MYBB PLUGIN free
Not rated yet Be the first

Valid FAQPage JSON-LD on every visible thread — rich results without touching a template.

Adds one thing to your board: structured data Google can actually read. On visible thread pages it injects a Schema.org FAQPage block — the thread subject becomes the Question, the opening post (BBCode stripped, entities decoded, capped at 500 characters) becomes the Answer.

What you get:

• Rich-result eligibility for question-shaped threads in search.
• Zero template edits, zero custom database tables. One switch, in Configuration > Settings, turns the output off without deactivating.
• JSON encoded with JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE, so links, accents and emoji survive intact.
• Runs only on showthread.php for visible threads. The index and every non-thread page are left alone.

Tested on MyBB 1.8.38 / PHP 8.3.24 / MariaDB 11.8.6. Deactivate and uninstall takes the setting and its group with it — nothing is left behind to clean up.

Preview

The block on line 106 of a real thread's page source, immediately before </head>. 1 / 1
The block on line 106 of a real thread's page source, immediately before </head>.⤢ Tap image for full size

What's included

  • Emits FAQPage JSON-LD on every thread that is actually visible to the visitor — thread subject as the question, opening post as the answer.
  • Injects at page-output time on showthread.php only, so no template is edited and nothing is stored per thread.
  • The question keeps its quotes and emoji (entities decoded) and the answer is stripped of BBCode, decoded and cut at 500 characters.
  • One switch in Configuration > Settings turns the output off without deactivating the plugin.
  • Zero tables. Uninstall removes the setting and its group, so nothing is left in the database.

At a glance

PlatformMyBB plugin
Latest versionv2.0.1
Download size19.9 KB
Released25 Oct 2026
Downloads1
AccessFree — sign in to download
Databasenone — no tables created
Template changenone
Settingsone — an on/off switch in Configuration > Settings > DF FAQ Schema
Hookspre_output_page
Files9 in the archive
Tested onMyBB 1.8.38, PHP 8.3.24, MariaDB 11.8.6

Requirements

  • MyBB 1.8.x — the series this release is built for (1.8.38 for the ones we re-tested).
  • PHP 7.4 or newer (8.x is fine).

Checksum

Verify your download before you upload it to your board.

2e5f5fa762f3ac5888d2af10ef742688ef5df3f49919dd466a52f892726c23b9

Install it

1. Copy inc/plugins/dffaqschema.php, the inc/plugins/dffaqschema/ folder and inc/languages/english/dffaqschema.lang.php from the archive into your board, keeping the same paths.
2. Admin CP -> Configuration -> Plugins -> DF FAQ Schema -> Install & Activate.
3. Optional: Configuration -> Settings -> DF FAQ Schema has a switch that stops the output without deactivating.
4. Open a visible thread and view the page source: one FAQPage JSON-LD block sits in the head. The board index, forum lists and invisible threads get none.
5. To remove it: Deactivate, then Uninstall. The setting and its group go with it.

Questions people ask

Does it create database tables?

No. It reads what the platform already stores, so there is nothing to migrate or clean up.

Does it edit templates or core files?

No. It runs from hooks, so no core file is modified.

How do I check the file I downloaded?

Every release page prints a SHA-256 checksum. Hash the archive locally and compare — if the two differ, the download is damaged, not the release.

How are updates delivered?

Each version is its own release on this page with a changelog, and the older archive stays available. Install the new one over the old one; your settings and data stay where they are.

All releases

VersionReleasedSizeDownloadsChangelog
v2.0.1 latest 25 Oct 2026 19.9 KB 1 A real lifecycle instead of stubs. 2.0.0 shipped install / is_installed / uninstall only, so the ACP had no activate or deactivate to call - the plugin now has both, plus its own settings group and an on/off switch under Configuration > Settings > DF FAQ Schema, and uninstall removes them again.

Two output bugs fixed. A subject stored as How do I &quot;restore&quot; ... reached the JSON-LD with the HTML entity intact; entities are now decoded. A single bad byte in an old post could make json_encode() return false and silently drop the block; JSON_INVALID_UTF8_SUBSTITUTE now covers that. Threads with no subject, or an opening post that strips to nothing, no longer emit a half-built FAQPage.

Proven on a clean MyBB 1.8.38 / PHP 8.3.24 / MariaDB 11.8.6 install: one JSON-LD block in the head of a real thread and none on the index, on forumdisplay or on an invisible thread; the JSON parses with the emoji and the quotes intact; the switch turns output off and on; uninstall leaves no rows.
v2.0.0 24 Oct 2026 17.0 KB 1 - Rebuilt as a versioned 2.0.0 release from the deployed source.
- FAQPage JSON-LD scoped strictly to visible thread pages.
- BBCode/HTML stripping hardened; JSON flags set explicitly.
- No template edits, no settings, no custom tables.

Ratings & reviews

No ratings yet — the first one will be real, not seeded

More MyBB plugins

All MyBB plugins