Search Results for 'buddypress'
-
Search Results
-
I have to hide some nav menus of bp users’ profile page from other users. I using the following function to do so. That was working fine.
/* BuddyPress profile nav menu restrictions */
function bpex_hide_profile_menu_tabs()
{if (bp_is_active(‘xprofile’)) :
if (bp_is_user() && !bp_is_my_profile()) {
// BP’s profile main menu items. Comment those to show.
// bp_core_remove_nav_item( ‘activity’ );
// bp_core_remove_nav_item(‘profile’);
bp_core_remove_nav_item(‘friends’);
bp_core_remove_nav_item(‘groups’);
// exist only if you use bbPress
bp_core_remove_nav_item(‘forums’);
// bp_core_remove_nav_item(‘activity’);
bp_core_remove_nav_item(‘following’);
bp_core_remove_nav_item(‘followers’);
bp_core_remove_nav_item(‘bookmarks’);
bp_core_remove_nav_item(‘activity’);// BP’s profile main menu items. Comment those to show.
bp_core_remove_subnav_item(‘activity’, ‘personal’);
bp_core_remove_subnav_item(‘activity’, ‘friends’);
bp_core_remove_subnav_item(‘activity’, ‘groups’);
bp_core_remove_subnav_item(‘activity’, ‘following’);
bp_core_remove_subnav_item(‘activity’, ‘feed’);
}
bp_core_remove_subnav_item(‘activity’, ‘mentions’);
bp_core_remove_subnav_item(‘activity’, ‘favorites’);endif;
}
add_action(‘bp_init’, ‘bpex_hide_profile_menu_tabs’, 15);I have this navigation menu for the bp user on the header by default. When I am viewing other’s profiles the nav menus inside the user’s header menu also get hidden.
Is there any other ways to do this.
I am using the latest version of WordPress 5.4.2, BuddyPress 6.0.0, and BuddyX Theme 1.3.7.
Hello,
I am working on a subdomain for a client: https://forum.secretsofpakistan.com/
I put a few public Groups on the Homepage, but I can only click on them when I am logged in to the WP site.
When I am logged in, I can visit https://forum.secretsofpakistan.com/groups/uk-nationals-in-pakistan/ e.g. but whoever is not logged in will land on the Homepage of the website.
I already went to Settings – Permalinks and selected “Post Name”.
WordPress Version 5.4.2
BuddyPress Version 6.0.0
Theme AardvarkDoes anyone has an idea how to make the Group pages visible for non-logged in visitors?
Hi,
I am using this code to pull social links from xprofile fields into the users profile header:
function bpfr_socialize_profile () {
echo '<br>'; // don't remove !
if ( $data = bp_get_profile_field_data( 'field=Twitter ' ) ) :
?>/" target="_blank" title="Twitter"><i class="icon-twitter"> </i>Test Twitter
<?php endif;
I am looking to do the same but with custom urls. So for instance if they type in Buddypress.org, that text will appear in the header and link to the website. I am no coder and with a few tweaks of above code, I can get it to show the url, but only with the text that I choose myself displayed in </i>Test Twitter. I want the text which the user types in to appear. I have searched some tutorials and tried a few different options but nothing works, I wish I could code! 😀 Hopefully this is easy enough. Can anyone help?
EDIT: If its easy enough, I would prefer the text to show in a form of a button, but text will do for now.
Thanks in advance.
Chuck.
I am trying to figure out how to get the excerpt from a blog post to appear in the BuddyPress activity stream without displaying the Divi Shortcode. I wrote to Elegant Themes and they want me to add yet another plugin. My website is already plug-in heavy and I am trying to avoid future conflicts. I am sure there must be a simpler fix.
You can see an example of what I am talking about here: https://www.notyouraverageamerican.com/activity/
Scroll down to the post Your Ecuador Pre-Trip To-Do List.
PS – I am not a coder.
Hi,
Is there a way to stop users being able to tick the checkbox and use weak passwords while updating their password through BuddyPress? I have googled and found various answers of how to enforce strong passwords, and also code to remove the option to allow it, but for WordPress, not specifically BuddyPress. However, none of the things I have tried have worked.
I’m even struggling to hide it uses CSS and using !important as it is overridden.
I am using the latest WordPress/BuddyPress and the Woostify theme. My website is https://segauniverse.com, however you need to be registered to access BuddyPress (under Community/SEGA Chat).
I don’t want users to be able to select a weak password, as they can select a 1 letter password or basic word, and i think this is a security risk.
Thanks
WordPress 5.4.1
BuddyPress 6.0.0
Site: http://84.107.187.34/upfrogI managed to make the activity stream multi column with third party software “Masonry” (https://masonry.desandro.com).
The problem I’m facing is calling the masonry-script after the activity stream is completely loaded. For now I used a timeout function to get it working:setTimeout(function(){ $('.activity-list').masonry({ // options itemSelector: '.activity-item', columnWidth: 300 }); }, 3000);Can anyone tell me how to call the script the right way?
Thanks so much in advance and with kind regards,
PeterHello everyone,
I want my users to see the groups alphabetically sorted.
https://buddypress.org/support/topic/sort-groups-alphabetically-by-default-bp-1-2/
I found a topic about it from 10 years ago and followed the solutions in here.
I basically reordered the options in the php file. and It worked to some extent.
When I type the link in my browser : https://example.com/members/me/groups , I can see the alphabetical ordering. But when I try to explore another user’s groups, I still see the previous ordering.
Does anyone know how I can fix it?
Cheers.