09.11.2023, 13:00
(Dieser Beitrag wurde zuletzt bearbeitet: 27.11.2024, 12:05 von MyBB.de Bot.)
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