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:
Just wanted to say that I upgraded to 2.2.4 today and after reapplying this hack, it started to delete highlighted text in the message box (which for me in 2.2.2 was not the case).
I went back, as Mutt suggested and found his "hack to this hack", used it, and now all is well.
Here is Mutt's message with his "hack to this hack":
Okay, call me stupid, but I'm getting really confused with al those solutions posted everywhere along this thread...
I tried to put all the steps to apply this hack onto a vbb2.2.4 into a text file, but it didnt take long before I lost track of which steps are actually necessary and which are not.
I know that I, as a complete new user to this forum, shouldnt be complaining about this.
But, I would very, very much appreciate it when somebody would post the necessary steps to apply this hack to vbb2.2.4.
I think so too. It's confusing for me a newbie (what's going, what's not, several hacks...uhhhh).
Is it possible to start a new thread: Cursor position Vers. 2.2.4 ?
The hack sounds great! But I'm a little confused about the entire first portion of the install instructions (where it doesn't specify exactly what portions to change in exactly what files).
Can someone post simple step-by-step install instructions for this hack for VBulletin 2.2.4? It would help out alot!
Originally posted by HellRazor The hack sounds great! But I'm a little confused about the entire first portion of the install instructions (where it doesn't specify exactly what portions to change in exactly what files).
Can someone post simple step-by-step install instructions for this hack for VBulletin 2.2.4? It would help out alot!
Hello Hellraiser and plasir,
The instructions are in my opinion clear. Ok I wrote them.
Honestly though, there are no files to change except the JS file. The most changes that need to be done are to the templates and they are all listed in the first post of this thread. There are some improvements to the hack that have been added through other users and I may add them at a later date but the instructions on how to add the hack to vB will basically stay the same. Also, the instructions are applicable to 2.2.4.
Where does the above change go? I'm not sure which file or template to make that change in.
Quote:
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
The section above confuses me. I know I need to edit those templates, but what exactly do I need to change?
I think I understand the rest of it. Thanks for your help!