• Resolved dacai

    (@dacai)


    Hi Michael,

    I’m trying to implement the plugin the same way we did back on version 3.1 (iframed page is a buddypress group with lots of ajax). In general eveything works out of the box now (which is great). However, I cannot seem to get the iframed page to reload when a text-entry (comment) box expands.

    I’m using the following settings:

    Resize to content height / width
    Ajax event sare Jquery
    Resize on Ajax : 1000 delay
    Resize on click: 1000 delay
    Click element intercepted: a:acomment

    Any ideas on the solution?

    P.S Good to see that the downloads jumped from 30.000 to 115.000.

    https://wordpress.org/plugins/advanced-iframe/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author mdempfle

    (@mdempfle)

    is acomment the id of the a element or the class. Because only ids are supported!

    What you can do: look for
    $debug = false; in the advanced-iframe.php and set this to
    $debug = true;

    Than you get an alert box for any click that is intercepted.

    Best, Michael

    Thread Starter dacai

    (@dacai)

    Thanks for the fast reply. I’ll give that a try. I have no idea what a:acomment is. I included it because you told me to and it worked.

    Plugin Author mdempfle

    (@mdempfle)

    acomment is the id of the link you want to intercept. You can e.g. only use a to intercept all calls!
    If you have a different link than the id is for sure different.

    Best, Michael

    Thread Starter dacai

    (@dacai)

    Ok. I enabled debug. Gives me a header warning, but doesn’t show anything when i click the text field. Also gives a popup saying ajax is ready.

    Edit: Now i cannot get rid of the header warning even if i turn debug back to false. Gives the following:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at

    Plugin Author mdempfle

    (@mdempfle)

    As I have written. If this is a different link you need to configure this properly.
    Best, Michael

    Thread Starter dacai

    (@dacai)

    Now i cannot get rid of the header warning even if i turn debug back to false. Gives the following:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at

    The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Thread Starter dacai

    (@dacai)

    Solved the above by deleting and reinstalling the plugin. On original topic; i changed a:acomment to a. Eveything kept working, but the textbox expand still doesn’t resize the iframe.

    Plugin Author mdempfle

    (@mdempfle)

    It’s hard to tell you this without code as there are many parameters that can cause this. e.g. if the opening event of your textbox is catched no event is there which you trigger the resize…

    Best, Michael

    Thread Starter dacai

    (@dacai)

    Well, i could give you the domain / a login code if it would help. When i think about it, this is only a problem when there are no comments yet. If there are previous comments, the user will likely click the submit button after expanding the text area. In that case the reload would occur due to the button click so the user will not even notice that it didn’t reload before.

    Plugin Author mdempfle

    (@mdempfle)

    You have to decide if you can live with this. I do now also offer paid support and also a pro version is available.

    Best, Michael

    Thread Starter dacai

    (@dacai)

    For now I can live with it. I noticed you had a pro version, in fact i was the one who suggested you did that 😉 I’ll pick it up when i have some spare envato credit (not that I really need the pro functions, but you deserve the support). Feel free to mark this as resolved.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Reload on text field expand’ is closed to new replies.