Version: , by s.molinari
Developer Last Online: Sep 2018
Version: 2.2.x
Rating:
Released: 07-29-2001
Last Update: Never
Installs: 102
No support by the author.
Hello vB Troopers,
With special permission from the Dev Team I am proud to release an improved version of vbcode.js. Any usage of this script other than in licensed vBulletin driven Boards is a direct violation of Jelsoft copyrights. Any violators will be prosecuted to the full extent of the law!
One MAJOR Improvement(note: only works with IE, NS users are out o luck! But who uses NS anyway?)
vBcode and smilies will be inserted wherever the cursor is instead of at the end of the text.
Installation
Copy the new vbcode.js file over your old one(see "Another small note" below). If you'd like to keep the old file just rename it before copying the new one.
You need to add the following text to the "message" textarea tag:
Please note: The variable($message) may be different in some templates, editpost for example, so make sure to keep the original variable in the textarea attribute "name =". Otherwise the text may be missing in some instances.
This textarea can be found in the following templates:
Calendar Templates
calendar_enterevent
New Posting Templates
newreply
newthread
Private Messaging Templates
priv_forwardmultiple
priv_sendprivmsg
priv_sendtobuddies
and the editpost template
additional template changes
In the vbcode_popup_smilies template you must delete the following code:
Yep IE 5.5 is screwy when you use the access keys(alt+i for example). Don't know what the prob is but obviously a Browser discrepancy. IE 5.1 works fine. I'll try and see what I can do.
As I said earlier, this problem also occurred not just in 5.5, but the 6 Beta as well. The thing with the 6 Beta was that it didn't matter how you used the code the first time. I mean, you could put in the first code by using the keyboard shortcut, or by clicking the button. The thing was that the second time you used a code, like if you tried to close the tag, it wouldn't work by keyboard.
That said...
Tonight I checked Windows Update (on Microsoft's site, you know, the link that's on the Tools menu of IE), and noticed there was a new IE 6 Beta available. I downloaded/installed it, and interestingly, everything works fine now. I tried everything I could think of to test it, multiple codes at once, some by keyboard, some by button, mixing by opening with the button and closing with the keyboard, etc. Everything seems to work fine.
So if what you said is true: That IE 5.1 works fine, but 5.5 does not, and the original 6 Beta does not, then users will need to upgrade their 5.5 or original 6 Beta to the newest 6 Beta for this hack to work properly for them.
(BTW, this is all on Win2k; I have no idea if there is a new IE6 Beta for Win95/98/Me.)
Yep IE 5.5 is screwy when you use the access keys(alt+i for example). Don't know what the prob is but obviously a Browser discrepancy. IE 5.1 works fine. I'll try and see what I can do.
All I can say is just use the buttons for now.
Scott
Scott, this is exactly the hack I've been wanting. Thank you. I know I am late to the discussion, but tubedogg just pointed me to this thread today. I just tried it out on your test forum here:
and I only used the buttons, not the keyboard commands, and all was well. I use IE 5.5/ windows 2000 pro... I will probably test out keyboard commands later. I didn't even know there were keyboard equivalents for vB code. doh!
This is just EXACTLY what I was looking for all the time since I am using VBulletin!!!
This just has to be the BEST hack I have ever seen, yes: I AM serious!
It improves Vbulletin enormously. It was just THE most irritating part of the Vbulletin software that it was such a hassle to put the message-tags into a message.
I am thrilled that you produced this hack, Scott! Jelsoft just HAVE TO implement it in a future release. They just MUST. A BIG, BIG improvement, if you'd ask me.
Hope that you will fix all possible bugs and that your hack will be used in the future.
~Grover.