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
  #142  
Old 07-01-2002, 01:22 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works beautifully!!!

You are indeed Superman of Javascript!
Reply With Quote
  #143  
Old 07-01-2002, 01:38 AM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
Works beautifully!!!

You are indeed Superman of Javascript!
LOL, I guess that's what happens when you are oblivious to the existance of PHP for a few years

I'm happy that it's working well for ya
Reply With Quote
  #144  
Old 07-01-2002, 05:52 AM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!!!!! You make my life easier till vb3 comes out :-)
Reply With Quote
  #145  
Old 07-02-2002, 07:07 AM
WallStreat WallStreat is offline
 
Join Date: Oct 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack & i took the liberty to amend some of the codes to suit my needs i.e. instead of allowing users to choose to use this editor (which requires amending the database), this editor will show only if user's browser is Microsoft IE version 5.5 (windows version) & above:
PHP Code:
Open global.php, and find the following:
-----
// ###################### Start sessions #######################
-----

Add above it with this code:
-----
// // HTMLEdit Hack
if (eregi("Win",$HTTP_USER_AGENT) && (eregi("MSIE 5.5",$HTTP_USER_AGENT) || eregi("MSIE 6.",$HTTP_USER_AGENT))) { // browser is Win IE 5.5 & abv
    
$enableHTMLEdit 1;
} else {
    
$enableHTMLEdit 0;
}
// // HTMLEdit Hack

3. Open newthread.php, and find the following:
-----
eval(
"dooutput("".gettemplate("newthread")."");");
-----

Replace it with this code:
-----
  if(
$enableHTMLEdit == 1){ eval("dooutput("".gettemplate("newthread_wysiwyg")."");");
  } else { eval(
"dooutput("".gettemplate("newthread")."");"); }
-----

4. Open newreply.php, and find the following:
-----
eval(
"dooutput("".gettemplate("newreply")."");");
-----

Replace it with this code:
-----
  if(
$enableHTMLEdit == 1) { eval("dooutput("".gettemplate("newreply_wysiwyg")."");");
  } else { eval(
"dooutput("".gettemplate("newreply")."");"); }
-----

5. Open editpost.php, and find the following:
-----
eval(
"dooutput("".gettemplate("editpost")."");");
-----

Replace it with this code:
-----
  if(
$enableHTMLEdit == 1) { eval("dooutput("".gettemplate("editpost_wysiwyg")."");");
  } else { eval(
"dooutput("".gettemplate("editpost")."");"); }
-----
----- 
Reply With Quote
  #146  
Old 07-02-2002, 01:05 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a very nice mod!
Reply With Quote
  #147  
Old 07-02-2002, 01:27 PM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@eisecure

can you update the install file with the modification from Wallstreat ? Thanks!

@wallstreat
i wanted this and never found. I gonna include this to my index page as well. Thanks!
Reply With Quote
  #148  
Old 07-02-2002, 03:09 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I'm going to release the install file with full updates and everything, so people don't have to keep on updating their installations.

I'm going to put a link to this post for now, and when we have a few of the other bugs worked out, I'll release an official update to it.
Reply With Quote
  #149  
Old 07-02-2002, 03:37 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With the new big update eiSecure your saying your going to release. Will it have the mod that wallstreet had or is it going to have the way it was made to be with the usercp because I really like wallstreets idea with the mod.
Reply With Quote
  #150  
Old 07-02-2002, 03:57 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It'll probably be Wallstreet's hack, but I'm not too sure just yet...

What are some other people's experiences with Wallstreet's mod?
Reply With Quote
  #151  
Old 07-02-2002, 04:08 PM
Superman53142's Avatar
Superman53142 Superman53142 is offline
 
Join Date: Feb 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, Alex, I've still got a few more things coming up, so as soon as I get those done we can release a 1.1 version.
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 11:48 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.04941 seconds
  • Memory Usage 2,328KB
  • 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_php
  • (1)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