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

Closed Thread
 
Thread Tools
WYSIWYG New thread/Reply Details »»
WYSIWYG New thread/Reply
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-21-2002 Last Update: Never Installs: 11
 
No support by the author.

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.)

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. ^_^

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 06-23-2002, 01:33 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I'm working on a non-HTML version, but the problem is with the <a href> and the <img src> tags. They both have an ending tag (">), which makes it so much harder to do a search and replace using javascript.
  #73  
Old 06-23-2002, 07:58 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright. Thanks. I will wait for the non-HTML version then. Keep up the great work, eiSecure. It's a great hack.
  #74  
Old 06-23-2002, 08:45 PM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, installed this hack as it says to, and i post something and it does this

<PRE><EM><FONT face="Arial Narrow">test boom boom shake it baby </FONT></EM></PRE>

also when i click the color button i get a Not Found error
  #75  
Old 06-23-2002, 09:07 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, those are known bugs, and they will be fixed in a patch that I will release tomorrow.
  #76  
Old 06-24-2002, 04:15 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IS there any way you can just tell us what to add in the templates because i really supped up my templates and i don't feel like back tracking to see what to add back. Thanks so much that would help tremendously.
  #77  
Old 06-24-2002, 04:17 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added in functions for the toolbar actions. I replaced the message box with the iframe and the toolbar. I added in a script to process submit events in the head.

You only have to change your newreply and newthread templates, not all the templates. Few people ever edit their newreply and newthread templates.
  #78  
Old 06-24-2002, 04:30 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So is this a template edit or a hack?
  #79  
Old 06-24-2002, 04:43 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*sigh* Fine... if you wanna get technical, let me release the update so you can call it a hack...
  #80  
Old 06-24-2002, 04:49 PM
eiSecure's Avatar
eiSecure eiSecure is offline
 
Join Date: Dec 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update

This update fixes the following bugs:
- Problems with user quoting
- Smilies don't work
- BBCodes don't work
- User is required to press 'save' before submitting

To Do:
- Extend this to newpm/replypm & edit templates
- Get BBCode to work in enhanced mode
- Make it output BBCode instead of HTML

Install Instruction:
1. Update your newthread and newreply templates with the attached copies.
2. Replace your existing vbcode.js file
3. Enjoy!:bunny:
  #81  
Old 06-24-2002, 07:01 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it would be really better if you could just tell us what to add instead of just telling us to replace everythng. Because that is what i look forward to noing that i don't no that much html so i look forward to instructions. and this hack looks nice. Please help osmeone out thanks.
Closed Thread


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 10:40 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.07098 seconds
  • Memory Usage 2,302KB
  • 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)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
  • (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