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.

Vanilla Embed vs. ProxyConnect (Wordpress Login/Regsiter Screen getting cut-off)

edited November 2010 in Vanilla 2.0 - 2.8
Is there a way to make Vanilla Embed and ProxyConnect play nice with each other in wordpress? When trying to sign-in it loads the wp-login screen inside of the vanilla embed "frame," resulting in a cut-off login form without a scroll bar.

Is there a way to force all of vanilla's login/register urls to open up full-screen wp-login pages instead? Here's an screen-shot of the login form getting cut-off:

Vanilla Embed vs. ProxyConnect

Also, if you click the "Back to My Website" link at the top of the wp-login form then you have your whole site loading in the embed frame.

Comments

  • johnathonjohnathon New
    edited December 2010
    @noyz319 I ran into this same issue this morning. Here's a quick and dirty fix.

    In the Embed plugin's folder, open local.js, and change this section beginning at line 104:

    if (isHttp && href.substr(0, webroot.length) != webroot) { $(this).attr('target', '_blank'); } else { // Strip the path from the root folder of the app

    to this:

    if (isHttp && href.substr(0, webroot.length) != webroot) { $(this).attr('target', '_blank'); // if the link points to the sign-in page, load outside the frame, ie. "top" } else if (href.indexOf('signin') != -1) { $(this).attr('target', '_blank'); } else { // Strip the path from the root folder of the app

    That should force your sign-in page to load outside of the embedded frame.
Sign In or Register to comment.