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
  #122  
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
  #123  
Old 06-29-2002, 03:04 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a note to the person who said this hack 'sucks'.

If you downloaded the lastest copy of the install file that's on the first post, you will see that it contains almost every single update that's been talked about in these 9 pages.

If you were less ignorant of topics such as PHP and JavaScript, you will see how foolish your demands were.

Not only were you rude in making those requests, you were completely selfish, thinking only about how you can sit on your couch all day and not have to do a single thing while you tell us to make all the modifications for you.

If you don't like the condition of the original hack, then shut up, leave, and don't install it.

If you have any respect at all you'll see that we are not full-time vB hackers, we have jobs to do, and we can't possibly have the time to fully support a hack like how Jelsoft supports vBulletin.

We are real people, with lives outside of a computer, which means that we do not have that much time to support our hacks. If we can't even support all of our hacks, what makes you think that we will spend countless hours of our lives trying to outhack Microsoft Internet Explorer and accomplish something that can't even be done (cursor position in iFrame) without either finding a backdoor or do what you do, and write nasty emails to Microsoft, forcing that they spend countless resources and update their free browser.
Reply With Quote
  #124  
Old 06-30-2002, 02:23 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The reason I asked is because I wanted to make sure I was doing it right and not going blindly into it. I'm still learning about PHP code and don't always feel comfortable messing with stuff I don't understand completely. Hopefully, I didn't mess anything up but I think I got it done.

Quote:
Originally posted by Erwin
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
  #125  
Old 06-30-2002, 02:52 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All the updates are included in the first post on this thread.

The only thing that's not included is the part for making the font the same as your forum.
Reply With Quote
  #126  
Old 06-30-2002, 03:08 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did that in all three WYSIWYG files. I also changed the query in all three files (with the appropriate names in them) to what Firefly posted. Is that ok to do?

Quote:
Originally posted by eiSecure
All the updates are included in the first post on this thread.

The only thing that's not included is the part for making the font the same as your forum.
Reply With Quote
  #127  
Old 06-30-2002, 03:37 PM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by eiSecure
and accomplish something that can't even be done (cursor position in iFrame)
Actually, I think it *might* be possible. This forum was down yesturday, but I believe the regular smilies hack used createRange() which is supported by iframes. We'll have to see.

EDIT: w00t! Excellent news. It appears that I am able to insert smilies at the cursor position in a test page I have created using an iframe editor. I pretty much had to copy the vbcode.js from the other hack and do some modifications. Cool beans. I'll get it in there in the next update.
Reply With Quote
  #128  
Old 06-30-2002, 04:08 PM
Larz Larz is offline
 
Join Date: Jun 2002
Location: Copenhagen, Denmark
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could be mistaken, but haven't you guys forgotten to put this in your install.txt:

Quote:
Copy vbcode2.js to the root of your forums dir.
It's not in there, is it?
Reply With Quote
  #129  
Old 06-30-2002, 04:45 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you type your message and want to edit the words size or font, after you make the first word, for example, size 5, if you want to change another word to size 5 also, you have to select something else, for example size 2, before you can then select size 5 again and have it take effect. This works the same way on the font. Is there any way to have it reset to the default size and font after each change like Word does?

Also, could paragraph alignments, left, right and center, be implemented fairly easily? That would make a great addition to an already fantasic hack!
Reply With Quote
  #130  
Old 06-30-2002, 06:22 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paragraph alignments cannot be made, as the current BBCodes do not support them.

They will be supported in vB3, which ironically, will include this hack.
Reply With Quote
  #131  
Old 06-30-2002, 06:33 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I kindof figured that, but the wife wanted me to ask. You made a fan out of her on this one.

Can the font and size be set back to default after use, though?
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 12:42 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.07669 seconds
  • Memory Usage 2,317KB
  • 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
  • (4)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