Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
try changing it to
$vars['%%geodir_metro%%'] = '123'
to see if it makes any difference, it might be that its not defined there and u might have to use geodir_get_post_meta();
Stiofan
This reply has been marked as private.Please check now, your location page was set as the same page being used as the WP home page.
Usually this results in too many redirects as the browser keeps hitting the htaccess fiel but with Nginx there is no htaccess file so the server just loops in its own redirect till it times out.Thanks,
Stiofan
I’d love to help here but i don’t really know what the issue is, if u can provide wp-admin details and steps to recreate or what u expect to happen then i can take a look.
Thanks,
Stiofan
July 19, 2018 at 5:59 pm in reply to: Search bar category doesn’t change when a different CPT is selected. #439084I have applied the class for you to make the search work.
Stiofan
1. directions CORRECT
2. map display CORRECTThe only issue is the address google has guessed as the end point.
I have given you a solution to use if you feel its not accurate enough for you.Google is not always 100% right, sometimes facebook and twitter go down, water is wet…. I’m closing this topic 🙂
Thanks,
Stiofan
This reply has been marked as private.(if you feel there is an error please take it up with Google, its not something we can fix)
There is already a custom field you can use if you want to open direction externally.
Go to GD>Place Settings and add the custom field “Get Directions”.
You can place this field like any other custom field and if you want to remove the original get directions you can hide it via CSS.Thanks,
Stiofan
Its pretty much the same, though the custom fields are prefixed with “geodir_” so if ur custom field htmlvar is “price” its key would be “geodir_price”
Stiofan
July 19, 2018 at 10:07 am in reply to: Search bar category doesn’t change when a different CPT is selected. #439029elementor seems to be stripping away a required class of geodir_advance_search_widget and replacing it with elementor-widget-container, u need to add “geodir_advance_search_widget” where that other class is and then it should work.
Stiofan
If you can find me a solution that works for both you can have a years free membership 🙂
I don’t give up easily, but once you work with the Google API’s you realise they are not perfect and you have to compromise on things.There are a few ways to override it to use the address but no setting to do it and they both require code snippets.
Stiofan
We can only use the GPS OR the address, and in our testing the GPS is far more accurate, i believe we original used the address but had to switch to GPS because of accuracy complaints.
If you have a suggestion on how to fix it i would be happy to listen, if i knew of a solution i would implement it, we are working with the limitations of the Google directions system.
Thanks,
Stiofan
Hello,
There are many things that prevent this, a few exmaples are:
1. Pictures are not executable usually (the server would need to be set to do so, this is unheard of)
2. The JS won’t let anything but an image be uploaded
3. Our code will reject a non image
4. WordPress will only allow certain files and prevents things like PHP files being uploaded.
5. The uploads folder should not allow executions from within it, this would prevent even PHP files from running, this should be the case but is not always.
6. I test for things like this.Thanks,
Stiofan
Hi Ian,
What is it your trying exactly? The html5 validation is a bit different from JS regex.
This website is a good resource http://html5pattern.com/Make_Your_OwnThanks,
Stiofan
I have invited you (via email) to a new GeoDirectory Developer slack channel so i can help you with any quick questions.
Thanks,
Stiofan
-
AuthorPosts