vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   WYSIWYG Editor (htmlArea) (https://vborg.vbsupport.ru/showthread.php?t=42803)

MalaK_3araby 09-06-2002 07:07 AM

MetlignFire .. Good Job indeed .. and many thanks.
Clickable smiles and all the buttons now work .

Meltingfire 09-06-2002 03:18 PM

Im going to try to make it hide the php-code buttnons if the browser supports htmlArea...

I think a simple javascript with a if-statement would fix it...
but im not a master of javascripts =) i just know programming in general ;)

MalaK_3araby 09-06-2002 05:29 PM

1 Attachment(s)
Meltingfire .. now that would be an excellent idea.

I have disabled the buttons and i am currently using a pop-window with pulldown menu instead of the buttons.
if you wanna see that get the attached 2 files : (overwrite your editor.js and upload select_phrase.html

i love this product .. i am using it with my VBulletin, guest book, PhpNuke and other places where i use an online editor.

Mirri 09-15-2002 05:17 AM

Cool.... I bet my members are gonna love this one.. :banana:

Paul 04-10-2003 04:39 AM

This looks great. Sorry to resurrect an old thread, but this is exactly what we've been searching for. I'm going to attempt over the next few days to write a function that will allow this to work without enabling HTML which is a major security risk.

It should be fairly simple to accomplish by simply converting the output with a few replacements (<B> to [B], <a href= to [url=, etc...)

I'll post an update as we examine the feasibilty of this. I especially like that they've developed a version compatible with mozilla on all platforms (not just windows).

Erwin 04-10-2003 06:52 AM

There is a hack out that does this already without needing to enable HTML. Search for it.

Paul 04-10-2003 07:32 AM

Hi Erwin,

Thanks for the tip. We've been aware of eiSecure's hack for quite some time, however did not like it's heavy reliance on javascript, which it uses to convert the html to bbcode.

Thanks,
Paul

Boofo 04-10-2003 08:46 AM

I have this installed according to the instructions here and I can't seem to get it to show up. The example file works great, just not in the message areas. Any ideas what I might have missed?

Paul 04-12-2003 02:52 PM

Quote:

04-10-03 at 05:40 AM Boofo said this in Post #18
I have this installed according to the instructions here and I can't seem to get it to show up. The example file works great, just not in the message areas. Any ideas what I might have missed?

Make sure you put the javascript that calls the editor BELOW the textarea code. That one got me for a while. :)

I'm still working on this and have gotten basic functionality to work. Right now I'm trying to figure out the best way to get the info into the database. I was leaning towards a solution that didn't modify the php files themselves, since this hack will automatically turn itself off if the browser is incapable of displaying the wysiwyg editor.

It's converting from bbcode to html in editpost that's going to be tricky (and seems to be one of the big issues with eiSecure's hack).

Boofo 04-12-2003 02:56 PM

I did have it below the textarea code. I had the javascript right after </textarea> but could still not get it to show. I'm sure I missed something somewhere.


All times are GMT. The time now is 10:53 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.01067 seconds
  • Memory Usage 1,731KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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