Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
New vbcode.js - vBcode and smilie user interface improvement Details »
New vbcode.js - vBcode and smilie user interface improvement
Mod Version: 1.00, by s.molinari (Member) s.molinari is offline
Developer Last Online: Sep 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (2 votes - 5.00 average) Installs: 102
Released: 30 Jul 2001 Last Update: Never Downloads: 6
Not Supported  

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:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It should basically look similiar to this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In the vbcode__popup_smiliebits template you must change:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

small note:If you use the above code pleas omit the space between java and script.


If these changes aren't made the new script WILL NOT WORK!

I hope to hear from those who use it, and please let me know if you find a bug.


vB.org is using this hack. Try it out!

Scott

Latest release date: 20.04.2002
Any version older than this should be updated.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Custom User Title Editor with vBCode & Smilie Panel, Admin CP, Store/ Points 3.0 Erwin vBulletin 2.x Full Releases 122 22 Feb 2005 08:22
[Improvement] vBStats -> Top Posters list PHP-code improvement (much less queries) KuraFire vBulletin 2.x Full Releases 10 15 Feb 2003 13:53
[Improvement] vBStats -> Member Referrer list PHP-code improvement (much less queries KuraFire vBulletin 2.x Full Releases 23 15 Feb 2003 09:31
vBcode and smilie user interface improvement s.molinari vBulletin 2.x Full Releases 57 30 Apr 2002 00:59

Comments
  #2  
Old 30 Jul 2001, 20:30
smithy256
Guest
 
thanks but i cant install it because im a complete newbie.
Reply With Quote
  #3  
Old 30 Jul 2001, 20:38
s.molinari's Avatar
s.molinari s.molinari is offline
 
Join Date: Nov 2001
Originally posted by smithy256
thanks but i cant install it because im a complete newbie.
Can you copy a file to your web server and cut and paste in windows?

That's all the skills you need.


Scott
Reply With Quote
  #4  
Old 30 Jul 2001, 20:46
Delhaze Delhaze is offline
 
Join Date: Oct 2001
I have the latest version installed and all is well.

I would also like to congratulate the VB team for allowing this file to be posted.

You have completely restored my faith with your new common sense approach.

It will also reduce the number of hits I was getting to this file on my board.
Reply With Quote
  #5  
Old 30 Jul 2001, 22:12
ThomasP
Guest
 
Great hack!

Hi Scott,

really a great hack! Works like a charm, "installation" was easy.

And thanks to the vB Team, too.

cu & Gre
-Tom

P.S.: At least it works in NS the way it did before, so this is not really a drawback...
Reply With Quote
  #6  
Old 31 Jul 2001, 01:57
RobAC RobAC is offline
 
Join Date: Oct 2001
Found a problem with this hack. If I go to edit a post I made, the content of my post does not show up within the text field. I had to revert my editpost template back to the original. Anyone else experiencing this?
Reply With Quote
  #7  
Old 31 Jul 2001, 05:27
s.molinari's Avatar
s.molinari s.molinari is offline
 
Join Date: Nov 2001
Originally posted by RobAC
Found a problem with this hack. If I go to edit a post I made, the content of my post does not show up within the text field. I had to revert my editpost template back to the original. Anyone else experiencing this?
Hello Rob,

You were probably a bit too fast. In the editpost template you probably copy and pasted over the $postinfo[message] variable. It is something I should point out in my installation instructions.

The textarea in editpost should look like this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Scott
Reply With Quote
  #8  
Old 31 Jul 2001, 06:18
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Awesome Scott
v cool and works great.
Reply With Quote
  #9  
Old 31 Jul 2001, 07:38
s.molinari's Avatar
s.molinari s.molinari is offline
 
Join Date: Nov 2001
Originally posted by tubedogg
Awesome Scott
v cool and works great.
Thanx for the compliment Kevin. Coming from you means alot!

Scott
Reply With Quote
  #10  
Old 31 Jul 2001, 08:42
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
I found the script and used it...I had problems with my netscape users...they seemed to get script errors...when this ran.

Not sure what it was...I didn't get to test it with netscape...

EDITED - I thought this was the original thread you started. I didn't see the new vbcode.js at the top of the page...I came into this thread via 'lastpost'. I got the last vbcode off Ztsky's site and that one didn't work.

This new one you posted works great! Thanks.
__________________
PaintballCity.com
VB Board of the Month: October
Reply With Quote
  #11  
Old 31 Jul 2001, 08:59
s.molinari's Avatar
s.molinari s.molinari is offline
 
Join Date: Nov 2001
Originally posted by VirtueTech
I found the script and used it...I had problems with my netscape users...they seemed to get script errors...when this ran.

Not sure what it was...I didn't get to test it with netscape...
If you had gotten the first script I posted here,
the one that was deleted, then you definitely have a faulty script. At the time I posted it, I too didn't test it with NS. My mistake......... or Netscapes?

The script in this post should work with NS(I tested it with 4.7). I racked my brains and searched all over the internet trying to find a fix to get it to work like it does with IE. All I was able to manage is that no errors come up with NS, but the functionality is, unfortunately, as it always was. i.e. the code is always added to the end of any previously written text. Another reason from hundereds why NS users should change over to the Explorer!

Scott
Reply With Quote
  #12  
Old 31 Jul 2001, 10:19
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
Ok question: Is there any way to make this script work with the "Get More Smilies" pop-up window. So that when they click on a smiley in the pop-up window that it updates the textarea in the last spot the cursor was?
__________________
PaintballCity.com
VB Board of the Month: October
Reply With Quote
  #13  
Old 31 Jul 2001, 11:05
s.molinari's Avatar
s.molinari s.molinari is offline
 
Join Date: Nov 2001
Originally posted by VirtueTech
Ok question: Is there any way to make this script work with the "Get More Smilies" pop-up window. So that when they click on a smiley in the pop-up window that it updates the textarea in the last spot the cursor was?
This is a valid problem, which I have tried to get rid of. Haven't found the trick yet.

Scott
Reply With Quote
  #14  
Old 31 Jul 2001, 15:34
s.molinari's Avatar
s.molinari s.molinari is offline
 
Join Date: Nov 2001
Hello all,

I found a fix for the "get more" smilies popup window prob.
Many thanx goes to Vincent Puglia at www.pageresource.com. He basically solved the prob for me with his tips.

In the vbcode_popup_smilies template you must delete the following code:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In the vbcode__popup_smiliebits template you must change:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Scott

Uh....guys I think there is a small problem with the vbcode parser! It should read "javascript : opener.smilies" without spaces and the embarrassed face.;)
Reply With Quote
  #15  
Old 31 Jul 2001, 15:39
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Disable Smilies
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:47.

Layout Options | Width: Wide Color: