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 Post Editor v1.0 (https://vborg.vbsupport.ru/showthread.php?t=40283)

Paul 06-26-2002 03:58 AM

I reapplyed the new templates.zip and still am having the line 0 object expected error. Can anyone else confirm this?

Superman53142 06-26-2002 04:13 AM

Quote:

Originally posted by LoveShack
I reapplyed the new templates.zip and still am having the line 0 object expected error. Can anyone else confirm this?
What's your forum address? I'll take a quick look.

Erwin 06-26-2002 04:16 AM

Great! I've installed it, and my members love it.

I agree about keeping the buttons depressed when clicked - let me know when someone has worked that out. Now I need to figure out how to integrate all my custom vBCode buttons into this new format (things like glow, shadow etc). :p I will also try to integrate this into PM and my sig editor too.

Thanks for a great hack!

Erwin 06-26-2002 04:34 AM

Btw, superman, do I know you from somewhere? ;) How did you find out about my forums?

Superman53142 06-26-2002 04:36 AM

Quote:

Originally posted by Erwin
Btw, superman, do I know you from somewhere? ;) How did you find out about my forums?
I think it was Yahoo when I was doing a search. My forum deals with Hardcore Computing, and I figured it would be cool to get involved in a forum that deals with my major "interest," for lack of a better word :p

EDIT: See your thread in Announcements. You should be able to add at least the default vbCode buttons in without a problem.

Velocd 06-26-2002 04:44 AM

I agree, having buttons pressed down when you click on them like Microsoft Word would be probably the last excellent feature this hack needs to be complete. How about it eiSecure :p

Quote:

I will also try to integrate this into PM and my sig editor too.
When you do Erwin could you post the templates for them? It would be of great help ;)



Quote:

Originally posted by Vivi Ornitier
hmmm . . this hack i sreally nice, but what about inserting images, php and stuff like that? lol, hopefully that'll come?
All Vbcode tags are functionable in this editor, but there are no buttons for most of them. You have to type them in manually, such as for PHP use [*php][/php] (wo/asterik ofcourse), and upon submit everything will work out fine.


Quote:

Originally posted by LoveShack
Excellent to see this up and going!

A few slight problems that I've noticed so far:

In the install.txt, it tells you to create a directory under images called "toolbars" ... this should be "toolbar"

Smilies appear to be not working. I thought someone said this was fixed? Perhaps it's not in the zip yet?

Pressing "Bold" etc. will not remain "clicked" to let you know that bold is currently selected. From viewing dhtmleditor this appears to be possible. Would it be possible in this version as well? (remain highlighted in blue if it's selected).

Many thanks for such great work! :D

Paul

If you install everything from the zip provided in post #1 then all should work fine. Try clearing your cache then redownloading the zip. Things to make sure is that no modifications are made to functions.php, and that you have uploaded vbcode2.js to your forums root folder, insuring that vbcode.js is still there.

Erwin 06-26-2002 04:47 AM

Heheh... saw your post.

I think I WILL add the vbcodes back... I was thinking of integrating them ie. making them WYSIWYG - eg. with glow. Shouldn't be too hard.

Also, another thing:

Can you make it so that the new vbcode is compatible with the vbcode hack where smilies are placed where the cursor is rather than at the end of the message?

The hack is this one:

https://vborg.vbsupport.ru/showthrea...threadid=24033

I am already running it, and switching back to the old one where smilies are placed at the end of the message is irritating.

Superman53142 06-26-2002 04:49 AM

Just for the record, if you add the vbCode buttons back into the wysiwyg templates, they will work; the vbcode2.js file supports it. However, you will have to move the line in vbcode_buttons that says:

Code:

<script language="Javascript" src="vbcode.js">
to all the non-wysiwig templates and delete it from that template.

Superman53142 06-26-2002 04:51 AM

Quote:

Originally posted by Erwin
Heheh... saw your post.

I think I WILL add the vbcodes back... I was thinking of integrating them ie. making them WYSIWYG - eg. with glow. Shouldn't be too hard.

Also, another thing:

Can you make it so that the new vbcode is compatible with the vbcode hack where smilies are placed where the cursor is rather than at the end of the message?

The hack is this one:

https://vborg.vbsupport.ru/showthrea...threadid=24033

I am already running it, and switching back to the old one where smilies are placed at the end of the message is irritating.

I'll give it a shot. I've got nothing else to do :)

Erwin, it doesn't look like it's possible using the old technique. I tihnk it can be done if I can capture the position of the cursor in the iframe. If anyone knows how to do this, then it can be done. I'm not sure that we can capture the position of the cursor in an iframe.

Velocd 06-26-2002 05:04 AM

Hey Superman, any idea of how I can get the default font to be Verdana instead of Times New Roman? Since that is what most of my members are used to. Also, have you noticed or not if the default size is the normal size? If not, it would be great to preset that to the normal vbulletin size.


All times are GMT. The time now is 01:19 PM.

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.01805 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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