Adding Select All for [code] BBcode | NulledTeam UnderGround | The Best Scripts Site In The World
  • Read Our Rules

    Dont forget read our rules Nulled Team UnderGround Rules

  • You may not say thanks or replied bad language in a thread - Your reply will be removed and warning! You must be like us "overview" in the resource. You will be access to download in FREE SECTION ONLY! DO NOT PREMIUM SECTION! Is only upgrade to up account.
  • Please support our site and click on the advertised
  • Complete Installation Service

    Review Our XenForo Complete Installation Service
  • Multiple Accounts

    Dont forget we not allowed Multiple Accounts, so all of your accounts as well as your IP will ban

Adding Select All for [code] BBcode

Adding Select All for [code] BBcode 1.1 Stable

No permission to download
Compatible XF Versions 2.x
2.0
A simple but effective way to select all the content within a code bbcode in your forum.

Please note: this doesn't add a "select all" button like you're probably used to see, but it adds a simple functionality to your mouse (or your thumbs) so that each time you click (or tap) inside a code box, it'll automatically select all the text into it.

How to:
Download the attached file, and replace it with your existing bb_code_tag_code file in your template(s).

Alternatively, follow these steps to manually modify it:

Find

Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.
Replace it with:

Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.
And add the following javascript code at the very end of that file (so that you load it only when you effectively have a code bbcode in your page, to save bandwidth):

Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.
Known bugs:

If you have more than codeboxes in the same page, it'll always and only select the first one. Fixed on v1.1

If you find any bugs, let me know! So far it's working great on my side.



CHANGELOG
v1.1 - Javascript optimization and bug fixes
v1.0 - First release




If you like my contributions here and want to support me in order to continue my development on Xenforo, drop me a private conversation.
Author
Admin
Downloads
4
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Admin

Share this resource

Dear User!

We found that you are blocking the display of ads on our site.

It looks like you're using an ad blocker. That's okay. Who doesn't?

But without advertising-income, we can't keep making this site awesome.

Thank you for understanding!