Install:
1. Open Temp: headinclude
Add below:

PHP Code: 
          <script type="text/javascript"
function 
selectCode(a

   var 
a.parentNode.parentNode.getElementsByTagName('PRE')[0]; 
   if (
window.getSelection
   { 
      var 
window.getSelection(); 
       if (
s.setBaseAndExtent
      { 
         
s.setBaseAndExtent(e0ee.innerText.length 1); 
      } 
      else 
      { 
         var 
document.createRange(); 
         
r.selectNodeContents(e); 
         
s.removeAllRanges(); 
         
s.addRange(r); 
      } 
   } 
   else if (
document.getSelection
   { 
      var 
document.getSelection(); 
      var 
document.createRange(); 
      
r.selectNodeContents(e); 
      
s.removeAllRanges(); 
      
s.addRange(r); 
   } 
   else if (
document.selection
   { 
      var 
document.body.createTextRange(); 
      
r.moveToElementText(e); 
      
r.select(); 
   } 

</script> 



2. Open bbcode_code:
find:

PHP Code: 
        $vbphrase[code]: 


Add below:
PHP Code: 
           <a href="#" onclick="selectCode(this); return false;"><input type="button" value="Select All" /></a


3. Open bbcode_html:
find:
PHP Code: 
           $vbphrase[html_code]: 
Add below:
PHP Code: 
           <a href="#" onclick="selectCode(this); return false;"><input type="button" value="Select All" /></a
4. Open bbcode_php:
find:
PHP Code: 
           $vbphrase[php_code]: 
Add below:
PHP Code: 
           <a href="#" onclick="selectCode(this); return false;"><input type="button" value="Select All" /></a
Next find:
PHP Code: 
           $code 
Replace with:
PHP Code: 

           
<pre>$code</pre
budda6 Reviewed by budda6 on . [Request] Copy Coded Links OK so I need a code to be made up, I already know where to PUT IT but I just need somebody to find it or make it up. It's pretty basic I just want to add a link beside the word "Code:" for all my coded links on my site so when somebody clicks it, all contents/links in the CODE box will be copied to clipboard... Any help would be appreciated EDIT: I am running vBulletin Rating: 5