Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
AutoCopy Code and PHP to clipboard Details »
AutoCopy Code and PHP to clipboard
Mod Version: 1.00, by TECK (Member) TECK is offline
Developer Last Online: Aug 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (1 vote - 5.00 average) Installs: 26
Released: 07 Apr 2002 Last Update: Never Downloads: 5
Not Supported  

This hack will allow you to copy the text quoted in Code and PHP, to your clipboard, with a simple double-click.
This is extremly useful if your users utilise frequently the code environment.

Once installed the hack, if an user double-click in the quoted area, an alert will popup let him(her) know that the code was copied to the clipboard.

ESTIMATED INSTALL TIME: 1 minute
TESTED IN VERSION: 2.2.5

NOTE: As a thank you for using my hack, please click on the INSTALL button. You will receive updates in your email, whenever I add new features to it and it will let me evaluate better the quality of my hacks.
Also post a reply with your comments. Your oppinion is important to me.

To use this hack with FireFly's Quote, Code and PHP hack, read the instructions mentioned here.

To download the latest version of this hack, click below:

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • 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

Comments
  #2  
Old 07 Apr 2002, 10:42
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
Below, you see a screenshot...
Attached Images
File Type: gif autocopy.gif (9.9 KB, 328 views)
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog

Last edited by TECK; 11 Apr 2002 at 05:58.
Reply With Quote
  #3  
Old 07 Apr 2002, 11:03
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Real name: Maurice
Pretty usefull, thanks.
Reply With Quote
  #4  
Old 07 Apr 2002, 11:03
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
i hope firefly will install this here..
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #5  
Old 07 Apr 2002, 12:14
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Yeah, looks useful indeed. I'll look into this shortly.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #6  
Old 07 Apr 2002, 12:18
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
thanks firefly.
it's extremly easy to install it in your hack. i have no idea how come i didnt think of this before...
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #7  
Old 07 Apr 2002, 12:27
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001

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

__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #8  
Old 07 Apr 2002, 12:31
Recluse's Avatar
Recluse Recluse is offline
 
Join Date: Feb 2002
nice one
Reply With Quote
  #9  
Old 07 Apr 2002, 12:32
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Yeah, you must click inside the text and not just anywhere in the table (because the <pre> ends before the table).
Maybe with some more Javscript you can make the whole table double-clickable?
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #10  
Old 07 Apr 2002, 12:33
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
i'm glad you like it firefly. it will make everyone's life easier here at vB.org...
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #11  
Old 07 Apr 2002, 12:39
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
Originally posted by FireFly
Yeah, you must click inside the text and not just anywhere in the table (because the <pre> ends before the table).
Maybe with some more Javscript you can make the whole table double-clickable?
you cant.. unfortunatelly. the code is looking only for a segment of code related to whatever variable you select (in our case <pre), to paste it. if you select ather area, it will paste everything, including the html code. i would make more clear the message:
(double-click the code segment to copy to clipboard) or something like that...

if you dont click on the actual code, it will not work. talking abot this, how can we remove the space? if you click on the first line (even is it's outside the text), in your example, it works. in the empty space below, it doesnt. VB adds some extra space there... only in CODE and PHP. maybe you can tell us here firefly how to remove this pesky space in both CODE and PHP.. it is not very estethic..
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog

Last edited by TECK; 07 Apr 2002 at 12:48.
Reply With Quote
  #12  
Old 07 Apr 2002, 12:46
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
I was thinking of maybe giving every <pre> a unique ID (per page of course), and then instead of "this" in the JS use that ID.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #13  
Old 07 Apr 2002, 12:50
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
/me beats the system.

Ok, I got it to work with my hack (PHP and stuff in boxes) that you can click the table and not just the text.

Instead of replacing <pre I replace this:

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

With the same code only with added JavaScript.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #14  
Old 07 Apr 2002, 12:51
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
good job firefly, as usual..
so if i understand corectly.. you fall in love with me?? hehe
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog

Last edited by TECK; 07 Apr 2002 at 14:06.
Reply With Quote
  #15  
Old 07 Apr 2002, 18:02
nsr81 nsr81 is offline
 
Join Date: Mar 2002
Thanks for this hack nakkid.
Reply With Quote
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 08:54.

Layout Options | Width: Wide Color: