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):
Why haven't the VB develpoers created an area on the webserver that is protected for valid license holders, like the members area, where files like this can be downloaded.
If it doesn't happen I can see customers moving to FREE open source alternatives as soon as they become as powerfull, and with hacks easily available.
Originally posted by Delhaze Why haven't the VB develpoers created an area on the webserver that is protected for valid license holders, like the members area, where files like this can be downloaded.
If it doesn't happen I can see customers moving to FREE open source alternatives as soon as they become as powerfull, and with hacks easily available.
Your point is a good one but situations like mine are an exception. I don't think there are too many code improvements to warrant such extra effort as you explained. What I did isn't exactly a bug fix and not really a hack, that's why I say it is an exception. We will just have to wait and see if the new vbcode.js file will be implemented in the next version.
Originally posted by s.molinari
Your point is a good one but situations like mine are an exception.
Not sure how exceptional as this is the second case I've come across just now of something being removed for license violation in just the last few minutes while searching for something else.
The point about competition from open source is a good one, as this is one area where open source may well produce an excellent contender. One of the tricks of competing against open source is to capture as much of the flavor of it as possible without giving away the store. So, I think the idea of having a download area for hacks/improvements from the members only area or perhaps a licensees' only forum for such exchanges is a very good one.
Originally posted by samtha25
Not sure how exceptional as this is the second case I've come across just now of something being removed for license violation in just the last few minutes while searching for something else.
That was kind of a fluke. I think the last time this happened was in March or April.
Quote:
The point about competition from open source is a good one, as this is one area where open source may well produce an excellent contender. One of the tricks of competing against open source is to capture as much of the flavor of it as possible without giving away the store. So, I think the idea of having a download area for hacks/improvements from the members only area or perhaps a licensees' only forum for such exchanges is a very good one.
I would tend to agree. However I think the way it is now is a good system too. It allows it be out in the open without compromising vBulletin's source.
The general discussion is about vB source as a whole, not just .js files. Yes, .js files can be downloaded as you say, however PHP files cannot. We cannot pick and choose what parts of the license we enforce, or when we enforce them.