27.02.2026, 14:55
(Dieser Beitrag wurde zuletzt bearbeitet: 21.05.2026, 18:55 von MyBB.de Bot.)
Eine neue Erweiterung wurde veröffentlicht: Edit Private Messages
Zitat:Edit Private Messages
Overview
The PM Edit Plugin allows users to edit private messages after sending or receiving them.
Includes edit history, moderator hard editing, and admin log management.
Main Features
User FeaturesAdmin / Moderator Features
- Edit Received PMs
- Edit Sent PMs
- Quick Edit (AJAX inline editing)
- Full Edit (edit subject + message)
- Edit History with word-level difference view
- "Last Edited By" notice
- Optional Edit Reason field
- Configurable time limit for editing
- Hard Edit (edit recipient copy of sent PM)
- Admin Control Panel logs
- Bulk delete logs
- Automatic weekly log pruning
Requirements
- MyBB 1.8.x
- PluginLibrary (recommended)
Plugin Settings
- Enable PM Editing — Turn feature on/off globally
- Edit Time Limit — Minutes allowed to edit (0 = unlimited)
- Allowed Usergroups — Select usergroups allowed to edit PMs
- Allow Editing Received PMs — Yes / No
- Allow Editing Sent PMs — Yes / No
- Allow Hard Editing — Edit recipient copy as well
- Hard Edit Allowed Groups — Mods / Admins
- Track Edit History — Save previous versions
- Show Edit Notice — Display "Last Edited By"
- Allow Edit Reason — Enable reason field
- Max Edit History Entries — Limit history (0 = unlimited)
- Excluded Folders — Default: Drafts (3), Trash (4)
Database Changes
New Columns in privatemessages Table
- edituid
- edittime
- editreason
- pm_conversation_key
New Table: pm_edit_history
Code:hid pmid uid edituid original_subject original_message edited_subject edited_message editreason dateline ipaddress
File Structure
Code:inc/plugins/ ├── pm_edit.php └── PM_Edit/ ├── install.php ├── uninstall.php ├── database.sql ├── settings.json ├── Functions/ ├── Templates/ └── Assets/ inc/languages/english/ ├── pm_edit.lang.php └── admin/pm_edit.lang.php inc/tasks/ └── pm_edit_prune_logs.php
Templates Created
- pm_edit_button
- pm_edit_form
- pm_edit_reason_field
- pm_edit_history
- pm_edit_history_item
- pm_edit_history_empty
- pm_edit_history_link
- pm_edit_notice
Templates Modified
- postbit
- postbit_classic
- private_read
Admin Tools
Access:
Admin CP → Tools → PM Edit Logs
- View edit history
- Compare original vs edited content
- Delete individual logs
- Bulk delete selected logs
- Delete all logs
How It Works
Quick Edit
Full Edit
- Click Edit button
- Select Quick Edit
- Edit inline
- Save via AJAX
Hard Edit (Moderators)
- Click Full Edit
- Edit subject and message
- Submit changes
Edit History
- Edits sender and recipient copies
- Uses conversation key linking
- Logs history for both copies
- Stores previous versions
- Shows timestamps
- Highlights added and removed words
Warning: All edit history logs will be deleted.