Naveen Giri
Forum Replies Created
-
AuthorPosts
-
Hi Birgit,
this issue has been already fixed in PHPCompatibility.
https://github.com/PHPCompatibility/PHPCompatibility/issues/123
https://github.com/PHPCompatibility/PHPCompatibility/pull/130Please let wpengine support know about it. they will fix it in there addon.
Thanks
Hi periwinkle,
there is no existing validation for it.
could you share the page URL.
let us know about the field you are talking about.Thanks
Hi Alexander,
the issue is coming from the Listimia theme.
You can let them know about the issue to fix it in the theme.meanwhile, you can use this code snippet.
/** * Get the html input for the custom field: url * * @param string $html The html to be filtered. * @param array $cf The custom field array details. * @since 1.6.6 * * @return string The html to output for the custom field. */ function custom_listimia_cfi_url($html,$cf){ $html_var = $cf['htmlvar_name']; // Check if there is a custom field specific filter. if(has_filter("geodir_custom_field_input_url_{$html_var}")){ /** * Filter the url html by individual custom field. * * @param string $html The html to filter. * @param array $cf The custom field array. * @since 1.6.6 */ $html = apply_filters("geodir_custom_field_input_url_{$html_var}",$html,$cf); } // If no html then we run the standard output. if(empty($html)) { ob_start(); // Start buffering; $value = geodir_get_cf_value($cf); if ($value == $cf['default']) { $value = ''; }?> <div id="<?php echo $cf['name'];?>_row" class="<?php if ($cf['is_required']) echo 'required_field';?> geodir_form_row clearfix gd-fieldset-details form-group"> <label for="<?php echo $cf['name'];?>"> <?php $frontend_title = __($cf['frontend_title'], 'listimia'); echo (trim($frontend_title)) ? $frontend_title : ' '; ?> <?php if ($cf['is_required']) echo '<span>*</span>';?> </label> <input field_type="<?php echo $cf['type'];?>" name="<?php echo $cf['name'];?>" id="<?php echo $cf['name'];?>" <?php if(!empty($cf['placeholder_value'])){ echo 'placeholder="'.esc_html__( $cf['placeholder_value'], 'geodirectory').'"'; } ?> value="<?php echo esc_attr(stripslashes($value));?>" type="url" class="geodir_textfield form-control" oninvalid="setCustomValidity('<?php _e('Please enter a valid URL including http://', 'listimia'); ?>')" onchange="try{setCustomValidity('')}catch(e){}" /> <span class="geodir_message_note"><?php _e($cf['desc'], 'listimia');?></span> <?php if ($cf['is_required']) { ?> <span class="geodir_message_error"><?php _e($cf['required_msg'], 'listimia'); ?></span> <?php } ?> </div> <?php $html = ob_get_clean(); } return $html; } remove_filter('geodir_custom_field_input_url','geodir_cfi_url',10,2); remove_filter('geodir_custom_field_input_url','listimia_cfi_url',10,2); add_filter('geodir_custom_field_input_url','custom_listimia_cfi_url',10,2);
Regards
NaveenThanks for confirming it, Gary.
Have a great day.Hi Birgit,
the function used at line no 301, 310 is mysql_to_rfc3339()
which is not deprecated function
https://developer.wordpress.org/reference/functions/mysql_to_rfc3339/So seems the PHP Compatibility Checker plugin have some issue.
Please share your FTP and site details, I will check it further.
Thanks
Hi gaz36f,
I have added some changes in the code snippet.
Please check now.add_filter( 'geodir_review_form_args', function( $fields ) { if( ! function_exists("um_get_core_page") ) return $fields; $fields['must_log_in'] = sprintf( __( '<p class="must-log-in"> You must <a href="%s">Register</a> or <a href="%s">Login</a> to post a comment.</p>' ), um_get_core_page("register"), um_get_core_page("login")."?redirect_to=". apply_filters( 'the_permalink', get_permalink() ) ); return $fields; });
add_filter( 'login_url', 'gd_ultimate_member_login_link', 10, 3 ); /** * gd_ultimate_member_login_link the login URL. * * @since 2.8.0 * @since 4.2.0 The <code>$force_reauth parameter was added. * * @param string $login_url The login URL. Not HTML-encoded. * @param string $redirect The path to redirect to on login, if supplied. * @param bool $force_reauth Whether to force reauthorization, even if a cookie is present. * * @return string */ function gd_ultimate_member_login_link($login_url, $redirect, $force_reauth ){ if( ! function_exists("um_get_core_page") ) return $login_url; $login_url = um_get_core_page("login")."?redirect_to=". apply_filters( 'the_permalink', get_permalink() ); if ( $force_reauth ) { $login_url = add_query_arg( 'reauth', '1', $login_url ); } return $login_url; }
Thanks
Hi Adrianne,
It is an issue on the WP-Engine side
you can follow this guideline and sync with WP-Engine support about it.
https://wpgeodirectory.com/support/topic/ayecode-connect-not-connecting/#post-536748Regards
NaveenHi Adrianne,
the form was not selected in the ninja form widget.
Please have a look now.– can you send us what error you got for Ayecode connect
I cant see social import addon in the backend.Thanks
Hi Birgit,
– Make sure you have updated versions of addon
– please share status report from
geodirectory => status => get system reportOR
please share site detail in private reply.Thanks
Hi Rodney,
We have an addon for BuddyPress integration.
https://wpgeodirectory.com/downloads/buddypress-integration/It covers all of your mentioned requirements.
you can try it.Regards
NaveenThanks for the confirmation, have a great day.
Hi David,
on the category page, the category shortcode works differently.
If you are on category page the shortcode will load all the child categories of current one.I have changed the shortcode a bit and added no_cat_filter
param.[gd_categories post_type="0" hide_empty="1" max_level="1" max_count="all" max_count_child="all" no_cat_filter="1" title_tag="h4" sort_by="count"]
Please have a look now. it loading all categories there.
Thanks
Thanks, I will check and get back to you.
Thanks for confirmation.
Hi bantyjbc,
I can see the issue. It may be due to any other plugin conflict.
Please provide FTP details in a private reply.
I will check it further.Thanks
-
AuthorPosts