The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
WYSIWYG Editor (htmlArea) Details »» | |||||||||||||||||||||||||
Hi there ...
I have made use of some hacks you guys developed and i do wish that one day i will give back .. mean while i can only say Thank You all. i am here to let you all know of a great WYSIWYG editor that will work with any < form > in any script .. including VBulletin. It REPLACES the < textarea > tag. I did not develop this .. i am just letting you all know about it .. Its FREE .. and you can get it from here: htmlArea Features: - A complete WYSIWYG editor. - Font Color Picker. - Background Color Picker - Insert Image (with alignment, Alt text, Bordre, Spacing) - Insert Link (drop-down menu selector for http ftp etc.) - and some more ... just look at it and test it. How it works: It just replaces the < textarea > tag with a WYSIWYG editor. You edit your Head Inserts and add 3 lines in your newthread and/or newreply templates.. as a matter of fact you can use it anywhere a textarea exists .. including the QuickReply box. installation: I will just give instructions for modifying the new thread template as an example. 1- Upload contents of zip file into you forum dir. and put all included images in your images folder. 2- Control Pannel >> Styles >> Modify >> [fonts/colors/etc] then in your headinsert at the top add this: Code:
<!-- START : EDITOR HEADER - INCLUDE THIS IN ANY FILES USING EDITOR --> <script language="Javascript1.2" src="editor.js"></script> <script> _editor_url = ""; </script> <!-- END : EDITOR HEADER --> < style type="text/css" > add: Code:
.btn { BORDER-WIDTH: 1; width: 26px; height: 24px; } .btnDN { BORDER-WIDTH: 1; width: 26px; height: 24px; BORDER-STYLE: inset; BACKGROUND-COLOR: buttonhighlight; } .btnNA { BORDER-WIDTH: 1; width: 26px; height: 24px; filter: alpha(opacity=25); } body, td { font-family: arial; font-size: 12px; } .headline { font-family: arial black, arial; font-size: 28px; letter-spacing: -2px; } .subhead { font-family: arial, verdana; font-size: 12px; let!ter-spacing: -1px; } 4- open the template where you want to apply the WYSIWYG Editor .. find < /TEXTAREA > and rigth after it add: Code:
<script language="javascript1.2"> editor_generate('message'); // field, width, height </script> Clickable Smilies and Buttons: Clickable smilies and buttons will not work with htmlEditor as it is .. however, htmlEditor provides a way to solve this ... its just that i know nothing about java scripts .. and surely someone here can edit the VB javascripts files to get it to work. Read instructions after you download. Good Luck all and Enjoy. Show Your Support
|
Comments |
#22
|
||||
|
||||
Quote:
|
#23
|
||||
|
||||
Are you referring to eiSecure's hack? The one I am having problems with it htmlarea. Do you have that one working?
|
#24
|
|||
|
|||
Quote:
|
#25
|
||||
|
||||
Quote:
|
#26
|
||||
|
||||
I think I might be ablew to get this to work wih BB Code, have to edit it alot though...
|
#27
|
|||
|
|||
Quote:
get the latest version and follow instruction carefully. It is important where you locate the script and associated files/images. I use: forum/editor.js forum/images/ed_*.gif i used the above paths and edited html like this: Code:
<!-- htmlArea --> <script language="Javascript1.2"><!-- // load htmlarea _editor_url = ""; // URL to htmlarea files var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]); if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; } if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; } if (win_ie_ver >= 5.5) { document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"'); document.write(' language="Javascript1.2"></scr' + 'ipt>'); } else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); } // --></script> <!-- /htmlArea --> <!-- START : EDITOR HEADER - INCLUDE THIS IN ANY FILES USING EDITOR --> <script language="Javascript1.2" src="editor.js"></script> <script> _editor_url = ""; </script> <!-- END : EDITOR HEADER --> Code:
<script language="JavaScript1.2" defer> editor_generate('message'); </script> |
#28
|
||||
|
||||
anyone ever get this working with bbcode?
|
#29
|
||||
|
||||
<font color="darkorange">Thanks, how does this hack work with HTMLArea-3.0 ?</font>
|
#30
|
||||
|
||||
Rather insteresting!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|