Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2002, 03:48 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default WYSIWYG Text Editor

Hi there,

I wouldn't call this unique per se, but I bet there are enough interested people out there that would really like this hack.

The following is a link to an open source WYSIWYG editor that works on IE 5.5+. There is a demo page to test out, etc. here:

http://www.laneve.com/Tech/XSDHEditor/

It seems pretty easy to add into vb... perhaps with a way to detect IE 5.5+? I'll have to test it in netscape and see if it works at all. At the least it would make for a great usercp option.

Paul
Reply With Quote
  #2  
Old 06-18-2002, 02:39 AM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone else interested in something like this?
Reply With Quote
  #3  
Old 06-18-2002, 04:22 PM
The Ghost's Avatar
The Ghost The Ghost is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

sounds good!

Greetz

The Ghost
Reply With Quote
  #4  
Old 06-18-2002, 06:20 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks fairly interesting, I wouldn't mind having an option to click an image button and asking you to browse for the file. Although I'm not sure how well this would integrate into Vbulletin, since its DHTML, and also might run alittle slow.

I wouldn't really call it a WYSIWG either, its just a simple text editor, just more functions then the one Vbulletin already has.

edit: this would be fairly interesting actually...I'll look into it, I'm sure its beyond what I can do..but..

Also VB3 may include these features, and maybe not, who knows.
Reply With Quote
  #5  
Old 06-18-2002, 07:00 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
I wouldn't really call it a WYSIWG either, its just a simple text editor, just more functions then the one Vbulletin already has.
Well, as far as WYSIWYG, I mean applying bold text will make the text in the editor appear bold This is a great option for those who don't mind sacrificing the slow load time for the ease of use. See www.gossamer-threads.com's forum for an example of how a similar editor could be employed.

Features can be removed or added. I wouldn't necessarily want people who use this editor to have more options, just a different display that's easier to visualize than [] tags. However, the justification tags do look like something that could be added easily into vbcode.

I attempted to hack this into vb myself by tinkering with the code and using the replaceTags properties, however adding more than one tag to replace seemed to make IE6 hang.

I posted a message on the developer's web site and haven't seen any responses yet. I'm not sure if he's actively developing this.

It seems very promising though, and any progress you could make would be greatly appreciated. I know there are a lot of people (at least on my forum) who would really like an editor such as this.

Thanks!
Paul
Reply With Quote
  #6  
Old 06-18-2002, 07:19 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its absolutely a great idea and I'm surpised forums are still using this code/button click then, its an outdated way if you think about it. Why use code tags like like italics [i] or bold [b], when you could simply do it the way every text editor program does it by hitting a button. Your not scripting anything or writing in a authoring language, its just a simple document and should be easier on the person using it. I admit, using the tags at some points is very fast, but you could also make a WYSIWYG editor like this and implement it to use code tags also.

I just spent about 45 minutes tickering with the code and trying to hardcode it alittle into my forums, but about as far as I got was putting it in my main forum directory . I'm just not that great of a coder to tackle a big project like this yet, but I hope somebody does. It would be a shame if VB3 came out and still used the old way of doing things..tsk tsk, so primitive
Reply With Quote
  #7  
Old 06-18-2002, 11:48 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only problem with the way this particular editor works, as opposed to other solutions (mostly commercial) out there, is that it depends on internal functions of internet explorer to work (meaning, it will not work with netscape and other browsers).

From a little digging into the msdn site at microsoft.com, it appears that the code used to create this editor will only output html... so the html must then be converted to vBcode.. something which would be relatively simple to do and is already somewhat possible with the existing code in the editor.

Unfortunately, for some reason when you specify more than one replaceTag, the thing hangs. I think it's a scripting problem with the thing itself, but I'm not really sure what language it's written in. It almost looks like c++.

I'll dig around and see if I can get in touch with the author over the hangs.

Paul
Reply With Quote
  #8  
Old 06-19-2002, 07:14 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not C++, I can tell you that. It looks like Javascript, or maybe DHTML? The title of it is "XS DHTML Editor".
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 01:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04422 seconds
  • Memory Usage 2,232KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete