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

it doesnt seem on mobile theme

i use default mobile theme, but it doesnt seem on mobile theme. can you help me

Comments

  • Options
    RiverRiver MVP
    edited September 2016

    in vanilla 2.2 you can add

    'MobileFriendly' => TRUE,

    in the PluginInfo of the plugin.

    see example here.

    http://docs.vanillaforums.com/developer/plugins/quickstart/

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

  • Options
    schindlerschindler New
    edited September 2016

    @River said:
    in vanilla 2.2 you can add

    'MobileFriendly' => TRUE,

    in the PluginInfo of the plugin.

    see example here.

    http://docs.vanillaforums.com/developer/plugins/quickstart/

    thank you, but it didnt work. i added like this:

    $PluginInfo['RoleBadges'] = array(
       'Name' => 'RoleBadges',
       'Description' => "Adds user's role badges under their name in comments.",
       'Version' => '0.2',
       'RequiredApplications' => array('Vanilla' => '2.0.18'),
       'RequiredTheme' => FALSE,
       'RequiredPlugins' => FALSE,
       'HasLocale' => FALSE,
       'SettingsUrl' => 'dashboard/plugin/RoleBadges',
       'SettingsPermission' => 'Garden.AdminUser.Only',
       'RegisterPermissions' => FALSE,
       'Author' => "Thomas Mashek",
       'AuthorEmail' => 'thomas@thescoundrels.net',
       'AuthorUrl' => 'http://thescoundrels.net'
    'MobileFriendly' => TRUE,
    
    );
    
  • Options

    it works now, thank youuuuuuu very much :)

  • Options
    rbrahmsonrbrahmson "You may say I'm a dreamer / But I'm not the only one" NY ✭✭✭

    missing comma on line 14?

Sign In or Register to comment.