Giri
Forum Replies Created
-
AuthorPosts
-
Applied the fix for second site too.
Thanks
Hi Roman,
I have applied the fix for your first site.
But your second site uses supreme 1.0.5
Please update that to the latest.
So i can apply the fix for that one too.
Thanks
October 27, 2016 at 10:22 am in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292722ok cool
October 27, 2016 at 10:17 am in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292718You are welcome Stevens.
Hi Lars,
Try this code in your child theme functions.php file
function geodir_payment_stripe_method_info( $payment_method ) { if ($payment_method == 'stripe') { echo "stripe is a payment gateway"; } } add_action( 'geodir_payment_method_fields', 'geodir_payment_stripe_method_info' );
Let me know how that goes.
Thanks
October 26, 2016 at 4:43 pm in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292286This reply has been marked as private.October 26, 2016 at 3:56 pm in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292267This reply has been marked as private.October 26, 2016 at 3:33 pm in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292250Hi Stevens,
Try enabling error log only for that particular site using wordpress config.
Add the following values to wp-config.php file.
define('WP_DEBUG', true); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true );
Now reload the home page. If there is any error it will be logged in this file.
/wp-content/debug.log
Once you done those steps, if you see any errors then please download that file then attach here while replying to this thread.
Thanks
October 26, 2016 at 2:54 pm in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #292200Hi Stevens,
I have installed 2016 theme on your site. Even with 2016 I see the same problem when GD enabled.
If I deactivate GD, page getting displayed correctly.
It could be because one of the following reasons.
1) Your server might be missing some extensions or using outdated PHP
2) Your database is messed up by one of your outdated plugins.
3) It might be a bug in GD.To find out the cause, please check error_log.
Thanks
October 25, 2016 at 4:44 pm in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291579I see error like
Uncaught ReferenceError: geodir_reviewrating_all_js_msg is not defined
. Thats just means there is a fatal error in the middle of the page. So rest of the page not being loaded.
In my opinion it might have caused by one of your third party plugins.
So to debug this issue,
1) Disable ALL non GD plugins.
2) Disable child theme too by switching to parent whoop theme
3) Refresh the home page.
4) If you see footer now, its just means one of your plugin caused that issue. Activate the plugin one by one and then refresh home page to find the culprit.
Let me know how that goes.
Thanks
October 25, 2016 at 2:19 pm in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291528You are welcome 🙂
October 25, 2016 at 9:55 am in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291361And one more thing
Chnage the WP_DEBUG value to false in wp-config.php file.
I’m unable to do that since i’m unable to connect to your FTP
October 25, 2016 at 9:53 am in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291360This reply has been marked as private.October 25, 2016 at 8:59 am in reply to: Sidebar doesn't appear Whoop theme GEODIR & BUDDYPRESS #291349Hi Stevens,
I won’t get any notification if you update your reply. So its better to write a new reply if you need follow up from me.
This is last notification I got fro this thread.
Sorry i added rich text editor to buddypress activity yes i’m in learning process as you can see errors learning tool if understood so i reased all the overides footer.php the buddypress subfolders included except activity wich is back like it was before when you helped me add the sidebar to the side so i’m trying to find out to create the function folliwing the proccess you showed earlier to get it go from bottom left to top right and i guess when i can figure it out i’ll add it to the buddyforms tabs thanks for all the help.
As for your questions, let me see what I can do.
Thanks
Hi Jaz,
We have filters in our email function. So you can alter the message via filters.
For example
If your client is using
[#jaz_country#]
as shortcode, then you need to add the following code in your client’s functions.php file.
function geodir_alter_email_message($message) { $search_array = array( '[#jaz_country#]', ); $replace_array = array( "United States" ); $message = str_replace( $search_array, $replace_array, $message ); return $message; } add_filter('geodir_sendEmail_message', 'geodir_alter_email_message', 10, 1);
That would print “United States” always.
I believe you are talking about the listing city/country.
In that case use the following code instead of the above code.
function geodir_alter_email_message($message, $fromEmail, $fromEmailName, $toEmail, $toEmailName, $to_subject, $to_message, $extra, $message_type, $post_id, $user_id ) { $post_address = ""; $post_city = ""; $post_region = ""; $post_zip = ""; $post_country = ""; if ($post_id) { $post = geodir_get_post_info($post_id); if($post->post_address) { $post_address = $post->post_address; } if($post->post_city) { $post_city = $post->post_city; } if($post->post_region) { $post_region = $post->post_region; } if($post->post_zip) { $post_zip = $post->post_zip; } if($post->post_country) { $post_country = $post->post_country; } } $search_array = array( '[#jaz_address#]', '[#jaz_city#]', '[#jaz_region#]', '[#jaz_zip#]', '[#jaz_country#]', ); $replace_array = array( $post_address, $post_city, $post_region, $post_zip, $post_country ); $message = str_replace( $search_array, $replace_array, $message ); return $message; } add_filter('geodir_sendEmail_message', 'geodir_alter_email_message', 10, 11);
Let me know how that goes.
Thanks
-
AuthorPosts