Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #2  
Old 06-25-2002, 09:01 PM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool. I'm installing right away
Reply With Quote
  #3  
Old 06-25-2002, 09:19 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does the VBcode work though? Such as typing [php] will auto format? And also how about smilies? Will clicking on them insert them into the editor? Other than those two issues, this is defiantly excellent!

One request though: In the original WYSIWYG editor that was posted up in the request section, it had a feature to upload an image by browsing for it on your computer. Any way to implement that?
Reply With Quote
  #4  
Old 06-25-2002, 09:25 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, and eiSecure you might want to clean up the install.txt file, it's a bit sloppy and hard to follow (kinda crunched up).

Reply With Quote
  #5  
Old 06-25-2002, 09:34 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
Does the VBcode work though? Such as typing [php] will auto format? And also how about smilies? Will clicking on them insert them into the editor? Other than those two issues, this is defiantly excellent!

One request though: In the original WYSIWYG editor that was posted up in the request section, it had a feature to upload an image by browsing for it on your computer. Any way to implement that?
Yes, VBCode works fine, however, it is not displayed. What you see on the page is HTML, but when you submit, it's automatically converted to BBCode, so there shouldn't be any security issues there.

Smilies will auto-insert, but again, they won't be displayed images.

Images would be possible, if there is a way for the user to upload multiple files to the server.

Also, since you say the install is messy, how about you make one? :bunny:
Reply With Quote
  #6  
Old 06-25-2002, 09:55 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by eiSecure
Also, since you say the install is messy, how about you make one? :bunny:
hmmmmmmm....did I say sloppy? I meant it's perfect, *cough*but could be better*cough*. I'm busy at the moment though, and I'm sure people will be able to navigate their way through it (hopefully not destroying their forums in the process--j/k )

Quote:
Originally posted by eiSecure
Yes, VBCode works fine, however, it is not displayed. What you see on the page is HTML, but when you submit, it's automatically converted to BBCode, so there shouldn't be any security issues there.

Smilies will auto-insert, but again, they won't be displayed images.
Clickable smilies are not working for me
Sure, I can type a smilie face, which is basically a : and (, but the left box with smilies in them does not work when you click on it. Instead, I get a run time error my Microsoft Script Debugger picks up...

One solution to this is fixing it so the [get more] link works also, because it doesn't for me Once that works, users will at least know what vbcode to type to get a smilie to work.

Attached is a screenshot of the problem.

ALSO: where did the alignment button go? That was way cool, but now its gone...
Reply With Quote
  #7  
Old 06-25-2002, 09:55 PM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW, I'm working on an update (some people like to rush out with releases ) that will insert the smilies as pictures into the WYSIWYG editor for visual purposes

Also, there is a bug in the templates that I noticed. You will have to add the following to all of the ****_wysiwyg templates:

Code:
<script language="Javascript" src="vbcode2.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
Alex is gonna fix the files ASAP
Reply With Quote
  #8  
Old 06-25-2002, 09:57 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's already fixed.

Just update your _wysiwyg templates with the ones in the first post.
Reply With Quote
  #9  
Old 06-25-2002, 09:57 PM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
Clickable smilies are not working for me
Sure, I can type a smilie face, which is basically a : and (, but the left box with smilies in them does not work when you click on it. Instead, I get a run time error my Microsoft Script Debugger picks up...

ALSO: where did the alignment button go? That was way cool, but now its gone...
First paragraph, see my last post. I just got this installed too

Was using outdated versions of the templates for coding purposes.

Also, there is no (that I know of, help me out here guys ) equivilant "center" or "right" function for vbCode.
Reply With Quote
  #10  
Old 06-25-2002, 09:58 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd


hmmmmmmm....did I say sloppy? I meant it's perfect, *cough*but could be better*cough*. I'm busy at the moment though, and I'm sure people will be able to navigate their way through it (hopefully not destroying their forums in the process--j/k )



Clickable smilies are not working for me
Sure, I can type a smilie face, which is basically a : and (, but the left box with smilies in them does not work when you click on it. Instead, I get a run time error my Microsoft Script Debugger picks up...

One solution to this is fixing it so the [get more] link works also, because it doesn't for me Once that works, users will at least know what vbcode to type to get a smilie to work.

Attached is a screenshot of the problem.

ALSO: where did the alignment button go? That was way cool, but now its gone...
heh..it was a bug caused by your addon.

It's fixed now. The align buttons were removed because they were supported only by HTML, and not BBCode.

You can still use tabs, though.
Reply With Quote
Reply

Thread Tools

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 02:44 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.04335 seconds
  • Memory Usage 2,305KB
  • Queries Executed 23 (?)
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
  • (5)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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