Version: , by s.molinari
Developer Last Online: Sep 2018
Version: Unknown
Rating:
Released: 07-21-2001
Last Update: Never
Installs: 1
No support by the author.
Ok, I'm not sure if this has already been done. I checked Kier's original hack and I searched for other possible hacks and didn't find any.
This hack or code improvement, as I would like to call it, helps out with the problem of the vBcode or smilies always being added to the end of the text in the textarea box. In other words no matter where you would like to add a vBcode or smilie it will always be placed at the end of the text written.
The new vbcode.js script below will fix this. With this improvement you could go any where in the text that you have written and add smilies or format the text in what ever way you would like. The added vBcode or smilie will always be inserted at the point where the cursor is.
Please note: You must add the following in the textarea tag for the message, otherwise the new script will not work. You'll find these textareas in the newreply and newthread templates.
Your new textarea tag should look like this(red code denotes the chages that should be made):
Originally posted by dxb yeah your right Tora Tora because we cant force the hack writter to write the instructions because I think sometimes it takes along time to do so
anyway I hope Scott with have the time to rewrite the instructions because it is a hack I would love to have
it wasnt the instructions that caused the problems though. It was the file that was attached that did.
That is why i said, if the hack is presented, and a good portion of it is taken away, than axe the whole works, because hes not going to be able to post the java script again.
Originally posted by ToraTora! it wasnt the instructions that caused the problems though. It was the file that was attached that did.
That is why i said, if the hack is presented, and a good portion of it is taken away, than axe the whole works, because hes not going to be able to post the java script again.
Originally posted by freddie Please remember to not post vBulletin source code *which* includes the javascript files.
Sorry, I wasn't aware of that rule. It makes since though. How stupid of me. I'm sure, however, many users would be happy with the improvement. Maybe you could include it in the next version.
Everyone, this "hack" was not in it's own right a hack but rather an improvement in the vbcode.js script. I unfortunately didn't know about posting vB source code so my attaching the script went against the rules. Therefore the script has been removed.
Sounds like a great hack. I have a valid license (info entered in profile), so if someone could verify this and send me the updated js file? I'm not sure if this is possible, but and help would be much appreciated. Thanks!