Hi dears,
Anybody knows how to reorder the activity stream buttons? I added “Buddypress Edit Activity” and “Buddypress Activity privacy” plugins and I want the “Edit” button to be before the “Privacy” drop down list.
anybody knows how I can do this?
Thanks
Hope
Yes you can create a single members page that exist at say the same level as standard WP pages and into that bring various elements from the user account to create a sort of single user landing page, doing this will depend on how comfortable with coding you are, as you are starting to get into the realms of custom work here.
BuddyPress certainly is a good fit for many sites along these sorts of lines, but out of the box it can only go so far and has to present a default setup that suits the majority, extending this to provide more custom requirements is possible, but you will need a certain level of skills – the codex is your friend though we have quite a few articles and guides there that will help.
You need to read the BP codex, documentation should always be your primary port of call first, then you’ll have a better idea of what’s possible and how things work. You can copy BP templates over to your theme and create versions that are full template files – as opposed to the normal template file which as you spotted doesn’t have the header or footer parts as they are injected into standard file e.g page,php –
Theme Compatibility
I think though that a better question might be whether it’s possible to address the insecure content issue, rather than just trying to yank out the parts causing the issue.
I have a buddypress login form in my sidebar and when a user types in the password or username wrong they get redirected to the /wp-admin
How can I prevent that from happening?
Hi,
I am trying to link Buddypress to the main navigator. I want it only to show if the user is logged in.
This code does almost what i want. but i cant figure how i can get i to work with buddydrive
add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
function my_nav_menu_profile_link($menu) {
if (!is_user_logged_in())
return $menu;
else
$profilelink = '<li><a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('My Profile') . '</a></li>';
$menu = $menu . $profilelink;
return $menu;
}
Source: https://buddypress.org/support/topic/url-for-menu-to-logged-in-users-profile-page/
Thought I’d post this here in case others are looking for the same solution – and in case I’ve done it incorrectly of course!
What I wanted was to hide the “whats-new-form” in a member’s activity area, so that they can’t post from here, YET to keep it available for everyone in the Groups. The reason is i want to keep all comments within Groups only.
So I put this code into my child theme css;
div#item-body[role=main] form#whats-new-form {
display: none;
}
It seems to have done the trick, once the ‘role’ bit was added in.
If this is the wrong way to disable members to post in their personal activity I’d appreciate some input, as I’m new to BuddyPress.
Cheers.
I have been trying to get help with an issue for weeks, but no one has ever tried to assist me with my problem.
The issue is this: Pages enabled with Buddypress (activity, groups, members) will NOT let me post different widgets on different Buddypress pages. Any widget I try to post on a Buddypress page automatically gets added to all of them (activity, groups, and members pages). I believe this has to do with these pages being classified as “single post pages”. Though I may be wrong, but this is the only box I can click (with the Display Widgets plugin) that causes the widget to appear on the Buddypress page. What do I do to remove these Buddypress pages as single post pages and make them just normal pages? Or what can I do in general?
Please. I really need help with this and no one will help me. Even paid support ignores this problem.
How do I go about preventing the site’s page header and footer areas from appearing on the BuddyPress Register page?
I know how to hide the display of the header/footer using CSS, but that solution won’t suffice for my needs. You see, I’m using SSL on my Login and Registration pages. And the images I have in my header and footer are “breaking” the SSL since they’re deemed insecure content. So I’ve decided that I would just prefer to completely remove the header/footer on the Register page only. But how do I do that?
FYI, I created a custom WP page template that removed any reference to header/footer, but I still see the header/footer appear on the Register page.
Also, I noticed in the register.php file that there’s no reference to get_header( ), so I’m unclear as to why the header is still being displayed when I removed it from the WP page template I’ve associated to the Register page. My site is using BP version 2.0.2.
Please help! Thank you!
After much discussion with @henrywright about his Identicon plugin, I’ve decided to release a new free plugin to address some areas that I think could be of benefit.
The general concept is the same, but there are some key differences.
This plugin:
- uses the existing BuddyPress avatar directory structure
- conforms to the defined sizes for BuddyPress thumb and full avatars
- doesn’t require filtering on every avatar call
- the end result is more high-rez
- provides a usage option on the Dashboard > Settings > Discussion screen
- supports Bulk Generation and storage of avatars via a click in the Dashboard
This plugin is currently in the review queue at the WP repo.
Meanwhile, you can get more info and download it here: PhiloPress.
Do you still have the issue if you use Twenty Fifteen with no plugins activated (aside from BuddyPress)?
@shanebp – Thank you this works really well. Weird, bug though. If you use the text search box, this breaks the pagination (without me editing any of your code). I’m guessing it has something to do with the URL parameters?
?s=examplesearch&members_search_submit=Search
This doesn’t break the pagination on the first page, but on page 2 and then when clicking back to page 1. The label displaying the number of members etc. is wrong and also the number of results per page is then wrong as it displays all results.
Interestingly, is it not possible to pass additional parameters either via members-loop.php? e.g.
if ( bp_has_members( bp_ajax_querystring( 'members' ).'member_type=expert' ) ) :
or via your code in bp-custom.php? I’m thinking I’m getting something mixed up when trying to add these additional parameters. It’s because I wanted to make use of the new ‘member_type’ in the latest version of BuddyPress but using a ‘member_type=exampletype’ doesn’t seem to work.
Theme is BuddyBoss 4.1.5.
Plugins, I have stripped down to the bare minimum, to keep my site somewhat functional (all are updated to latest version):
Akismet
bbPress
BuddyBoss Media
BuddyBoss Wall
BuddyPress
BubbyPress Captcha
BuddyPress Security Check
iframe
Jetpack
Jetpack Only For Admins
Remove Dashboard Access
I even deactivated most of these to strip it down even more and created a new account. Still having the issue.
I’m using the Wild Community theme (which is a BuddyPress integrated theme) and for some reason my nav bar (which has dropdowns to sub-pages of the site) doesn’t work properly. I hover over the nav bar it displays the sub-page information but when I try to click on it/ access those pages they just disappear and I can’t access them (from the nav bar). I was wondering if anyone could help me out with this.
I’m also having BuddyPress issues where I can’t set up user registration properly. I have the fields setup but something with the pages that I direct them to don’t work.
I also am having issues updating the Theme. WordPress is giving me an error message saying the data is already there and it can’t install. I’ve tried figuring it out and just can’t.
If you could please help my site is http://www.themusicbusinessnetwork.org
Thank you!!!
I have a custom post type with custom meta which is submitted via the frontend. Whenever the form is submitted I need to register this in the activity stream. I have had a look around the documentation and using the function bp_activity_add() looks like the obvious solution but in previous forum posts it has been mentioned to use the following code instead:
add_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_custom_post_types' );
function activity_publish_custom_post_types() {
$media = array('videos', 'pictures');
return $media;
}
Can anyone advise which would be the better options and also how to implement the code properly? I am fairly new to both wordpress and buddypress and so do not know whether to add this to the main functions.php file and if so how.
many thanks
I have a custom post type with custom meta which is submitted via the frontend. Whenever the form is submitted I need to register this in the activity stream. I have had a look around the documentation and using the function bp_activity_add() looks like the obvious solution but in previous forum posts it has been mentioned to use the following code instead:
add_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_custom_post_types' );
function activity_publish_custom_post_types() {
$media = array('videos', 'pictures');
return $media;
}
Can anyone advise which would be the better the option and also how to implement the code properly? I am fairly new to both wordpress and buddypress and so do not know whether to add this code to the main functions.php file and if so how.
many thanks
I’ve had this problem for years with BuddyPress updates.
Each time you update BuddyPress you need to get into the habit of going to Settings > Permalinks and clicking on Save Changes (you don’t need to actually change anything, just click Save Changes)!
Hope that helps
@bphelp
While I appreciate your concern on the OP’s topic you should also be aware that most social network admins including the big ones you may be using have access to PM’s as well as IP’s and Internet Service Providers. If your that paranoid about who has access to your data then I suppose the best policy would be not to volunteer it by joining in the first place of course this is just my honest opinion.
Hey bphelp i think you missread what i was getting at bro 🙂
Maybe there should be better ways to give users moderator capability’s that doesn’t mean giving them full admin rights
If you read the quote above from my reply i was talking about vitamincee having to have lots of admins on her site which is what i dont agree with just to do things buddypress related.
If your that paranoid about who has access to your data then I suppose the best policy would be not to volunteer it by joining in the first place of course this is just my honest opinion.
I have to agree with you on this, If a user joins your or any other site he or she has to accept the way it is run in my opinion. And i understand the network admin should be able to see everything that is going on throughout the site incase anything needs to be dealt with. I was just trying to tell vitamincee that she should not hand out admin privileges unless she is 100 percent certain of the user she entrusts with these privileges (one bad egg can make you sick). I do think the way to go rather than give people full admin rights its via role editors which is what i use in all my projects, this way you control with fine detail what a user is allowed to do.
Hello,
please try to search in topics if a similar question wasn’t ask in the past.
hide+admin+in+admin
A possible solution here.
Hello, I want to insert the private message details into another table. I managed to do it by using “bp_after_message_thread_list” hook but the problem here is whenever I refresh the page once again the entry is made into to the table. This is what I need to avoid. How can this be done. Here is my code what I have tried just need to avoid page refresh thing.
function insert_buddypress_message_first(){
global $wpdb, $thread_template;
$from = bp_loggedin_user_id();
$recipients = $thread_template->thread->recipients;
$msg = end($thread_template->thread->messages);
foreach ($recipients as $key => $value) {
if($recipients[$key]->user_id != $from){
$to = $recipients[$key]->user_id;
$sql = ("INSERT INTO private_backup(<code>from</code>,<code>to</code>,<code>message</code>) VALUES ('".$from."','".$to."','".$msg->message."')");
$wpdb->query($sql);
}
}
}
add_action( 'bp_after_message_thread_list', 'insert_buddypress_message_first');
My users are reporting that when they click the activation link that the page is coming up not found. When I go to manually activate their account it says that there is a # pending, but there is nothing in the list.
The first issue, the link, is actually happening on two of my websites.
Both sites are running:
WordPress: Most recent (sorry don’t know the version)
BuddyPress: 2.2.1
BuddyBoss: 4.1.5
Howdy!
Need to show all group fields on user register page. How can I do that?
WordPress (Version 4.1.1)
Buddypress (Version 2.2.1)
Imho, it is a debatable issue. Is the software/program designed such as to allow the admin to read PM only if there is a complaint ? Is it explicit in the terms and conditions that admin can read PM in which case some users may not like to register?
An user should have initial ways of blocking another harassing users like ello.co does rather than admin jumping into read PMs. In some countries it may be illegal or serious breach of privacy issues. Then there are much “grey” areas as to what is “drama” or what is a “legit” complaint.
Also see this and this.
Hi @hipp
Sounds like some accessibility enhancements might be needed to the menu’s markup. I suggest you open a Trac ticket giving the core developers as much info about the problem as you can.
You can use your same login details on Trac.
https://buddypress.trac.wordpress.org