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.
Options

[Solved] enable plugin in mobile

edited August 2012 in Vanilla 2.0 - 2.8

how to used/enable plugin in mobile site?
like i want to enable vote plugin in mobile site

Comments

  • Options
    peregrineperegrine MVP
    edited August 2012

    the reason many plugins are removed is because they throw off formatting in mobile devices.

    any plugin that you want to use with mobile has to have the following line in the $PluginInfo array.

    'MobileFriendly' => TRUE,

    The $PluginInfo array is generally found in default.php or in the class"ThePlugin.plugin.php" plugin directory.

    So, in class.voting.plugin.php
    
    you could add
    
    'MobileFriendly' => TRUE,
    
    after line
    
    'RequiredApplications' => array('Vanilla' => '2.0.17'),
    
    
    
    like so:
    
    'RequiredApplications' => array('Vanilla' => '2.0.17'),
     'MobileFriendly' => TRUE,
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    thankz for the info. i will try it now.

  • Options

    wow..!!! thankz it works. I owe you. you can see view it http://www.trantopic.com

Sign In or Register to comment.