Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe und besinnliche Weihnachten!

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Copy PHP CODE
#1
Eine neue Erweiterung wurde veröffentlicht: Copy PHP CODE

Zitat:Hi all,
It's been a very long time since I've been away from the Mybb community due to personal reasons. It feels good to be back . So to refresh my memories on everything, I decided to take a tutorial I posted way back then, the "SELECT ALL" for [PHP] and [CODE] blocks, and turn it into an actual plugin. With this plugin, we skip the select all step, and we go straight to copy the text with just a click of a button. Also, it's a plugin now, even easier and faster to use.

Since it's a straightforward plugin, there is no setting for it. Maybe in the future, I will add more settings for more customizations, but for now, please enjoy this simple plugin

Let's get started

Plugin Description:
  • Adds the ability to copy text to the clipboard with a tooltip for [PHP] and [CODE] blocks.


***Installation***
  • Upload everything in the "UPLOAD" folder to your root

  • Activate plugin in Admin CP

  • Change settings in Admin CP


***Upgrade from version 1 to version 2***
  • Deactivate plugin

  • You will need to delete this line from headerinclude (I'm just being lazy): <script type="text/javascript" src="{$mybb->asset_url}/jscripts/copyphpcode/copyphpcode.js"></script>

  • Delete folder "jscripts/copyphpcode" and everything inside it

  • Upload everything in the "UPLOAD" folder to your root

  • Activate plugin in Admin CP

  • Change settings in Admin CP


Video Demo:

[Video: https://www.youtube.com/watch?v=RWPbvB1lDc8]

Live Demo: https://mybb.vn/Thread-test-copy-php-code

Support Thread: https://community.mybb.com/thread-239516.html
Zitieren
#2
Eine neue Version wurde veröffentlicht: Copy PHP CODE 2.0
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Copy All Attachments MyBB.de Bot 0 534 14.07.2022, 12:55
Letzter Beitrag: MyBB.de Bot
  Copy Text Auto Add Source MyBB.de Bot 2 1.688 17.06.2013, 17:57
Letzter Beitrag: MrBrechreiz
  No Copy Modification MyBB.de Bot 0 1.784 24.08.2008, 17:03
Letzter Beitrag: MyBB.de Bot