WordPress.org

Ready to get started?Download WordPress

Forums

Google Forms
[resolved] Plugin not accepting the updated links from google docs (19 posts)

  1. Crissymarie
    Member
    Posted 1 year ago #

    I tried using the new release of Google doc forms.
    The url link to the form has changed.
    it no longer has the "key" in the link. I can use an old form link it works fine. but the new links do not work.
    Help

    http://wordpress.org/extend/plugins/wpgform/

  2. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    I don't understand your question. Are you using the beta release from my web site?

  3. Crissymarie
    Member
    Posted 1 year ago #

    Mike, i
    I tried the current release and the beta. I am unable to display a new form using the new link used by google docs. If i use a link from a older form no problem.
    Have you been succesfull using a form link in the past few days?

  4. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    I am not seeing different URLs from any of my Google Forms. Can you share your Google Spreadsheet with me? Use my same WordPress username at gmail dot com.

  5. JimCunningham
    Member
    Posted 1 year ago #

    Finally someone with the same problem I'm having! I am running a Linux webserver that I'm just now setting up and I have intermediate experience so I've been looking all over the place for the problem. I finally tried your sample forms and they worked so I figured that the problem must lie in my forms that I'm creating. It appears that the url structure of new Google forms is not the same as it used to be. I'm wondering if this is the reason that my newly created forms will not work but your old forms will.

    Sample form works:
    https://docs.google.com/spreadsheet/viewform?formkey=dE56R1ZldXo4a0N3VTNMNEpSemdGV3c6MQ#gid=0

    My form doesn't work in plugin:
    https://docs.google.com/forms/d/1-XBoyV67JGnEQV02vjkqhbss3vMKTBqcdLhqRHhYFDY/viewform

    Notice that the url structure is different in the newly created form. Maybe this is what's causing the problem.

  6. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    I just created a new form and the Google Forms UI has definitely changed. I added the form to a testing page. I am getting a redirect error, are you seeing the same thing?

  7. JimCunningham
    Member
    Posted 1 year ago #

    Yes that is very similar to the error that I'm getting.

    http://www.mobilehomesms.com/?page_id=49

    You'll notice that your form works but mine gives an error.

  8. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    I will have to dig into it. Whatever Google has done is causing an error to be returned to the WordPress HTTP API. I will see if I can dig into this tomorrow or Monday.

  9. Crissymarie
    Member
    Posted 1 year ago #

    Jim, I am geting the same error from the new goole form links.
    I have resorted to reusing an older form and strpping it down for a template. At least it generates a new link that will work.
    Mike I hope you can find a workaround :)

  10. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    I had a few minutes tonight to look at this and whatever Google has changed, it isn't very obvious. The initial request for the page content from Google using wp_remote_get() fails with the new URLs. I think it has something to do with the sslverify parameter which is an argument to wp_remote_get() but I am not positive yet.

  11. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    I continue to look at this problem. It turns out I can retrieve the form HTML using wget from the command line like this:

    wget --output-file=x.txt --output-document=y.txt --no-check-certificate https://docs.google.com/forms/d/1bPgvlQ-zwdVVBmmLEC0YtUu-yf94rshDLbMPcUFbsCU/viewform?pli=1

    The Google form HTML ends up in the y.txt file.

    Looking at the contents of x.txt (which reports what wget is doing) it appears there are some redirects but not many. I then changed the number of redirects the HTTP API can tolerate (which defaults to 5) to 100 to see if it completed and it did not. This is very strange.

  12. JimCunningham
    Member
    Posted 1 year ago #

    Thank you for taking the time to look into this problem. So does that mean that there is an issue with WordPress's function not working with the new google url? Is this a bigger problem that just the way your plugin interacts with the new google urls?

  13. ethanjrt
    Member
    Posted 1 year ago #

    I'm having the same problem. I'm really glad you're working on it! Using regular embedded Google form in the interim.

  14. kurtvon
    Member
    Posted 1 year ago #

    I'm having the same issue with my plugin. new forms aren't working.

    @ethanjrt do you know how to revert to the old forms? I don't see any options in google for that.

  15. ethanjrt
    Member
    Posted 1 year ago #

    No, sorry; I just meant I'm using Google's "embed" link (next to the "link to share" option after you click "Send Form"). Which works fine for a small sidebar signup the way I have it, except that the style clashes a little with the rest of my site and the form doesn't appear for anyone whose browser doesn't accept 3rd-party cookies.

  16. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    I've been digging into this problem this morning and have posted a status update. Unfortunately I do not have a resolution yet.

  17. Crissymarie
    Member
    Posted 1 year ago #

    kurtvon,
    Just reuse a older form. Make a copy, remove the old form fields and delete the spreadsheet rows. Give it a new name.Done.

  18. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks to a tip from a Google Forms user a viable work-around is now available. I think this is a better solution than copying an old document and works for people who don't have an old document to start with.

  19. Mike Walsh
    Member
    Plugin Author

    Posted 1 year ago #

    Based on a tip from another user, I did some testing today and it appears that Google has made some changes and the new forms are now working exactly like the old form did. This is great news!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.