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.

it doesnt seem on mobile theme

This discussion is related to the RoleBadges addon.

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

Comments

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

    vrijvlinder
  • 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' => '[email protected]',
       'AuthorUrl' => 'http://thescoundrels.net'
    'MobileFriendly' => TRUE,
    
    );
    
  • it works now, thank youuuuuuu very much :)

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

    missing comma on line 14?

    vrijvlinder
Sign In or Register to comment.