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 Posts
#1
Eine neue Erweiterung wurde veröffentlicht: Clipboard Image to Posts

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 using the MyBB upload function (e.g. as a clipboard_YYYYMMDD_HHMMSS.png).
Inline placement: At the exact last cursor position, the plugin places the placeholder [attach-ment=ID] in the text.

Representation: At the bottom of the post, the image appears normally in the attachment list (file name e.g. clipboard_.... png).
In the text, the image will appear inline, just as if you had clicked "Paste to post" at the bottom.
Removing the tag: If you delete the [attach-ment=ID] tag from the text, the image will only remain as an attachment.
Scope: The plugin only applies to newthread.php, newreply.php, and editpost.php. The normal upload function remains unchanged.


Installation
Upload plugin files to inc/plugins/.
Activate in ACP.
In the ACP settings for DEBUG can be made.

Error Case & Permissions
If nothing happens during the insertion except that the cursor jumps up, the plugin probably couldn't create the required script:

Check the write permissions of the scripts folder in question (the web server user must be allowed to write).
Procedure (practical example): Set the folder to 0757 for a short time, 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.

Uninstall
Only when deactivating and uninstalling does the plugin remove the associated script again (clean for future updates).
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Clipboard Image to PM MyBB.de Bot 0 7 Gestern, 15:48
Letzter Beitrag: MyBB.de Bot