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
  #112  
Old 06-28-2002, 08:07 AM
MalaK_3araby MalaK_3araby is offline
 
Join Date: Dec 2001
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is an awsome script & is long awaited ... Thanks alot.

1- i got a Syntax Error : Line 376 Char 23 .. and this is the line:
Quote:
oImg = sImgTag<i>;
char 23 is " ; ".
I know i have done everything as pr the install .. and i reinserted the changes just in case.

2- When saving user options, value is not updated and thus not stored in the database.

3- how do i change the diretion to be "rtl".

Thanks
Reply With Quote
  #113  
Old 06-28-2002, 11:19 AM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look here firefly, another one with the same problem!



-----Urspr?ngliche Nachricht-----
Von: vBulletin.org Forum Mailer [mailtoost@vbhacks.com]
Gesendet: Freitag, 28. Juni 2002 05:03
An: dfdfk@dfdfak.de
Betreff: WYSIWYG Post Editor v1.0


Hello Birdie501,

LoveShack has just replied to a thread you have subscribed to entitled -
WYSIWYG Post Editor v1.0 - in the Full Releases forum of vBulletin.org
Forum.

~~~~~ NEW ~~~~~
New at vBulletin.org!
You can now reply to the thread by replying to this message. All you
need to do is to make sure this code appears in the e-mail subject:
You should also remove this text to ensure your
reply is readable by other forum users. ~~~~~ NEW ~~~~~

Here are the contents of the post: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Slightly off topic, but is anyone else getting a lot of repeated e-mail
updates about this thread? I keep getting them. It's getting to the
point where I'm going to have to unsubscribe.

Paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This thread is located at:
https://vborg.vbsupport.ru/showthrea...83&goto=newpos
t

There may be other replies also, but you will not receive any more
notifications until you visit the board again.

Yours,
vBulletin.org Forum team

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unsubscription information:

To unsubscribe from this thread, please visit this page:
https://vborg.vbsupport.ru/member2.p...threadid=40283

To unsubscribe from ALL threads, please visit this page:
https://vborg.vbsupport.ru/member2.p...type=allthread
Reply With Quote
  #114  
Old 06-28-2002, 02:43 PM
Frenck's Avatar
Frenck Frenck is offline
 
Join Date: Dec 2001
Location: Hengelo, The Netherlands
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I have installed it, and I'm sorry to say it, but it really sucks.

After reading a lot of posts I noticed that the install.txt wasn't updated, so I fixed some stuff. Now it works (That's what you call works).

