Jump to content

ZZESTO

Circle Member
  • Posts

    12
  • Joined

  • Last visited

Posts posted by ZZESTO

  1. Hi @tuanphan, I struggle with alike problems. On my website spooroverlast.nl the mobile menu icon seems to be restricted to show up only as a single dash. No matter what I select under the built in site-header-mobile menu options (the double, triple, paragraph or plus sign...) only the single dash seems to show up.

    Would you possibly know what causes this behaviour?
    And how to solve it?

    Thanks in advance!
    Stefan

    Screenshot 2023-08-28 at 09.23.58.png

  2. Hi Thomas @creedon, thanks for this option. I can see it working in the custom form... does it use its own cookies on the bacground to populate the autocomplete functionality? Because much of the reports are made, waking up from vibrations, reaching to your phone and clicking the 'app' link to the website the ease of keeping the  1-click-report button,

    1 moderate nuisance
    2 serious nuisance
    3 very serious nuisance

    seems important to me. The fourth report (scroll down) could totally have the autopopulation feature, but I don't see it kick in. Is it only triggered by drop down select buttons? Have a look at the site as I now prepared it.

     https://spooroverlast-nl.translate.goog/melden?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=nl&_x_tr_pto=wapp

    Thanks to you and @tuanphan both, for your never waning responsiveness. Much appreciated!

    Stefan

  3. Hi @tuanphan, your option to opt-out of the (new) localized forms is working! It has brought back the functionality that disappeared in May this year. Thnx so much! It's a start.

    My big follow-up question would be as I mentioned in my post (see below)... how to not even have to use the IP address, but instead just do a read/write cookie to store the address or a unique 4digit userID that connects to their userID in the mailinglist/Google Sheet world. This would be more elegant and a true connection to a real address instead of a poor IP proxy.

    Thanks so much in advance!

    Stefan

     

    On 8/22/2023 at 2:12 PM, ZZESTO said:

    Then again: as I realise that the IP address is a poor proxy for a real address getting my prior working code back to work... maybe is not the greatest solution (although it will help and has advantages cross device). Realise that most people who will do the reporting will be subscribing to the newsletter or do some reporting onboarding or whatever in which case they will voluntarily provide their real addresses. In which case it only become a matter of connecting this 'reporter' to every of his 'reportings'. Seems like such a simple problem. I can think of 2 solutions:

    • SIMPLEST: one first report, ask for address, store the address in a long living client side cookie (of course after asking for permission etc), then on all new reports, look for cookie, prefill address in report form and allow for 1-click reporting WITH address

     

  4. Hi all,

    I'm struggling here. I am an enthusiastic Squarespace (SS) professional user. As a creative agency we like the flexibility of the SS platform, the user friendly CMS and the customisations through CSS / Javascript. Please help, I'll try to describe things as structured as possible.

    SITUATION / OBJECTIVES

    I created a simple SS website (spooroverlast.nl, it's in Dutch) to allow people in my neighbourhood to make an online report anytime a train passes by (we live very close to a very busy train track) that involves a lot of sound- or vibration disturbance (that might damage our homes). As we plan to have 4 week long reporting campaigns, we want to make 'making a report' as simple as possible. The site worked somewhat and had a straight forward setup:

    • home page, info
    • newsletter page, signup
    • reporting page:
      • 3 'one-click report buttons' (SS collapsable forms) "JUST NOW, HERE"
        • pre-filled and hidden form field "severity" = 1  (2 and 3)
        • pre-filled and hidden form field 'IP_address' = <stored value derived from browser through Javascript>
        • connected to Google Sheet (resulting in Timestamp + Severity + IP address)
      • 1 custom report form "SOME MOMENT, SOMEWHERE"
        • date
        • time
        • severity (1,2,3)
        • any remarks (text)
        • pre-filled and hidden form field 'IP_address' = <stored value derived from browser through Javascript>
    • this allowed for a resulting Google Sheet that gave us an indication of the real address through the IP address (al be it too rough, because it really is a neighbourhood problem, stretching along the railroad for app 10km). but still. It worked.

    Than, in May 2023, SS changed its coding of forms and the code broke. Not allowing to pre-fill form fields any longer. I searched for help on SS Forum, but to no avail. See below.

     

     

    QUESTION / SOLUTION

    Does someone know how to get this code working again? Then again: as I realise that the IP address is a poor proxy for a real address getting my prior working code back to work... maybe is not the greatest solution (although it will help and has advantages cross device). Realise that most people who will do the reporting will be subscribing to the newsletter or do some reporting onboarding or whatever in which case they will voluntarily provide their real addresses. In which case it only become a matter of connecting this 'reporter' to every of his 'reportings'. Seems like such a simple problem. I can think of 2 solutions:

    • SIMPLEST: one first report, ask for address, store the address in a long living client side cookie (of course after asking for permission etc), then on all new reports, look for cookie, prefill address in report form and allow for 1-click reporting WITH address
    • ALTERNATIVE: create a membership area (behind login) and situate the 1-click reporting buttons there. I have no experience with getting data in/out membership area's allowing for the same simple results somewhere (in a Google Sheet or comparable) gathering the data:
      • time
      • date
      • severity of disturbance
      • address

     

    I would so much appreciate some help with this – probably – shamefully simple problem. I which case I do apologise to the readers for my lengthy Post. Thnx so much in advance!

    Stefan
    Amsterdam Area
    (the Netherlands)

    spooroverlast - form field IP address.png

    spooroverlast - header code injection.png

  5. Hi Tom,

    After looking at your answer.... I wondered what possibly could go wrong. And suddenly, it hit me, I was doing the testing from my Brave browser, that always has a Brave Shield up! Testing it from Safari and/or with the Shield de-activated resulted in a sweet success! Thanks for checking!

    Question: we're working on a local neighbourhood initiative to collect complaints of local people that experience heavy vibrations from the passing trains. We've got some 300 people signing up for a newsletter. I'd like to (where possible) link their address to their IP, so we know approximately where there complaints are originating from without them having to identify on every 'complaint' (which can happen multiple times per night).

    I'm looking for some sort of logic like the following:

    1. send out an automated email to all people who signed up
    2. provide a 'complete your profile' link to a form on the website
    3. pre-populate the form with the email address and name (from url)
    4. fetch IP (as per above code) 
    5. and send all profile data + IP address back to a Google Sheet.

    Would this be possible with Squarespace (form, pre-populating from a url ?email=blablabla&name=blebleble etc) and would this be possible with the Squarespace mailer (easy integration, but limited functionality in creating custom links) or do I need Mailchimp or Flodesk for that to work?

    Appreciate your thoughts!
    Stefan

     

  6. Dear @creedon, I tried using your tips (adding the 2 scripts) to get the user IP and load it into a hidden form field. But it doesn't seem to work. I tried it first on another website in preparation (and therefore TRIAL-mode), so I tried it on a hidden page on my BUSINESS-plan website too. 

    Could you have a look at what is going wrong? I can't figure it out.

    Thnx a lot in advance!
    Stefan

    https://www.zzesto.com/ip-form-test

    Screenshot 2023-04-23 at 15.31.11.png

    Screenshot 2023-04-23 at 15.31.22.png

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.