Hallo, Gast! ( — Registrieren)

Letzte Ankündigung: MyBB 1.8.41 veröffentlicht (16.09.26)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
DF Memberlist Lock 1.0
#1
Eine neue Erweiterung wurde veröffentlicht: DF Memberlist Lock 1.0

Zitat:Memberlist Lock 1.0

Your full member directory is public by default — scrapers, spam-harvesters and competitor boards can page through every single member. Memberlist Lock puts the complete directory behind a configurable allow-list, while everyone else sees a friendly, capped first page.

What restricted visitors (guests + members) see

First page only — direct ?page=N URLs silently fall back to page 1
A configurable row cap (default 50)
Pagination hidden
An optional, translatable notice bar (template-driven)
What allowed uids see

The complete, unmodified memberlist with normal pagination
ACP settings (Configuration → Memberlist Lock)

Full-access uids — CSV of user ids (default 1)
Restricted page size — row cap for restricted visitors (default 50)
Show lock notice — yes/no
Architecture (built against the official Advanced Plugin Development guide)

inc/plugins/dfmlock.php — lifecycle only (info / install / activate / deactivate / uninstall / is_installed)
inc/plugins/dfmlock/hooks.php — minimal hook handlers (memberlist_start, pre_output_page)
inc/plugins/dfmlock/permissions.php — uid allow-list helper
inc/plugins/dfmlock/settings.json + settings.php — settings via insert_query_multiple
inc/plugins/dfmlock/templates.json + templates.php — notice template installed to master
inc/languages/english/… + …/admin/… — every user-facing string in language files
Security notes

No SQL built from user input; the only input touched is forced server-side
All uids cast to int; allow-list parsed with intval + strict in_array
Output is language-driven and escaped; notice markup lives in a template
No eval(), no remote calls, no file writes, no secrets
Clean uninstall: settings, setting group and templates removed, caches rebuilt
Tested on MyBB 1.8.40 / PHP 8.3 (compatible PHP 7.4+)
Live demo: https://data-forums.com/memberlist.php (restricted view) — full view for the allowed uids only.

Install: upload the tree → ACP → Plugins → Install & Activate → tune settings.

Support Forum/Thread : https://data-forums.com/Thread-FREE-PLUG...0#pid25180
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Lock Content MyBB.de Bot 3 1.837 02.07.2025, 09:55
Letzter Beitrag: MyBB.de Bot
  Reputation Lock MyBB.de Bot 1 1.904 16.06.2018, 04:05
Letzter Beitrag: MyBB.de Bot
  Lock MyBB.de Bot 0 1.631 06.10.2015, 16:45
Letzter Beitrag: MyBB.de Bot
  Lock IP MyBB.de Bot 0 1.425 07.07.2015, 05:20
Letzter Beitrag: MyBB.de Bot
  Lock Posts MyBB.de Bot 0 1.603 07.03.2012, 13:40
Letzter Beitrag: MyBB.de Bot