Broken signup links because variables passed incorrectly

HomeForumsGeneral Support – NOT for Volunteer and PTA plugins!Broken signup links because variables passed incorrectly

Viewing 3 reply threads
  • Author
    Posts
    • #7996
      Mark Leigh
      Participant

      When using the shortcodes ([pta_sign_up_sheet id=”3″]) to place a specific sheet on a page, each signup URL in the sheet is generate as “example.com/?page_id=53?sheet_id=3&task_id=9&date=2015-12-27&signup_id=0″ and this doesn’t work because the “?” (marked in bold) should be a “&” because it’s not the first variable to be passed. Generates the error: “Not a valid signup!”

      When not using the shortcodes (ie, just clicking on the sheet from the main list of sheets), the URL is correct: “example.com/?page_id=53&sheet_id=3&task_id=9&date=2015-12-27”

      I’m sure I can code hack to fix this, but I suspect it will break something if I did. Any ideas?

    • #8006
      Stephen Sherrard
      Keymaster

      I will check on this after I return from our family vacation. Had a couple other contributors to the plugin, so something may have gotten messed up in a recent release (or, possibly that shortcode argument was never tested without pretty permalinks). If you changed your permalink structure, it will work for now.

    • #8224
      Stephen Sherrard
      Keymaster

      Found the one spot in the code where if you were NOT on the main volunteer page as defined in the plugin settings, then the query argument was getting added wrong.

      I’m getting ready to push out 1.12.1 in the next day or two that will fix that along with a couple of other little things.

      • #8230
        Mark Leigh
        Participant

        Thank you Stephen! The update did repair this. Once we put this onto our production server, we’ll certainly be sending a donation along.
        Thanks!
        -Mark

    • #8232
      Stephen Sherrard
      Keymaster

      Thanks! Glad it’s working for you!

Viewing 3 reply threads
  • You must be logged in to reply to this topic.