HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

SecureDice and Mobile Vanilla

The plugin works great on my site. The only issue comes when viewing through Vanilla's mobile theme. In that case, only the tokens appear - not the dice rolls they represent.

Any help in making it render the rolls in mobile would be appreciated!

Comments

  • Options

    @Gaiwecoor try:

    in file class.securedice.plugin.php around line 14
    from
    $PluginInfo['SecureDice'] = array( 'Name' => 'SecureDice', 'Description' => 'This plugin implements an obfuscated dice-rolling interface.', 'Version' => '1.0', 'RequiredApplications' => FALSE, 'RequiredTheme' => FALSE, 'RequiredPlugins' => FALSE, 'SettingsUrl' => FALSE, 'SettingsPermission' => FALSE, 'HasLocale' => FALSE, 'RegisterPermissions' => FALSE, 'Author' => "Andy Wilkinson", 'AuthorEmail' => 'andy@wtribe.com', 'AuthorUrl' => FALSE );

    To

    $PluginInfo['SecureDice'] = array( 'Name' => 'SecureDice', 'Description' => 'This plugin implements an obfuscated dice-rolling interface.', 'Version' => '1.0', 'RequiredApplications' => FALSE, 'RequiredTheme' => FALSE, 'RequiredPlugins' => FALSE, 'SettingsUrl' => FALSE, 'SettingsPermission' => FALSE, 'HasLocale' => FALSE, 'RegisterPermissions' => FALSE, 'Author' => "Andy Wilkinson", 'AuthorEmail' => 'andy@wtribe.com', 'AuthorUrl' => FALSE, 'MobileFriendly' => TRUE );

    simply adding 'MobileFriendly' => TRUE makes a plugin viewable in mobile

  • Options

    @fr3333333x - perfect! That helps immensely in my first plugin I'm working on, too.

    Thanks!

  • Options

    @Gaiwecoor it would be nice if you could press awesome or insightful if it helped you to help others find your solution if they encountered these type of issue :)

  • Options

    @fr3333333x - Done! I'm new to posting here, and there's that lag time on forum etiquette :-)

Sign In or Register to comment.