Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Magic

bas87bas87 New
edited March 2010 in Vanilla 2.0 - 2.8
Magic

Comments

  • lucluc ✭✭
    BeforeDiscussionRender already exists in applications/vanilla/controllers/discussion.php, having it on different places will just lead to strange behaviour.

    If you want events added into core, just ask @Mark.
  • Thanks for the information. I have Vanilla version of 23.1.2010. In this version does not exist BeforeDiscussionRender.
  • Thanks @bas87

    I kinda need this add-on.
    I will try to install it in my V2 tonight and see how it goes.
  • Works only when I preview a post for me. Why is that?
  • Tried installing this in a very recent version of Vanilla 2, it doesn't seem to work. URLs to images are not being converted to preview in the article.
  • Doesn't work for me either.
  • "The plugin could not be enabled because it generated a fatal error:
    Fatal error: Call to undefined method Exception::getContext() in /Users/ted/Sites/vanilla/library/core/functions.error.php on line 57 "
  • @bas87 id like to use this foe vanila 2 rc1, could you please update this?

    thanks
  • It looks like this plugin is not being supported any more? It's a shame, it would be very useful, especially converting image urls to actual images.

    In RC2 I get this error message – any ideas where to start if we want to try to fix it?
    FATAL ERROR IN: PHP.Gdn_ErrorHandler();

    "Magic requires the Vanilla application version >= 2.0"
    LOCATION: /home/fanfodkx/public_html/library/core/functions.general.php
    > 351: for ($i = 0; $i < $Count; ++$i) {
    > 352: $Operator = $Operators[$i];
    > 353: $MatchVersion = $Versions[$i];
    > 354: if (!version_compare($EnabledVersion, $MatchVersion, $Operator)) {
    >>> 355: throw new Exception(
    > 356: sprintf(
    > 357: T('%1$s requires the %2$s %3$s version %4$s %5$s'),
    > 358: $ItemName,
    > 359: $RequiredItemName,
    BACKTRACE:
    [/home/fanfodkx/public_html/library/core/class.pluginmanager.php 413] PHP::CheckRequirements();
    [/home/fanfodkx/public_html/applications/dashboard/controllers/class.settingscontroller.php 499] Gdn_PluginManager->TestPlugin();
    [/home/fanfodkx/public_html/library/core/class.dispatcher.php 270] SettingsController->TestAddon();
    [/home/fanfodkx/public_html/index.php 39] Gdn_Dispatcher->Dispatch();
  • TimTim Operations Vanilla Staff
    Plugin Approved.

    Vanilla Forums COO [GitHub, Twitter, About.me]

Sign In or Register to comment.