The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vbCode Button Functionality Hack?
I've been looking for the hack or template mod/JS (this very board seems to be running it), that modifies the functionality of the vbCode buttons a bit.
On my stock 2.3.0 board, you cannot highlight a word in your message field, hit the 'I' button (as an example) and have it italicized (as per my 'I' example, bold and underline work as well). Hitting the button only appends the appropriate vBC at the end. This board does exactly what my users are asking for, I can finish this sentence without any code, then go back and highlight 'sentence' with my mouse, hit the U button, and it will be underlined. I've spent the last hour looking for such a hack, but have come up empty, came here to this area to ask someone to make it, and realized as I was posting that it exists somewhere. Little help? Thanks in advance. I've posted this both in Hack and Template Requests simply because I don't know which way it's handled. I've seen button functionality mods in both. |
#2
|
|||
|
|||
Not exactly what you're looking for but it may be even better, depending on exactly what you want.
https://vborg.vbsupport.ru/showthrea...hlight=WYSIWYG |
#3
|
|||
|
|||
Appreciate the response. That's a good looking hack, but does more than I need this to (and reading the thread, does less in that you lose some of the functionality like IMG, PHP, etc.
To clarify, if you enter a new post or reply in a STOCK 2.3.0 board, then take your mouse (in the post/reply window) and highlight a word, then hit the B, I or U button in the vbCode area -- a B, I or U are appended at the end of your post. Not at the point of your highlight. On this board, you can highlight a word, press one of those buttons, and it's smart enough to recognize that you want to edit that specific word (or block of text) and does as much. Apologies if I wasn't explaining well in the first post, and moreover, apologies for asking for this here since it obviously exists somewhere. I'm up to about 90 minutes scouring the hacks area for it, still with no luck. Thanks in advance for any help. |
#4
|
|||
|
|||
Look in template modifications or something. I know that the vbcode_buttons template holds the buttons, so that could be it. You may have to edit the JS script but I don't know.
|
#5
|
||||
|
||||
You'll be surprised what searching for "vbcode" will bring up.
https://vborg.vbsupport.ru/showthrea...629#post146629 |
#6
|
|||
|
|||
Indeed. Frankly I'm not sure how I missed it. But thanks either way, that is exactly what I was looking for.
Now if I can just figure out how to fix the smilies pop-up (they no longer add in-line into a message with a click), I'll be golden. -update- figured it out, all works brilliantly now. Love the mod, thanks for the heads up. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|