sylvester vader
Forum Replies Created
-
AuthorPosts
-
August 3, 2016 at 10:52 am in reply to: Split: "Get Directions" button to Open Google Maps Link #239716This reply has been marked as private.August 3, 2016 at 10:50 am in reply to: Split: "Get Directions" button to Open Google Maps Link #239714
i have a dedicated server
so i can change all myself
but as far as i know i dont have any restrictions
exept for a ddos and brutefore block
but it blockes the whole site thencan you see the site?
http://www.sexmaps.nlAugust 3, 2016 at 10:38 am in reply to: Split: "Get Directions" button to Open Google Maps Link #239706This reply has been marked as private.August 3, 2016 at 10:14 am in reply to: Split: "Get Directions" button to Open Google Maps Link #239697This reply has been marked as private.August 3, 2016 at 9:18 am in reply to: Split: "Get Directions" button to Open Google Maps Link #239662you found something?
can one of you tell me where the script part is for the get direction button
then i can see what info it searches and maybe find out why it dont work for meAugust 2, 2016 at 1:25 pm in reply to: Split: "Get Directions" button to Open Google Maps Link #239070This reply has been marked as private.im learning alot from al the addons and changes you guys put in forum
it works perfect however the links where not correct
it now goes to location/link
but then it misses information sometimes
for example when you click on the city
then the site dont find the country 😛 or regionso i changed the snippet to
function sd_permalink_city_name($name, $post) { $location_link = geodir_get_location_link('base'); if ( get_option('permalink_structure') != '' ) { $location_link .= $post->country_slug; $location_link .= '/'; $location_link .= $post->region_slug; $location_link .= '/'; $location_link .= $post->city_slug; } else { $location_link .= '&gd_country='.$post->country_slug.'&gd_region='.$post->region_slug.'&gd_city='.$post->city_slug; } return '<a href="'.$location_link.'">'.$name.'</a>'; } add_filter( 'sd_detail_city_name', 'sd_permalink_city_name', 10, 2 ); function sd_permalink_region_name($name, $post) { $location_link = geodir_get_location_link('base'); if ( get_option('permalink_structure') != '' ) { $location_link .= $post->country_slug; $location_link .= '/'; $location_link .= $post->region_slug; } else { $location_link .= '&gd_country='.$post->country_slug.'&gd_region='.$post->region_slug; } return '<a href="'.$location_link.'">'.$name.'</a>'; } add_filter( 'sd_detail_region_name', 'sd_permalink_region_name', 10, 2 ); function sd_permalink_country_name($name, $post) { $location_link = geodir_get_location_link('base'); if ( get_option('permalink_structure') != '' ) { $location_link .= $post->country_slug; } else { $location_link .= '&gd_country='.$post->country_slug; } return '<a href="'.$location_link.'">'.$name.'</a>'; } add_filter( 'sd_detail_country_name', 'sd_permalink_country_name', 10, 2 );
good idea the code snippets
August 2, 2016 at 12:36 pm in reply to: Split: "Get Directions" button to Open Google Maps Link #239014i found out that it only gives wrong direction in the netherlands
my listings in other countries work goodatm im checking if i can find any difrence between the netherland listings and for example spain
i will find it
if it works in spain then it should also work in the netherlands
last week i also had something like this
then it did not show any listings in the map
reason was that one of the listings had 52.783.070 in coordinates in stead of 52.783070
the extra point made it not work for the complete mapim hoping its something like this again
This reply has been marked as private.August 2, 2016 at 11:36 am in reply to: Split: "Get Directions" button to Open Google Maps Link #239000This reply has been marked as private.thank you
this was exact what i was looking forAugust 1, 2016 at 2:06 pm in reply to: Split: "Get Directions" button to Open Google Maps Link #238223i know thats the problem
i did not touch the code but somehow when i click on get directions it doesnt show directions to the map pinpoint
instead it goes to the pinpoint location of the latest listing that i havethis happend after an listing import i did
but all the rest works fine
only directions not
🙁
yes what i would like is that spain has a link that goes to location/spain/
so on and so oncity to go to city and region to show the whole region
its better for site and better for google
i can change inside script but i wont change source unless no other way
yes i tryed that but it doesnt change the size 🙁
it dont do nothing no matter what plugin i put in therei even tryed adding the map and then yes it adds a map on the sizes i need but it still shows another map with the wrong sizes
-
AuthorPosts