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.

Forced Remote URL doesn't work

edited October 2011 in Vanilla 2.0 - 2.8
Hello,

I use the embed plugin, everything works fine except that even I enabled "Force your forum to be viewed through the Remote Url", I am still able to access the forum directly.

Any ideas? Thanks a lot.
Tagged:

Answers

  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    can you post the link to where you have your forums and where you are forcing them?
    Thanks

    There was an error rendering this rich post.

  • Would really like to see a resolution to this??? Any luck?
  • LincLinc Detroit Admin
    edited November 2011
    Go to plugins/embedvanilla/local.js

    On lines 20 & 21 DELETE this:

    if (!inIframe) return;

    Around line 133 FIND this:

    $(window).unload(function() { remotePostMessage('unload', '*'); }); }

    and ADD this AFTER it (on the next line):

    else return;

    I've pulled the fix to the 2.0.18 branch for the next patch release (if and when we have one).
  • note: You may need to delete the vanilla ini caches after applying this fix.
  • I tried the fix and nothing changed. Did I do something wrong?
    Here's my local.js
    http://pastebin.com/phHC5jPv

    The forum is installed at:
    http://www.varistop.com/vanilla
    And is embeded at:
    http://www.varistop.com/forum

    Thank you so much for your help.

Sign In or Register to comment.