Some things I really don't like:
  • At first I would say it's very messy! There is javascript everywhere! (How about a single file? instead of heaving all the code in all the templates...)
  • Bad communication between the authors (example: a bad updated install.txt)
  • Editting a post, shows all normal vBcode (it's not converted)
  • The Color function appears not to work with all the colors
  • missing image/php/quote/code
  • After pressing a toolbar option, it wil not remain clicked
  • The color selection is better of intergrated instead as an popup. I isn't handy for people with popup killers..(Could be intergrated like the fonts are intergrated)
  • Option to switch from wysiwyg to normal editing mode, directly from the form? (Just a simple link?)
  • Add a browser detection? Because it doesn't work in all browsers?
  • Intergrate smileys? (As an toolbar?)
  • vBcode/Smilies are always inserted @ the end of the message (Better at the place of the cursor?)

(There is more, but was direct on my mind)

Some things I like:
  • No need to enable the HTML
  • Visual of what you are doing (Good for newbies to forums)

Well I change it back to the old fasion way, maybe if this hack is updated to a better hack, than I will install it again.

(Sorry for my bad english)
Reply With Quote
  #115  
Old 06-28-2002, 09:15 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would you please let me know exactly where to put the tweaks? I don't want to mess up what looks like to be a geat hack!

Quote:
Originally posted by Erwin
Thanks to Superman and Firefly for the new tweaks. Works great! The text looks good, and the saving of that one query is a bonus! Can't wait for the other new features...
Reply With Quote
  #116  
Old 06-29-2002, 12:43 AM
Martin CX Martin CX is offline
 
Join Date: Nov 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Frenck, if there is something you don't like about a hack, just improve it. I'm sure we all would like it if some of the problems you address were solved.

If the hack is not for you, however, there is nothing easier than not installing it. I, for one, recognize the work the authors have put it in this hack, and that the hack is still very much a work in progress. It is not perfect, but what it does, it does well, IMHO.

Nevertheless, if you could please solve some of the problems, you've listed - and I agree that you point out some very valid criticisms - you would make me (and probably yourself? ) a happier person.
Reply With Quote
  #117  
Old 06-29-2002, 05:11 AM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Frenck
Well I have installed it, and I'm sorry to say it, but it really sucks.
Such tact!
While I do appreciate your input, I don't like to be told that my work sucks
[*] At first I would say it's very messy! There is javascript everywhere! (How about a single file? instead of heaving all the code in all the templates...)

OK, I'll do this in a later update. I basically only wrote the switchit() function and integrated into the already existing code I was given.
[*] Bad communication between the authors (example: a bad updated install.txt)

I will create a new install.txt with complete instructions when I get some more updates done.
[*] Editting a post, shows all normal vBcode (it's not converted)

I will work on this. I'll have to do it the hard way (.substr(int,int)) because .replace(regExp, string) doesn't work correctly with [ and ]
[*] The Color function appears not to work with all the colors

This is a possibility. As I said, all I did was the function, but I will look at this tommorow as well.
[*] missing image/php/quote/code

I will put the vbCode button bar back into the template. I don't know why eiSecure removed it anyway.
[*] After pressing a toolbar option, it wil not remain clicked

This is a technical impossibility. If you were to move the cursor, the button would still remain highlighted. Until someone can figure out how to get the cursor position in an iframe, then this cannot be done.
[*] The color selection is better of intergrated instead as an popup. I isn't handy for people with popup killers..(Could be intergrated like the fonts are intergrated)

OK, should be able to use almost the same function.
[*] Option to switch from wysiwyg to normal editing mode, directly from the form? (Just a simple link?)

I am not proficient enough in understanding the vBulletin PHP coding to do this.
[*] Add a browser detection? Because it doesn't work in all browsers?

What would you like it to do? The browser detection? I can detect the browser, that's no problem, but what to do when an incompatible browser is detected?
[*] Intergrate smileys? (As an toolbar?)

I'm confused about the necessity of this? The smilies are right next to it I will however, have them show up as the actual smilies. I think I can do it; I'm just not sure about erasing them.
[*] vBcode/Smilies are always inserted @ the end of the message (Better at the place of the cursor?)

Does anyone know how to track the position of the cursor in an iframe? Otherwise I can't do this either.

"(Sorry for my bad english)"

You're English seemed pretty good to me [/B][/QUOTE]
Reply With Quote
  #118  
Old 06-29-2002, 06:58 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some of you users out there may only be bad mouthing this hack because it did not work for you, and thus become fustrated so you gave us bad input, like "it really sucks". The hack works perfect, I have it installed on my forums and everything is clean. There are some very small minor bugs, such as html tags showing up some times, but I have only encountered the problem once or twice. If you installed everything perfect, you should have not encountered any serious problems. If you are really paranoid about the HTML tags, because they are showing up frequently, enable HTML in that forum and then they should disappear. So far for me my members are loving it, as it makes formatting sooo much easier. (like lists, how often do you use those on vbcode? now i'm seeing this show up more often for organization on my forums, rather than sloppy list). If I have time tomorrow I will re-write the instructions, as they might be sorta clcear, and give it to eiSecure to repost.
Reply With Quote
  #119  
Old 06-29-2002, 07:17 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack works well.

You can even use MS-Word shortcuts like Ctrl-B for bold, and Ctrl-I for italics etc.

Boofo: The tweaks are all in the thread. Just read through it - the main one is making the default font the same as your forum.
Reply With Quote
  #120  
Old 06-29-2002, 08:03 AM
josh929's Avatar
josh929 josh929 is offline
 
Join Date: Mar 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to add vbcode buttons.

I removed the src=vbcode.js from the vbcode_buttons template, and added it to the non-WYSIWYG templates. Then I added the variable for $vbcode_buttons, and that worked fine.

Now, what I tried to do instead of the above was this:
Add all the code from the vbcode_buttons template EXCEPT for the src=vbcode.js thing to one of the WYSIWYG templates. It seems like this would work, since should be the same thing as above, right?

But it doesn't, and I was wondering if anyone knew why.

Any help on this would be greatly appreciated.

P.S.
The reason I wanted this to work is so that I could add only some of the vbcode buttons.
Reply With Quote
  #121  
Old 06-29-2002, 08:03 AM
josh929's Avatar
josh929 josh929 is offline
 
Join Date: Mar 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to add vbcode buttons.

I removed the src=vbcode.js from the vbcode_buttons template, and added it to the non-WYSIWYG templates. Then I added the variable for $vbcode_buttons, and that worked fine.

Now, what I tried to do instead of the above was this:
Add all the code from the vbcode_buttons template EXCEPT for the src=vbcode.js thing to one of the WYSIWYG templates. It seems like this would work, since should be the same thing as above, right?

But it doesn't, and I was wondering if anyone knew why.

Any help on this would be greatly appreciated.

P.S.
The reason I wanted this to work is so that I could add only some of the vbcode buttons.
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 02:04 AM.


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.04885 seconds
  • Memory Usage 2,323KB
  • 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
  • (3)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
  • (2)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