Luca
Forum Replies Created
-
AuthorPosts
-
Thanks. It is already a directory map, and adding the location filter fixed the issue… I’m 100% certain that it was working properly before though, so I have no idea what happened. Either way, thanks!
It’s okay, as per my last post it is now working as intended. I was using it as a directory page to display every listing on the site, but for some reason (exhaistion?) I didn’t realize that once you hit “search” it redirects you to a different page that relies on a different template, so modifications I was making to my site’s directory page template were not having the expected results in the search results (since that’s a different page). Once I modified the GD Search Page template as well, it worked as I wanted it to. Thank you again for your help!
…Nevermind, got it. I didn’t realize it was redirecting to the search page and applying the corresponding search page template, which I had not modified yet – until I re-read which URL I had just pasted for you (silly me) . All good now, THANK YOU SO MUCH!!!
This was the original page I was starting the search from: https://plantswap.org/listings/It’s set to [gd_map map_type=”archive” width=100% height=400 zoom=0 all_posts=1 cat_filter=1 search_filter=0]
But although it’s reloading the map, it’s not “zooming in” on the correct region. It’s not the end of the world or super important, but it would just have been nice. PS – I took down the location based firewall for a little while. Here’s the link:
https://plantswap.org/listing-search/?geodir_search=1&stype=gd_place&s=+&snear=ithaca%2C+ny&sgeo_lat=42.4439614&sgeo_lon=-76.50188070000002Thanks for the quick response! I just tried out the Archive type, but the drawback is that it’s only displaying the listings on the current page. It there a way to have a map of ALL the listings, and the most recent ones showing up as a list below the map, and a search bar that functions in sync with the map? An Archive type map that loads all existing listings?
Cheers,
LucaThanks guys.
Thank you!
April 7, 2019 at 3:49 pm in reply to: Merge tags in Ninja Forms are not pulling listing data #479042UPDATE: I solved it, in a roundabout way.
I think somewhere either GeoDirectory or Ninja Forms is resetting the wp post or querry data.I kept testing the form out with an additional Action to send myself an email with all the data being processed. In those emails:
Listing ID: {field:listing_id} – showed the correct post ID
WP Post ID: {wp:post_id} – showed “0”Since the hidden Listing ID field is just populated with a default value of {wp:post_id} something, somewhere, is resetting the post_id. I didn’t have time to track it down, but PLEASE look into this because I imagine it must be affecting other functionality as well in ways I’m simply not noticing yet.
My solution for getting listing author notification emails to send out correctly was to add a hidden Author Email field with a default value set to {wp:post_author_email} and modify the Email Notification action to send to the corresponding field key {field:author_email_hidden}
So far this is working perfectly. Hidden form fields are pulling the correct post data, and using merge tags that reference the form fields is producing the desired result. However, I’d still love to know why/where the post id is being reset to 0, in case it ends up causing other problems.
I wasted three days on this and I’m pretty frustrated, but hopefully this helps someone else out.
April 7, 2019 at 3:00 am in reply to: Merge tags in Ninja Forms are not pulling listing data #478983Yes, the custom field key is “email”.
I’m still unable to get it to work, so additional help would be greatly appreciated.Can you please let me know what your normal support hours would be in EST and what country would need access, so I can disable the site’s location-based firewall accordingly?
Thanks
April 6, 2019 at 8:09 pm in reply to: Merge tags in Ninja Forms are not pulling listing data #478958One other thing: the {wp:post_id} tag correctly pulls the ID# on the frontend (tested by adding a field to the form which would display it) but shows a value of “0” if used in an email.
April 6, 2019 at 7:43 pm in reply to: Merge tags in Ninja Forms are not pulling listing data #478954Hi Stiofan, I typed the last message before seeing your response. Yes, I used the template. I even tried a completely unmodified form generated with that template, and a test listing created by me, and still the emails are not being sent to listing author.
April 6, 2019 at 7:41 pm in reply to: Merge tags in Ninja Forms are not pulling listing data #478953I’d really appreciate some developer feedback because:
1) I followed the directions in your link to the letter
2) The widget for the sidebar button has the checkbox option marked to only display the button if the listing email is populated, and it IS displaying the button, so it must be correctly verifying the email at *some* point.
3) The contact form is displaying correctly, and successfully sending out confirmation emails to Admin and to User after form submission
4) Emails to Listing Author are NOT being sent, and as far as I can tell that’s because the {GD:listing_email} merge tag is not pulling any data. I verified this by setting up a form action to send an admin notification with all relevant info, and the {GD:listing_email} tag is not showing any data.Thanks again!
April 6, 2019 at 6:42 pm in reply to: Merge tags in Ninja Forms are not pulling listing data #478942Thank you!
Looking into it more, the {wp:post_id} tag does seem to be pulling up the correct post ID number… so it might be “{GD:listing_email}” that’s not working?April 6, 2019 at 6:27 pm in reply to: Merge tags in Ninja Forms are not pulling listing data #478936(forgot to check notify of follow up, doing so now)
That’s… almost unbelievable! It’s such a core functionality for the way people expect to use your plugin. Is there any plan for the future to re-enable a native contact option? Or is there any guarantee that Ninja Forms will support your plugin integration forever?
I already use CF7 and the Elementor form builder that’s bundled with Elementor Premium. I hate having to add a THIRD plugin for contact forms – it’s so against good practice. Can you provide any tutorials for how to integrate with CF7 instead?
Thanks!
-
AuthorPosts