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)

Erwin 04-13-2003 02:55 AM

Quote:

Today at 02:46 AM LoveShack said this in Post #19
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).
Really? I've managed to get it working flawlessly. Also got eiSecure's hack working for PM's too.

Boofo 04-13-2003 03:06 AM

Are you referring to eiSecure's hack? The one I am having problems with it htmlarea. Do you have that one working?

Paul 04-13-2003 03:16 AM

Quote:

Yesterday at 11:49 PM Erwin said this in Post #21
Really? I've managed to get it working flawlessly. Also got eiSecure's hack working for PM's too.
If you edit a post with eiSecure's hack, does the message appear formatted properly in the editor or do you see bbcode instead?

Erwin 04-13-2003 04:53 AM

Quote:

Today at 03:10 PM LoveShack said this in Post #23
If you edit a post with eiSecure's hack, does the message appear formatted properly in the editor or do you see bbcode instead?
Depends - I have seen both. I think if the original post was by Quick Reply, you see bbcode, but if the original post was made with his hack, you see the actual effects.

Black Vivi 04-18-2003 07:15 AM

I think I might be ablew to get this to work wih BB Code, have to edit it alot though...

MalaK_3araby 04-18-2003 08:04 AM

Quote:

04-13-03 at 07:06 AM Boofo said this in Post #22
Are you referring to eiSecure's hack? The one I am having problems with it htmlarea. Do you have that one working?
i got that working w/o a problem and have been using it for sometime now.
get the latest version and follow instruction carefully.
It is important where you locate the script and associated files/images. I use:
forum/editor.js
forum/images/ed_*.gif


i used the above paths and edited html like this:
Code:

<!-- htmlArea -->
<script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "";                    // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
 document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
 document.write(' language="Javascript1.2"></scr' + 'ipt>'); 
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script>
<!-- /htmlArea -->

<!-- START : EDITOR HEADER - INCLUDE THIS IN ANY FILES USING EDITOR -->
<script language="Javascript1.2" src="editor.js"></script>
<script>
_editor_url = "";
</script>
<!-- END : EDITOR HEADER -->

and after the </textarea> tag, used:
Code:

<script language="JavaScript1.2" defer>
editor_generate('message');
</script>

I hope that helps.

Xelation 07-15-2003 07:04 AM

anyone ever get this working with bbcode?

xware 10-27-2003 11:49 AM

<font color="darkorange">Thanks, how does this hack work with HTMLArea-3.0 ?</font>

gmarik 11-12-2003 04:27 AM

Rather insteresting!


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.01173 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (4)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
  • (9)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