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:
Thanks. I started in the old thread for this then moved to this thread. With all the posts I wanted to make sure I didn't miss something. It is a great hack and useful!
i wonder why this hasn't been put into the official vBulletin release, its a huge improvement and there hasn't been any problems on browsers which support javascript, has there?
Do you know whether anyone has suggested this? Is there a place where we could start a thread for folks to voice their opinion on getting it added? They use it here so I'm kind of surprised that it didn't get the "thumbs-up" for the next edition.
I hate to be the bearer of bad news, but I think my members have found a bug in this hack. I've got about 267 smilies on my forum, and my members like to leave the "Get More" window open so they don't have to keep reloading the window every time they post (with all 267 smilies on it). Of course, it works great for them the first time they use it, but when they attempt to click on a smilie to insert it in a another, new message, it wipes out their entire message! You can read the thread where my members reported it right here. Can anything be done about this?
I just registered at your board and tried out the script as you remarked and I had no probs. Is this a general prob or just one with one user? If it is a general prob can you ask some of the users which Browser they are using?
I just registered at your board and tried out the script as you remarked and I had no probs. Is this a general prob or just one with one user? If it is a general prob can you ask some of the users which Browser they are using?
Scott
Well, it's pretty much a general problem - I'm experiencing it myself with IE 5.5. Since you've registered (thanks!), to simulate the problem, do the following steps...
[list=1][*]Click on the reply button, like you're going to reply to a thread.[*]Open the "Get More" smilies window[*]Go back to the thread, and click on the reply button again[*]Now, type something in the message box[*]Try to insert a smilie by clicking on it in the "Get More" window that you opened earlier. You should then see that your message has been erased, and replaced by the smilie.[/list=1]