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

Fileupload doesnt work on mobile theme

This discussion is related to the fileupload addon.

Anyone know how to fix this? It works fine when you view it as desktop but when in mobile use, you cant upload or show the thumbnails.

Comments

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    please tell us what numerical version of vanilla you have?

    what version of FileUpload Plugin?

    Have you tried adding MobileFriendly=TRUE to the plugins definition?

  • Version 2.0.18.8
    version 1.5.2
    where can i make this edit for mobilefriendly=true?

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited January 2014

    ok, open the file class.fileupload.plugin.php to edit and add that line like I did below. But I think you need the previous version of FileUpload for 2.0.18 and you need to update to 2.0.18.10 for security issues.

    // Define the plugin:
    $PluginInfo['FileUpload'] = array(
       'Description' => "This plugin enables file uploads and attachments to discussions and comments.",
         'MobileFriendly' => TRUE,
       'RequiredTheme' => FALSE, 
       'RequiredPlugins' => FALSE,
       'HasLocale' => FALSE,
       'RegisterPermissions' => array('Plugins.Attachments.Upload.Allow','Plugins.Attachments.Download.Allow'),
       'SettingsUrl' => '/dashboard/plugin/fileupload',
       'SettingsPermission' => 'Garden.Settings.Manage',
       'Author' => "Tim",
       'AuthorEmail' => '@vanillaforums.com',
       'AuthorUrl' => 'http://www.vanillaforums.com'
    );
    
  • thank u! it works! i didnt have to go to the previous version of fileupload

    vrijvlinder
Sign In or Register to comment.