Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Large add-on file - help!

I've got a new extension for the add-on directory (the YUI Rich Text Editor) but the file size exceeds the limit (it's 1.2 MB).

What do I need to do to get an exception and get the file uploaded? Is someone managing this on Mark's behalf?

PS, you can see the extension in action here...

http://www.houseblogs.net/community/

Comments

  • Options
    edited November 2007
    Do you need to add the YUI library with it. You can let the user download from Yahoo! and install in /path/to/vanilla/js/yui/ and only include your extension files.

    I think only mark can change the limit. If someone else could do it, it would be Minisweeper.
  • Options
    edited November 2007
    You could also use the Yahoo hosted files by default.

    I just look at your website and it is great.

    Thanks!
  • Options
    I'd agree with Dinoboff that the users could download the library seperately. I think if you email me the file I can upload it but I cant change the limit for normal users. I know recently FCK and others moved to include the libraries to make installation less confusing for the downloaders. What do people think about this?
  • Options
    Only advantage to include YUI in the extension is that you're changing the core. Like I am with FCKeditor to allow attachments via fckeditor which simply cannot be done via any hooks, and its too complicated for average users to make the necessary changes to make it work.

    From what i know of YUI you can link directly to the files hosted on yahoo. so you don't have to include RTE files, just link to them in the header.
    I know jquery recommends you link directly to their servers, I'll assume yahoo doesn't have problems with it either.
  • Options
    edited November 2007
    That 's how they recommend to add it:<!-- Skin CSS file --> <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/assets/skins/sam/skin.css"> <!-- Utility Dependencies --> <script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/yahoo-dom-event/yahoo-dom-event.js"></script> <script type="text/javascript" src="http://yui.yahooapis.com/2.3.1/build/element/element-beta-min.js"></script> <!-- Needed for Menus, Buttons and Overlays used in the Toolbar --> <script src="http://yui.yahooapis.com/2.3.1/build/container/container_core-min.js"></script> <script src="http://yui.yahooapis.com/2.3.1/build/menu/menu-min.js"></script> <script src="http://yui.yahooapis.com/2.3.1/build/button/button-beta-min.js"></script> <!-- Source file for Rich Text Editor--> <script src="http://yui.yahooapis.com/2.3.1/build/editor/editor-beta-min.js"></script>
    or: $Head->AddAddStyleSheet('http://yui.yahooapis.com/2.3.1/build/assets/skins/sam/skin.css', 'all', 200, ''); $Head->AddScript('http://yui.yahooapis.com/2.3.1/build/yahoo-dom-event/yahoo-dom-event.js', ''); $Head->AddScript('http://yui.yahooapis.com/2.3.1/build/element/element-beta-min.js', ''); $Head->AddScript('http://yui.yahooapis.com/2.3.1/build/container/container_core-min.js', ''); $Head->AddScript('http://yui.yahooapis.com/2.3.1/build/menu/menu-min.js', ''); $Head->AddScript('http://yui.yahooapis.com/2.3.1/build/button/button-beta-min.js', ''); $Head->AddScript('http://yui.yahooapis.com/2.3.1/build/editor/editor-beta-min.js', '');

    See "Serving YUI Files from Yahoo! Servers".

    There is some privacy and security issue (an other server will log your user js request, On rely on file served on other server than yours...). But it just should be ok for most forums.
  • Options
    We've tried to modify the extension to use the Yahoo hosted files but we're getting an error. I'm personally not that keen on externally hosted files for the reasons cited above, anyway.

    Dinoboff, if you give me your email address I'll just email you the file so you can upload the extension from the back end.

    Thanks.
  • Options
    You have to contact Minisweeper for that.
  • Options
    My email is in my profile. Fire away.
  • Options
    So they didn't increase the upload size beyond 100kb
    my Vcal extension compressed is at 104kb and its half done.
    this sucks.
    WE NEED BIGGER STORAGE
    I'm not going to email minisweeper for all the updates and you know i do tons of updates very frequently
  • Options
    Do you have anywhere you can upload it during the testing phase and hopefully Mark can get round to increasing the limit in time for a full release?
  • Options
    yup last time i used divshare for the beta testing phase
  • Options
    I think the limit is over 100k. Low-Call Vanilla is around 120ko
  • Options
    I am getting an error and my coding skills are still developing. Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../forums/themes/comment_form.php on line 54 Any ideas?
  • Options
    MarkMark Vanilla Staff
    I can increase the size limit - how big do you guys want it?
    btw - you can email me any time about stuff like this!
  • Options
    MarkMark Vanilla Staff
    I've increased the allowed size - hopefully that helps!
This discussion has been closed.