Replies
- Brajesh Singh on November 28, 2015 at 4:00 am in reply to: [Resolved] facebook-like-user-activity-stream Translation #1820
Thank you.
I am glad that the forum is working for you. Checking now and will get back to you in 30 minutes.The generated mo file should be named “fr_FR.mo”
The only translatable string is “Your Activity”. The Other string is taken from BuddyPress translations.
I just checked it again with some translations and It is working fine here. If it is still not working, are you using some type of translation management plugin too? Also, the locale is set to fr in the settings right ?
If nothing works, Please send me the po/mo file on mail and I can check it too for the issues.
Thank you
Brajesh Hi,
1. Globals are not going to be deprecated in PHP 7 and there is little/no chance that it will ever happen.2. Since the code is not complete, I can not guess how you are taking the details from the user.
I am sorry but I am not available for hire at the moment due to my commitments with BuddyDev work. But, Your task seems easy enough to me and you do not need to hire me to get it completed.
Please send me the code on brajesh@buddydev.com and I will send you the updated one. This seems to be small functionality that should not take much time.
- Brajesh Singh on November 27, 2015 at 7:22 pm in reply to: [Resolved] How to Create a Custom Page for Groups? #1815
Hi Chelle,
I am sorry I could not post earlier. Will be posting the plugin tomorrow Indian time.Thank you for your patience.
Regards
Brajesh - Brajesh Singh on November 27, 2015 at 6:21 pm in reply to: [Resolved] BuddyPress content not showing when using MediaPress #1813
Thank you Richard.
It will be helpful for not only MediaPress but other plugins too that adds nested pages on user pages.
Thank you for posting it here, It will certainly help others too.Regards
Brajesh - Brajesh Singh on November 27, 2015 at 6:19 pm in reply to: [Resolved] BP-activity-shortcode: what option value would be blog-titles? #1811
Thank you Hans and Ernesto.
Glad it is fixed 🙂 Hi,
Have you tried thisfunction my_custom_subnav() { global $bp; global $collection_term; $collection_term_slug = preg_replace('/\s+/', '-', $collection_term); // replace spaces with hyphens. $collection_term_slug = preg_replace('/[^A-Za-z0-9\-]/', '', $collection_term); // Removes special chars. $screen_function_name = 'subnav_function_to_show_' . $collection_term_slug; bp_core_new_subnav_item( array( 'name' => $collection_term, 'slug' => $collection_term_slug, /* rest of the code */and make sure that you initialize $collection_term before making a call to
my_custom_subnav()That should work. Can you please give it a try. If you are initializing $collection_term in another function, then declare it global there too. Also, It must be initialized before call to the function.
- Brajesh Singh on November 27, 2015 at 10:46 am in reply to: [Resolved] facebook-like-user-activity-stream Translation #1807
Hi Pellet,
My apologies for the inconvenience. Which strings are you trying to translate? - Brajesh Singh on November 27, 2015 at 9:49 am in reply to: [Resolved] BuddyPress content not showing when using MediaPress #1803
Thank you Richard.
You are right about the cause. I am glad you found it. BuddyPress dynamically replaces actual content with the generated content( and in this case WordPress was regenerating excerpt based on that generated content). the_content() is the right function.use bp_is_user() for conditional testing since it will fix problem with other plugins too.
Hope that helps.
- Brajesh Singh on November 27, 2015 at 12:32 am in reply to: [Resolved] BuddyPress content not showing when using MediaPress #1798
Hi Richard,
Thank you for the update.Yes, if it is still happening with the parent theme then your child themes functions.php is not causing it.
That is a premium theme, so I can not do much for now. Please do take your rest and when you are back, Let us check it on your server and I will troubleshoot it there.
Thank you
Brajesh - Brajesh Singh on November 27, 2015 at 12:01 am in reply to: [Resolved] BuddyPress content not showing when using MediaPress #1796
This code is fine.
As far as I checked on the site, activating other themes make this work but when I reactivated your theme, the page went away.So, It is confirmed that it is some modification in the theme causing this.
Can you please think of any such modifications in your functions.php? or can you please activate the parent theme and see if that works?