Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
Hi Joe,
I did respond you your questions and asked to work with you on this : https://wpgeodirectory.com/support/topic/location-manager-please-test-and-report/page/2/#post-12743
I am in Scotland… Pass your skype and we can get your site sorted.
Thanks,
Stiofan
ok found the problem, it was % were not being escaped before wpbd->prepare and breaking things.
I have added the fix and it will be in the next version.
to fix now please edit geodirectory-functions/post_functions.php line 444Add this:
$post_meta_set_query = str_replace('%', '%%', $post_meta_set_query);// escape %
so the surrounding lines are this:
$post_meta_set_query = trim($post_meta_set_query,", "); $post_meta_set_query = str_replace('%', '%%', $post_meta_set_query);// escape % do_action('geodir_before_save_listinginfo',$postinfo_array, $post_id);
Thanks,
Stiofan
Hi creagmhor,
Have you got skype, if so please pm your address, if not please pm your FTP and wp-admin and i’ll try uploading the latest to your site.
Thanks,
Stiofan
I have managed to track down the problem and i have fixed it on your site.
The only outstanding problem is the first post not showing as draft, i am looking into this.
Stiofan
This has been fixed and will be in the next version.
Thanks,
Stiofan
Hi Tom,
I tested and it seemed to work fine, see here: http://ppl.directory/places/united-kingdom/dumfries-and-galloway/thornhill/attractions/boite-a-biere/
Can you let me know a way i can replicate you problem.
Thanks,
Stiofan
So from my reading i think you wnat to remove the slider and place the map there instead?
#1 remove the slider, add this code to your child theme functions.php
remove_action( 'geodir_details_main_content', 'geodir_action_details_slider',30);
That’s the easy bit over, now on to the hard bit.
You need to move the map into that position so we add this code.
add_action( 'geodir_details_main_content', 'geodir_action_details_map_replace_slider',30); function geodir_action_details_map_replace_slider(){ global $post,$post_images,$video,$special_offers, $related_listing,$geodir_post_detail_fields; $map_args = array(); $map_args['map_canvas_name'] = 'detail_page_map_canvas2' ; $map_args['width'] = '600'; $map_args['height'] = '300'; if($post->post_mapzoom){$map_args['zoom'] = ''.$post->post_mapzoom.'';} $map_args['autozoom'] = false; $map_args['child_collapse'] = '0'; $map_args['enable_cat_filters'] = false; $map_args['enable_text_search'] = false; $map_args['enable_post_type_filters'] = false; $map_args['enable_location_filters'] = false; $map_args['enable_jason_on_load'] = true; $map_args['enable_map_direction'] = true; geodir_draw_map($map_args); }
Some CSS may be required but that’s basically it.
Stiofan(the wizard)
Image format should not matter, jpg should work fine.
Stiofan
HI Purple, i am on skype…
Stiofan
Sorry can you also give me db access.
Stiofan
geodirectory_hooks_actions.php comment out line 1290
//add_action('wp', 'geodir_temp_set_post_attachment');
Stiofan
Hi sfamilia,
Can you provide me wp-admin and db access and instructions on how to recreate the error please.
Thanks,
Stiofan
added as a bug, i will report back here one fixed.
Thanks,
Stiofan
I have fixed this and it will be in the next version.
Thanks,
Stiofan
This has been fixed and wil be in next events manager release.
Thanks,
Stiofan
-
AuthorPosts