Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
WYSIWYG Post Editor v1.0 Details »»
WYSIWYG Post Editor v1.0
Version: 1.00, by eiSecure eiSecure is offline
Developer Last Online: Apr 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-24-2002 Last Update: Never Installs: 64
 
No support by the author.

WYSIWYG Post Editor

Description:
Lets you have a Microsoft Word/FrontPage-like editing box when you reply to threads, create new threads, and/or edit posts.

Features:
- Supports BBCode
- HTML is converted to BBCode
- Gives user a visual layout of what he/she is typing
- Supports dynamic bolding/underlining/etc.
- Has cool-looking Office XP-styled buttons.:bunny:
- Allows users to choose wether to use this editor, or vB's default one.
- Makes BBCodes obsolete
- And many more...:bunny:

Installation Time:
About 20-30 minutes.

Credits:
Toolbar, Original Coding and Design: eiSecure (http://www.eisecure.com)
Debugging & HTML to BBCode Conversion: Superman53142 (http://www.aoaforums.com)
User Options for WYSIWYG: Velocd (http://www.diffusion4.com)

NOTE:UNLIKE PREVIOUS VERSIONS, THIS ONE DOES NOT REQUIRE THAT YOUR FORUM HAS HTML ENABLED IN POSTS!

You can view a demo of the hack in action here: http://forums.eisecure.com

If you encounter any problems or if anything doesn't work right, or if the instructions aren't correct, then please post them here.

If you want to limit this hack to people who are using IE5.5 or above, click here for instructions.

Thanks,
Alex

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 06-26-2002, 03:58 AM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I reapplyed the new templates.zip and still am having the line 0 object expected error. Can anyone else confirm this?
Reply With Quote
  #53  
Old 06-26-2002, 04:13 AM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by LoveShack
I reapplyed the new templates.zip and still am having the line 0 object expected error. Can anyone else confirm this?
What's your forum address? I'll take a quick look.
Reply With Quote
  #54  
Old 06-26-2002, 04:16 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! I've installed it, and my members love it.

I agree about keeping the buttons depressed when clicked - let me know when someone has worked that out. Now I need to figure out how to integrate all my custom vBCode buttons into this new format (things like glow, shadow etc). I will also try to integrate this into PM and my sig editor too.

Thanks for a great hack!
Reply With Quote
  #55  
Old 06-26-2002, 04:34 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Btw, superman, do I know you from somewhere? How did you find out about my forums?
Reply With Quote
  #56  
Old 06-26-2002, 04:36 AM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
Btw, superman, do I know you from somewhere? How did you find out about my forums?
I think it was Yahoo when I was doing a search. My forum deals with Hardcore Computing, and I figured it would be cool to get involved in a forum that deals with my major "interest," for lack of a better word

EDIT: See your thread in Announcements. You should be able to add at least the default vbCode buttons in without a problem.
Reply With Quote
  #57  
Old 06-26-2002, 04:44 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree, having buttons pressed down when you click on them like Microsoft Word would be probably the last excellent feature this hack needs to be complete. How about it eiSecure

Quote:
I will also try to integrate this into PM and my sig editor too.
When you do Erwin could you post the templates for them? It would be of great help



Quote:
Originally posted by Vivi Ornitier
hmmm . . this hack i sreally nice, but what about inserting images, php and stuff like that? lol, hopefully that'll come?
All Vbcode tags are functionable in this editor, but there are no buttons for most of them. You have to type them in manually, such as for PHP use [*php][/php] (wo/asterik ofcourse), and upon submit everything will work out fine.


Quote:
Originally posted by LoveShack
Excellent to see this up and going!

A few slight problems that I've noticed so far:

In the install.txt, it tells you to create a directory under images called "toolbars" ... this should be "toolbar"

Smilies appear to be not working. I thought someone said this was fixed? Perhaps it's not in the zip yet?

Pressing "Bold" etc. will not remain "clicked" to let you know that bold is currently selected. From viewing dhtmleditor this appears to be possible. Would it be possible in this version as well? (remain highlighted in blue if it's selected).

Many thanks for such great work!

Paul
If you install everything from the zip provided in post #1 then all should work fine. Try clearing your cache then redownloading the zip. Things to make sure is that no modifications are made to functions.php, and that you have uploaded vbcode2.js to your forums root folder, insuring that vbcode.js is still there.
Reply With Quote
  #58  
Old 06-26-2002, 04:47 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heheh... saw your post.

I think I WILL add the vbcodes back... I was thinking of integrating them ie. making them WYSIWYG - eg. with glow. Shouldn't be too hard.

Also, another thing:

Can you make it so that the new vbcode is compatible with the vbcode hack where smilies are placed where the cursor is rather than at the end of the message?

The hack is this one:

https://vborg.vbsupport.ru/showthrea...threadid=24033

I am already running it, and switching back to the old one where smilies are placed at the end of the message is irritating.
Reply With Quote
  #59  
Old 06-26-2002, 04:49 AM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just for the record, if you add the vbCode buttons back into the wysiwyg templates, they will work; the vbcode2.js file supports it. However, you will have to move the line in vbcode_buttons that says:

Code:
<script language="Javascript" src="vbcode.js">
to all the non-wysiwig templates and delete it from that template.
Reply With Quote
  #60  
Old 06-26-2002, 04:51 AM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
Heheh... saw your post.

I think I WILL add the vbcodes back... I was thinking of integrating them ie. making them WYSIWYG - eg. with glow. Shouldn't be too hard.

Also, another thing:

Can you make it so that the new vbcode is compatible with the vbcode hack where smilies are placed where the cursor is rather than at the end of the message?

The hack is this one:

https://vborg.vbsupport.ru/showthrea...threadid=24033

I am already running it, and switching back to the old one where smilies are placed at the end of the message is irritating.
I'll give it a shot. I've got nothing else to do

Erwin, it doesn't look like it's possible using the old technique. I tihnk it can be done if I can capture the position of the cursor in the iframe. If anyone knows how to do this, then it can be done. I'm not sure that we can capture the position of the cursor in an iframe.
Reply With Quote
  #61  
Old 06-26-2002, 05:04 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Superman, any idea of how I can get the default font to be Verdana instead of Times New Roman? Since that is what most of my members are used to. Also, have you noticed or not if the default size is the normal size? If not, it would be great to preset that to the normal vbulletin size.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04641 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete