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:
I get the same error on my test board. I've also tried closing the more smilies screen then opening it again, but the same error occurs.
I think I have a quick fix though. Apply this add-on (post 26). It's annoying if you don't want it to close, but at least you won't lose your messages.
vb 2.2.1, IE 6, hack plus the add-on for enhanced mode added (and later the auto close add-on).
Originally posted by Arathorn I get the same error on my test board. I've also tried closing the more smilies screen then opening it again, but the same error occurs.
I think I have a quick fix though. Apply this add-on (post 26). It's annoying if you don't want it to close, but at least you won't lose your messages.
vb 2.2.1, IE 6, hack plus the add-on for enhanced mode added (and later the auto close add-on).
Thanks Arathorn, but I'm afraid that would only make my users more mad!
I'm having a bit of a problem here. None of the pop-up smilies are clickable and the background is red. I've followed (I think) this somewhat confusing thread and its instructions. I used Mutt's newfxs.txt file and edited the 2.2.1 vbcode.js that came with this version. Here's a screen shot. Any ideas? I'm also not sure why the tables are red. Thanks!
Originally posted by Stretchr I'm having a bit of a problem here. None of the pop-up smilies are clickable and the background is red. I've followed (I think) this somewhat confusing thread and its instructions. I used Mutt's newfxs.txt file and edited the 2.2.1 vbcode.js that came with this version. Here's a screen shot. Any ideas? I'm also not sure why the tables are red. Thanks!
Man, that redness is really strange...have you checked your templates?
I believe you may have made a mistake in this step
Quote:
In the vbcode__popup_smiliesbits template you must change:
<a href="java script:smilie('$smilie[text]')">
to:
<a href="java scriptpener.smilie('$smilie[text]')">
Also don't forget to take out the space between java and script.
The vbcode_popup_smiliesbits should then look similar to this.
Thanks, Scott. I was wondering what a "pener" was! LOL Unfortunately, I'm left with the problem of the color (red) and that none of the pop-up smilies are clickable.
Regarding the color issue, where does the pop-up pull the table colors from?
I'm lost as to why the smiles in the pop-up are no longer clickable.
Hmmmm.
Here's another screen shot. Any help or suggestions would be greatly appreciated!
Quote:
Originally posted by s.molinari @ stretchr
I believe you may have made a mistake in this stepAlso don't forget to take out the space between java and script.
The vbcode_popup_smiliesbits should then look similar to this.