Replies
- Brajesh Singh on June 13, 2022 at 11:20 am in reply to: [Resolved] Text automically added to the Multiline text field – “TRANSLATE with X…” #45351
You are welcome.
I am glad you resolved it. Thank you for sharing the details. It may help others.
Regards
Brajesh You are calling it too early. Try calling it after init or even better bp_actions hook.
Regards
BrajeshHi Quint,
Thank you for the feedback.The Circle is like twitter lists/circles. It is like a list of users and the ability to see updates from them if the underlying platform/theme(BuddyPress/BuddyBoss) allows filtering activity.
That’s why it is behaving in this manner.
Regards
BrajeshHi Tosin,
This is doable but these are all steps in wrong direction.You should try to troubleshoot and try to find the root issue. That will save you from a lot of troubles in future.
Regards
Brajesh- Brajesh Singh on June 13, 2022 at 12:51 am in reply to: [Resolved] GROUP TABS: Remove need for Admin to See Tabs #45331
Hi Dianne,
Thank you for the patience.Please upgrade to 1.2.3 and in the “Enabled For” section, Please select “None” that will hide the tab completely.
Regards
Brajesh Hi Tosin,
It is fine to use the flush rewrite rule son theme change or some action which done not happen too frequently.
Also, My suggestion for you will be to find out the real culprit. Putting patches like this will lead to a fragile and unstable/unpredictable code.
Regards
BrajeshHi Silvana,
Thank you.Please consult your theme author. They might have some BuddyPress specific customizations which is leading to this.
the plugin is working fine for BuddyPress default template packs.
Regards
Brajesh- Brajesh Singh on June 13, 2022 at 12:14 am in reply to: [Resolved] Approval required prior to group creation #45325
Hi Nik,
You are welcome.oops, I mean, you add a flag(meta key) and use that to filter the list of groups.
Regards
Brajesh - This reply has been marked as private.
It’s a bad idea.
1. You should never flush rewrite rules on each request. That will hit the performance badly.
The last one is slightly better but still not recommend. why do you want to automate the permalink structure on theme activation?
It will take only 30 second to update it manually.
If you still want to do it, here is a cleaned version of your last one
function set_custom_permalinks() { if ( get_option( 'permalink_structure' ) ) { return; } global $wp_rewrite; // Save permalinks to a custom setting, force create of rules file $wp_rewrite->set_permalink_structure( '/%postname%/' ); $wp_rewrite->flush_rules( true ); } add_action( 'after_switch_theme', 'set_custom_permalinks' );Regards
Brajesh