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

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

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

    Thanks!

  • @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 :)

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

Sign In or Register to comment.