gaz36f
Forum Replies Created
-
AuthorPosts
-
December 12, 2019 at 1:53 pm in reply to: Multirating totals and counts do not update correctly #521153
I cannot find how to display the counts and averages of the multiratings. Please can you tell me how to do this. I have looked everywhere. I have set them up and they can be seen in individual reviews but I cannot find how to provide an average score like I can do with the ‘overall’ rating.
Also, you mention ‘Review Rating Manager’. What’s this? Is it the same as the ‘Multiratings and Reviews’ extension (which I do have)? If not, I don’t have (or cannot find) ‘Review Rating Manager’.
That’s absolutely great Naveen. It worked! 🙂
Just two very small things:
I added ‘?ll?’ after ‘ul’. I think I might have missed those earlier.
$maps_url = ‘https://waze.com/ul?ll=%%latitude%%,%%longitude%%’;
Also, if other people use this they might want to change the ‘Google’ to ‘Waze’ in this line here:
<?php echo __( ‘Get Directions on Waze Maps’, ‘geodirectory’ ); ?>
So happy to have this. Thanks again Naveen. Cheers, Gary
Hi Alex, yes, that is what I thought too. I tried it yesterday but I have just attempted it again since your post. Sadly, it doesn’t work.
If I put the %%latitude%% and %%longitude%% in the ‘Badge Text’ field, it recognizes the co-ordinates and duly enters them, as text.
However, if I use the same address tags in the ‘Badge Link URL’ field (i.e. https://waze.com/ul?%%latitude%%%%longitude%% ), it doesn’t recognize the tag and the URL is quite literally https://waze.com/ul?%%latitude%%%%longitude%% (i.e. no coordinates).
As a test in this field, I put https://waze.com/ul?%%input%% and it produced https://waze.com/ul?%5Bfirst line of address].
It looks like the address tags %%latitude%% and %%longitude%% work in the badge text field but not the badge url field.
Thanks Kor!
It helped immensely. Thanks so much Kor!
I would also like to remove the map from the ‘Add Listings’ Page. I have been into the Custom Field’s settings for ‘Address’ but there is no option to remove the map. Is there any way at all?
How bizarre. It is fine now. I think I am having some issues with my cache. Even after flushing I don’t see changes right away. I think it is something to do with my Cloudfare account. Anyway, sorry for troubling you and many thanks for looking into it.
This reply has been marked as private.Sorry Alex, but I am still baffled.
I have gone through the link you have sent me and I have removed the ‘Google Map API’ and kept the ‘Google Geocoding API Key’, which I have restricted to ‘Geocoding’ and ‘Timezone’ as per the articles suggestion.
In terms of the filter, I don’t know what to do with it. I have used File Manager in CPanel to go to public_html>wp-content>plugins>geodirectory>includes>class-geodir-maps.php
and I have found the snippet you highlighted: return apply_filters( ‘geodir_map_name’, $active_map );
But I don’t know what to do with it. Am I supposed to ‘comment it out’?
Basically, all I want to do is use Google Maps to add addresses in the listings page as OSM auto-address suggestions are terrible. For the rest of the site, I think I am happy for OSM to be used. Indeed, I am pretty happy not having a map at all but rather a link that opens people’s Google Maps on their phone or PC and they can use it to get directions etc.
Is there a way to generate a Google Map link for each listing?
Thanks again Alex.
It worked a treat Patrik. Thanks very much!
This reply has been marked as private.This reply has been marked as private.October 17, 2019 at 5:12 am in reply to: Headers on the Details Page don't change on 'old' content #513515Ok, I’ve finally resolved it. Phew. It was a major headache.
Anyway, for anyone else who has this problem in the future, here is solution.
For those using an Avada theme, go into Theme Options and scroll down to ‘Performance’. Click ‘Reset Fusion Caches’. This apparently resets all Dynamic CSS & Dynamic JS, cleans-up the database and deletes the uploads/fusion-styles and uploads/fusion-scripts folders.
I have no idea why we have to do this. It doesn’t happen with any other pages, posts or portfolios throughout the website. It only occurs with GD Template pages. Anyway, this solution works. 🙂
October 16, 2019 at 4:50 pm in reply to: Headers on the Details Page don't change on 'old' content #513445This reply has been marked as private.October 16, 2019 at 4:47 pm in reply to: Headers on the Details Page don't change on 'old' content #513442Sorry Alex, I have just changed one of the links (as they were both the same) and added the one I was meant to, which highlights the difference.
-
AuthorPosts