Page 3 of 3 FirstFirst 123
Results 31 to 40 of 40

Thread: FCKeditor implementation

  1. #31
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    i see, ...

    how stupid of me , well i use firefox, so that would explain it but i never thought to look at it as a browser issue.

    well i have to say that sucks,

    thanks for trying

  2. #32
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    maybe one of those 7 programmers could take a few minutes out from working on v7.x and help us poor slobs change v5.4 or v6.x so that INDEXU would not reject the style tag in the description field.

    But I tend to ask for waaaaay too much.



    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  3. #33
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    definatley!

    I'll 2nd you on that!,

    Well now we know that you can't impliment decent text editor in indexu for multiple browsers. Its either Internet explorer or no text editor

    Im sure theres plenty of work arrounds but really thats not the point ?

    LOL

  4. #34
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    well, I have figured out why FireFox "crashes" when the text area uses a "style" tag.

    Many INDEXU files use the pre and post filter functions. In modify.php the RunPreFilter(__FILE__) function calls the filter.xss_blocking.php file and the filter_xss_blocking function looks for the style tag. If it finds an instance of the style tag, then INDEXU aborts and merely displays a white screen (no graceful error capturing there...!!! ).

    either comment out the RunPreFilter funtion in modify.php/add.php or edit the filter.xss_blocking.php file and delete the style tag.

    BTW, I'm using this: http://www.openwebware.com/forum/vie...asc&highlight=

    download



    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  5. #35
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    Well its very late and i have spent some time on various bits on the directory, just finished testing what you said and it works a treat, .

    sorry for the delay on this post i just havent had much time, anyways im of to bed

    But i have to give credit when credit is due, thanks again mate.
    you really should put your paypal in your signiture ( inspireme / brucekeeper and anyone else)
    you never know when someone might just donate.

    anyway i would like to come back to this issue and refine the filter.xss_blocking.php as i have (just for time being commented out the lot)
    here
    PHP Code:
       /**$pattern[] = '/<(alert|applet|basefont|base|behavior|bgsound|blink|body|embed|expression|form|frameset|frame|head|html|ilayer|iframe|input|layer|link|meta|object|plaintext|style|script|textarea|title|xml|xss)/msi';
        
        $pattern[] = '/[=\'"`;(](about|behavior|chrome|data|disk|hcp|help|javascript|livescript|lynxcgi|lynxexec|ms-help|ms-its|mhtml|mocha|opera|res|resource|shell|vbscript|view-source|vnd\.ms\.radio|wysiwyg|xss):.*?[\'"`>]/msi';
        $pattern[] = '/<[^>]+.*?(onload|onclick|ondblclick|ondragstart|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onselectstart|onblur|onfocus|onscroll|onselect|onunload|onchange|onsubmit)[\s\W_]*?=.*?>/msi';
        $pattern[] = '/<[^>]+.*?(expression\(|style=[\'"])/msi';
    */ 
    BTW openWYSIWYG v1.01 is far the easiest/full featured to configure, out of the three tinymce/fckeditor/nicEdit/.


  6. #36
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by echo@ View Post
    BTW openWYSIWYG v1.01 is far the easiest/full featured to configure, out of the three tinymce/fckeditor/nicEdit/.
    It may take a little more work to set up but v1.47 is better. Go to the forum to download.


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  7. #37
    Join Date
    Jul 2006
    Location
    Paris, France
    Posts
    108

    Default Maybe a simple solution to the problem of texteditor and textareas

    Hello,

    I already had modified the size of textareas in IndexU, but it's not really simple (there are lots of templates, and we can't make more than 800 pixels width).

    But a friend gave me a good idea.

    Most of the developers use Filefox (Mac and PC). I suppose you already use "Web Developer":
    https://addons.mozilla.org/fr/firefox/addon/60

    There are lots of other addons for Firefox, in particular:

    https://addons.mozilla.org/fr/firefox/addon/3818
    to resize any texte area. You know it's very useful when we copy and paste text.

    and

    https://addons.mozilla.org/fr/firefox/addon/1449
    "Xinha Here! is a wrapper for the Xinha HTML editor that enables WYSIWYG editing in any HTML textarea and text input elements."

    What do you think of these 2 simple solutions to a difficult problem ?

    I tried the, it works.

  8. #38
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    thanks for the links mickey, developer toolbar nice.

    not sure though if this would help intergration of wysiwyg with indexu.

    thanks

  9. #39
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    echo... I LOVE THE AVITAR!!!! hahahahh
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  10. #40
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Cool

    lmfao .. .hehheh

Similar Threads

  1. Paying for Customization / Implementation
    By andmunn in forum Help Wanted/Job Request
    Replies: 0
    Last Post: 06-02-2004, 10:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •