vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   WYSIWYG New thread/Reply (https://vborg.vbsupport.ru/showthread.php?t=40130)

eiSecure 06-21-2002 09:00 PM

WYSIWYG New thread/Reply
 
This is sorta neat... everything, instead of having the old-school type-in text box for replies and new threads, you have a Frontpage-like visual editor for your replies!:)

Supports colors, and everything!:) Here's how to install...

1. Back up your newreply and newthread templates, just in case.:) (I'm not responsible if you screw up and blow up your house.:D)

2. Instead of me giving you pieces of the templates to modify, since there are huge modifications, I'll just give you the templates themselves. You usually won't have to change anything, unless you installed some hacks that modify the newreply or newthread templates.:)

3. When people are posting/replying, be sure to let them know that before they can submit the form, they have to press the 'save' button that's on the toolbar.:)

4. Upload the images attached to forums/images/toolbar directory.

5. Enjoy!:bunny:

New version available here.

If I left out anything...let me know. ^_^

eiSecure 06-21-2002 10:41 PM

Demo here: http://forums.eisecure.com

You have to register to see it, but it's real cool when you reply/post new thread!:D

EDIT: Also...forgot this attachment... ^_^

Just plop it in your forum directory.:)

RDX1 06-21-2002 11:39 PM

haha, nice try, i say make a guets account or a screen shot

Slynderdale 06-21-2002 11:40 PM

I simply must say, wow, this is a great hack, a must to install, it remeinds me alot od wordpad and other text editors, i like it, i signed up to your forums, im attaching a screenshot below.

eiSecure 06-21-2002 11:44 PM

Oh, yeah, one more thing...

Be sure to enable HTML when posting, or else much of the effects (such as tabs) won't work.

Don't worry...the risk isn't as big as with a plaintext editor... everything is wrapped in tags, so it shouldn't be a big problem.:)

Slynderdale 06-21-2002 11:50 PM

hmm, looking over it, this isnt considered a hack, its a template edit, so it shouldnt be here, but its great though

bandersen 06-21-2002 11:55 PM

I looked at it... very nice!

eiSecure 06-22-2002 12:07 AM

Quote:

Originally posted by NerdNations
haha, nice try, i say make a guets account or a screen shot
Well, I'm not forcing anyone to register and see it -- it's completely optional.

Now, why do you have to get that kind of attitude? Believe it or not, you're actually making me rethink wether to continue work on this hack, or take everything down. :tired:

Superman53142 06-22-2002 12:15 AM

Quote:

Originally posted by eiSecure
Well, I'm not forcing anyone to register and see it -- it's completely optional.

Now, why do you have to get that kind of attitude? Believe it or not, you're actually making me rethink wether to continue work on this hack, or take everything down. :tired:

I like the hack :) One thing, though, is that now that it uses an iframe for the textarea, how do I capture the value of said iframe for the spell checker?

eiSecure 06-22-2002 12:17 AM

With a little tweaking of the Javascript, you can get it to work.:)

When the user presses the 'save' button, the contents of the iframe (in HTML format) is passed to a hidden form field called 'message'.

That's just a regular input box that's hidden... you can probably make the spell check work through there.:):bunny:


All times are GMT. The time now is 11:09 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.02184 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete