Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Copy Code to Clipboard for CODE/HTML/PHP BBCode Details »
Copy Code to Clipboard for CODE/HTML/PHP BBCode
Mod Version: 1.00, by TheDigitalCouch (Member) TheDigitalCouch is offline
Developer Last Online: Aug 2022 I like it Show Printable Version Email this Page

vB Version: 5.5.5 Rating: (0 vote - 0 average) Installs: 0
Released: 21 Jul 2022 Last Update: Never Downloads: 0
Not Supported Template Edits  

vBulletin 4 Creator: BCP_Hung
vBulletin 4 Mod Link: https://vbulletin.org/forum/showthre...ight=copy+code
Javascript Fix: Raptor

Working with vB 5.6.9

About:

This modification adds a "Copy Code" box that will select all of the code within the box, as well as automatically copy to clipboard.

The vB4 mod did not automatically copy the code, which I've fixed in this version.

Installation

Copy and paste the following javascript code at the bottom of your head_include template:
AdminCP -> Styles -> Style Manager -> Edit Templates -> head_include

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save.

For CODE BBCode:

Navigate to AdminCP -> Styles -> Style Manager -> Edit Templates -> bbcode_code

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save.

For HTML BBCode:

Navigate to AdminCP -> Styles -> Style Manager -> Edit Templates -> bbcode_html

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save.

For PHP BBCode:

Navigate to AdminCP -> Styles -> Style Manager -> Edit Templates -> bbcode_php

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save.

Then add the following to your css_additional.css:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save.

You may need to make some adjustments.
Enjoy!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Screenshot 2022-07-20 203653.jpg
Views:	23
Size:	30.0 KB
ID:	159071  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
After posting automatically copy to clipboard Kentaurus vBulletin 3.0 Full Releases 34 31 Jan 2006 06:55
[tweak] Copy Post URL to clipboard filburt1 vBulletin 2.x Template Modifications 21 31 Jan 2003 20:23

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:09.

Layout Options | Width: Wide Color: