|
-
Nov 28th, 2016, 08:42 PM
#1
Thread Starter
Addicted Member
Suggestion: Select/Copy Code Button
Hi! I have a suggestion to improve VBForums. In code boxes or code highlight boxes, there should be a small button next to "code:" (nothing flashy) when clicked, it selects and/or copies the code within.
Code:
You should be able to copy this.
VB Code:
This too, excluding line numbers, obviously.
What do you all think? It won't change a whole lot, but it's a nice little update.
Thanks,
~Nic
-
Nov 29th, 2016, 04:57 AM
#2
Re: Suggestion: Select/Copy Code Button
The "buttons" we use are built into vBulletin. Am rather certain there isn't a button like you suggested.
Wi-fi went down for five minutes, so I had to talk to my family....They seem like nice people.
-
Nov 29th, 2016, 08:33 AM
#3
Re: Suggestion: Select/Copy Code Button
Right... that's what he's suggesting. I've seen it on other sites... he's not talking about in the editor... but in the posts themselves, when ever there is a code block, to also have a button that will copy the contents of that code block to the clipboard.
Like here - https://www.codeproject.com/Articles...mation-in-flat ... scroll down to the code blocks and on the right there is "hide" and "copy code".
-tg
-
Nov 29th, 2016, 03:20 PM
#4
Re: Suggestion: Select/Copy Code Button
Tech - that doesn't appear to be a vBulletin site....
There are tons of addins/plugins for vBulletin...but we don't use them...
BUT, rumor has it that vBulletin 5.x is being tested for release here... Maybe it has the option.
-
Nov 29th, 2016, 09:31 PM
#5
Thread Starter
Addicted Member
Re: Suggestion: Select/Copy Code Button
 Originally Posted by techgnome
Right... that's what he's suggesting. I've seen it on other sites... he's not talking about in the editor... but in the posts themselves, when ever there is a code block, to also have a button that will copy the contents of that code block to the clipboard.
Like here - https://www.codeproject.com/Articles...mation-in-flat ... scroll down to the code blocks and on the right there is "hide" and "copy code".
-tg
Yes, exactly that! A "hide" button wouldn't be a bad idea either. Sometimes the code blocks are unnecessarily large and it would be nice to read the post uninterrupted. Again, nothing that's needed too badly, but would be nice to have.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|