Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.39 veröffentlicht (02.06.25)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Clipboard Image to PM
#1
Eine neue Erweiterung wurde veröffentlicht: Clipboard Image to PM

Zitat:This is how the insertion works Paste:
Paste an image from the clipboard into the editor text box.
Upload: The plugin uploads the file.
Inline placement: At the exact last cursor position, the plugin places the placeholder [im-g] in the text.

Representation:
By clicking on Preview, it will then also be displayed.
In the text, the image is displayed inline.
Maximum size=10MB Automatic deletion from the image, after 14 days.
Scope: The plugin only responds to private.php

Installation
Upload plugin files to inc/plugins/.
Check the write permissions of the folders /jscripts and the /inc/tasks -> temporarily at 0757
Install & Activate in ACP.
Now reset the folder permissions to the previous setting
In ACP settings such as Maximum Size, Duration of Storage and DEBUG can be made. A task is created for cleanup.
Delete function for single or multiple file uploads for user added in usercp under messages clipboard attachments

Error Case & Permissions
If only the img tag_data_image_png_base64... it says, the plugin probably couldn't create the required scripts:

Check the write permissions of the jscripts folder in question and the /inc/tasks folder (the web server user must be allowed to write).
Procedure (practical example): Set the folder to 0757 for a short time, Install & Activate plugin, Reset rights.
Background: Your login user (e.g. ABC) may be different from the web server user (e.g. XYZ). The decisive factor is that XYZ has write permissions. 

Then deactivate and uninstall the plugin, and only now install and activate it. The order is crucial.



My test system (nginx and other versions not tested):


MyBB Version 1.8.39
PHP Version 8.3.12
SQL Engine: MySQLi 8.0.40

Apache/2.4.65 (unix) OpenSSL/3.5.1


If pasting doesn't work at all, meaning you can't even paste text, then it's the browser's fault, which requires an https connection to access the clipboard.


Uninstall
When disabling deletes only cleaning task! Uninstalling removes the plugin, the associated script and settings (clean for future updates).
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Clipboard Image to Posts MyBB.de Bot 0 1 Vor 8 Stunden
Letzter Beitrag: MyBB.de Bot
  Clipboard Image to PM MyBB.de Bot 1 250 10.09.2025, 17:54
Letzter Beitrag: MyBB.de Bot
  Clipboard Image to Posts MyBB.de Bot 0 191 07.09.2025, 14:40
Letzter Beitrag: MyBB.de Bot