Copy PHP CODE

by Joey_Pham423 1 Star 50 Downloads

Adds the ability to copy text to the clipboard with a tooltip for [PHP] and [CODE] blocks

Project Details

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 Smile. 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 Smile

Let's get started

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

Installation:
  1. Upload everything inside the "Upload" folder to your forum root.
  2. Go to ACP to activate the plugin.
  3. Enjoy

Video Demo:

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

Live Demo: https://mybb.vn/showthread.php?tid=3&pid=45#pid45

Support Thread: https://community.mybb.com/thread-239516.html

Previews

Author
Joey_Pham423
Collaborators
None
Version
1.0
Submitted
2023-11-09, 11:46 AM
Last Updated
2024-01-06, 07:55 AM
Bug Tracking
Open
MyBB Versions
1.8.x