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

Embed Vanilla mobile support (solution included)*

TamaTama ✭✭✭
edited May 2013 in Feedback

To disable redirecting when using a mobile simply change line 46 on class.embedvanilla.plugin.php from

  if (!IsSearchEngine() &&  !$InDashboard && C('Plugins.EmbedVanilla.ForceRemoteUrl'))
      $Sender->AddDefinition('ForceRemoteUrl', TRUE);     

to

  if (!IsSearchEngine() && !IsMobile() && !$InDashboard && C('Plugins.EmbedVanilla.ForceRemoteUrl'))
      $Sender->AddDefinition('ForceRemoteUrl', TRUE);     

There was an error rendering this rich post.

Sign In or Register to comment.