Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
Hi Alexia maybe it’s a 512 limit on the legnth of a $_REQUEST value? The Booster url works if it’s short and fails if it’s over 512.
Stiofan
Hi Joseph,
This is a hard thing to do with a web application, we deliberately fire the maps ASAP as they can taka afew seconds to load and the maps need lots of other functions in the scripts.
For now i would not defer them and just use GD Booster to concatenate them.
Thanks,
Stiofan
This reply has been marked as private.February 21, 2016 at 12:10 pm in reply to: Directory Page Not Loading – Uncaught ReferenceError: geodir_advanced_search_js_ #125451I was in the middle of working on your site when it went down again. 🙁
If you see this before Monday you can replace these two bits of code:
geodirectory_adavced_searc_hook_actions.php around line 662 replace with:function geodir_advance_search_widget_display_callback( $args, $instance) { $show_adv_search = !empty($instance) && !empty($instance['show_adv_search']) ? $instance['show_adv_search'] : 'default'; $classname = 'geodir_advance_search_widget'; $show_adv_class = 'geodir-advance-search-' . $show_adv_search; if ($show_adv_search == 'searched' && geodir_is_page( 'search' ) ) { $show_adv_search = 'search'; } $show_adv_attrs = 'data-show-adv="' . $show_adv_search . '"'; $args['before_widget'] = str_replace( $classname, "{$classname} {$show_adv_class}", $args['before_widget'] ); $args['before_widget'] = str_replace( 'class="', $show_adv_attrs . ' class="', $args['before_widget'] ); return $args; } add_filter( 'widget_geodir_advance_search_args', 'geodir_advance_search_widget_display_callback', 10, 2 );In core replace geodirectory widgets.php around line 984 with:
public function widget($args, $instance) { /** * Filter the search widget arguments. * * @since 1.5.7 * @param array $args The widget arguments. * @param array $instance The widget instance. */ $args = apply_filters('widget_geodir_advance_search_args',$args,$instance); // prints the widget extract($args, EXTR_SKIP); echo $before_widget; /** This filter is documented in geodirectory_widgets.php */ $title = empty($instance['title']) ? __('Search', 'geodirectory') : apply_filters('widget_title', __($instance['title'], 'geodirectory')); geodir_get_template_part('listing', 'filter-form'); echo $after_widget; }Thanks,
Stiofan
Hello, the email problem was fixed way back in 1.5.4, what version of GD are u using?
Stiofan
Hell,
Your server is limiting the url character limit to 512, please ask your host to remove this limit.
Thanks,
Stiofan
February 19, 2016 at 4:56 pm in reply to: Location Manager Addon conflicting with Woocommerce #124769Hello,
geodir_location_hooks_actions.php line 849
replace this:if ($real_page_id && $real_page_id!=$page_for_posts) {with this:
if ($real_page_id && $real_page_id!=$page_for_posts && $real_page_id!=get_option( 'woocommerce_shop_page_id' )) {// added check fro woocommerce shop page to prevent no products.Thanks,
Stiofan
This reply has been marked as private.Hi Ben,
I have uploaded the new ver now, let us know how u get on.
Thanks,
Stiofan
I have added you on skype so i can explain a few things.
Stiofan
February 19, 2016 at 12:17 pm in reply to: Directory Page Not Loading – Uncaught ReferenceError: geodir_advanced_search_js_ #124657Your website seems down for me, or maybe i’m blocked?
Stiofan
Hi Ryan,
Please check now, it seems something else was filtering out some categories so our filter was not working correctly on it, i have set out filter to set the count to zero if not exits in our filter and that seems to have resolved it.
FYI i think you changed your wp pass, i changed it back to the one you provided so i could gain access (feel free to change it now)
Thanks,
Stiofan
You are welcome! 🙂
Google has some problem with Kosovo addresses, if you can provide wp-admin, FTP and DB access i will show you how best to set it up for the country.
Thanks,
Stiofan
Hi Ben,
If you provide FTP info i’ll install it for you.
Thanks,
Stiofan
-
AuthorPosts