Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  # 51
    itchy, what i meant was, that lets say for a link text, the user has purple color, but the stylesheet with fckeditor will show it blue, which isn't what the user wants. the stylesheet inside the iframe should be the same as the one the user is using.
    • CommentAuthorithcy
    • CommentTimeSep 30th 2006 edited
     # 52
    yeah, you're right. i think it can be easily fixed though.
    here's how to get the user's stylesheet:
    if (!@$UserManager) $UserManager = $Context->ObjectFactory->NewContextObject($Context, "UserManager");
    $AccountUserID = ForceIncomingInt("u", $Context->Session->UserID);
    if (!@$AccountUser) $AccountUser = $UserManager->GetUserById($AccountUserID);
    $UserStyle = $AccountUser->StyleUrl . "vanilla.css";


    and i think there's a way to edit the "editing page" that FCKeditor uses, so that all the CSS ids and classes would match up with a "real" vanilla comment.
  2.  # 53
    i have been looking into the editing page thingy. some of them are easy to configure, while other are quite complicated to do. just changed the code style. FCkeditor spits out a span tag with code class. So i changed it so it spits out a code tag instead, so the users own stylesheet will work now. will look into how other styles can be changed.
  3.  # 54
    itcy where should i use that code. like this
    oFCKeditor.Config["EditorAreaCSS"] = "' . $Configuration['WEB_ROOT'] . $UserStyle";
    • CommentAuthorithcy
    • CommentTimeOct 1st 2006
     # 55
    oFCKeditor.Config["EditorAreaCSS"] = "' . $UserStyle . '";
    but i've become convinced that this is a dead end. i'm going to look into adding ajax post previewing like SirNot's Preview Post extension instead.
    • CommentAuthorithcy
    • CommentTimeOct 2nd 2006
     # 56
    also we should probably move this discussion to the fckeditor thread.
    • CommentAuthorAndrewVos
    • CommentTimeOct 2nd 2006
     # 57
    Wow. I made this thread a while ago and it's done! Well, not TinyMCE but Dojo looks alright!
  4.  # 58
    Andrew tinymce is also done.
    •  
      CommentAuthortdkpaulie
    • CommentTimeOct 3rd 2006 edited
     # 59
    I wanted to install TinyMCE
    http://lussumo.com/addons/?PostBackAction=AddOn&AddOnID=179


    But there is one problem!
    Readme says that i have to Download Tinymce from http://tinymce.moxiecode.com/download.php

    And then the path to tiny_mce_gzip.php should look like that: /path/to/vanilla/js/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php

    but unfortunately in the latest Downloadpackage from TinyMCE there is no "tiny_mce_gzip.php" file in this directory?

    What to do now?
  5.  # 60
    There isn't. :S are you sure. If not then that website link also has the link to download the TinyMCE compressor. which is pefered.

    if you don't want to then u can use tiny_mce.js. In the default.php, change tiny_mce_gzip.php to tiny_mce.js
    the gzip version is compressed version which makes it faster to load thats it. the functionality of compressed and non conpressed is the same
    • CommentAuthorAndrewVos
    • CommentTimeNov 13th 2006
     # 61
    Yeah, TinyMCE doesn't work properly in IE7. Joy.

    Thanks guys, you really are legends. This is most definately the best open source community I have ever seen.
  6.  # 62
    does the plugin doesn't work with ie7, or tinymce doesn't work
    can u head over to tinymce website and try out the demo in ie7
    •  
      CommentAuthorDinoboff
    • CommentTimeNov 13th 2006
     # 63
    tinyMCE works with IE7 - most of it, I haven't test all the buttons.
    •  
      CommentAuthor[-Stash-]
    • CommentTimeNov 15th 2006 edited
     # 64
    Yeah the demos on the MoxiCode website seem to work for me just fine in IE7.
    •  
      CommentAuthorWanderer
    • CommentTimeNov 15th 2006
     # 65
    They also sort of work in Safari too, although very slow to load and resizing the text area makes all the text disappear.
  7.  # 66
    so ur NOT seeing this

    Picture 1
    •  
      CommentAuthorWanderer
    • CommentTimeNov 15th 2006
     # 67
    I went to the demos on the MoxiCode website and tested it there. I had tested it on my forum a while back but I had forgotten how painfully slow it was and why I disabled it. And no I didn't look for that error, I didn't have the JavaScript debug active.

    (Safari does not hassle people with piddly errors by default).

    As I said, re-sizing it using the lower-left corner caused all the content to disappear, a little more than a cosmetic bug.

    In any case I think it's overkill to offer so much in the way of formatting text on a Vanilla forum.
  8.  # 68
    thats the problem with safari. Its javascript support isn't good.
    use webkit (nightly build of safari) and it will work for you. not to mention that safari support in tinymce is experimental. there is NO WYSIWYG that works good in safari. not even the ones made by google work. hopefully safari 3.0 will fix the javascript issues
    •  
      CommentAuthorWanderer
    • CommentTimeNov 15th 2006
     # 69
    Yup, lots of issues are fixed in webkit, I wish they would get it out soon.

    As for "there is NO WYSIWYG that works good in safari" that's a bit off, the Google bits work OK, I use their pages every day. (AdSense, account management etc.)

    I find things that break in Safari also break in Firefox.

    It's more annoying when everything works in Safari, giving you a secure warm fuzzy feeling, then one last test in Firefox before you upload shows a couple of things that don't work!
  9.  # 70
    try accessing google docs and spreadsheets page.
    it says this Safari support for Google Docs is coming soon!

    frankly javascript support in safari is not par with firefor at all. It took google some time to get there wysiwyg toolbar for blogger working. then they took more than an year to get gmail working. and god knows how much will they take to get google docs and spreadsheets working.

    btw there is a leaked leopard build if u want safari 3.0
    •  
      CommentAuthorWanderer
    • CommentTimeNov 16th 2006
     # 71
    Leaked where?

    In any case, not much use if the two of us had the functionality if it wasn't available to the rest of the world yet :-(
    • CommentAuthordan39
    • CommentTimeNov 18th 2006
     # 72
    Speaking of Google and Safari and Javascripting and problems.

    This should help a bit with developement on Safari/Webkit:

    http://googlemac.blogspot.com/2006/11/google-web-toolkit-gwt-for-mac.html
    • CommentAuthorargie01
    • CommentTimeDec 24th 2006
     # 73
    Hi,

    I'm have a problem with TinyMCE extension:

    http://lussumo.com/community/discussion/4594/

    Thank you for your help !
Add your comments
    Username Password
  • Format comments as