Load more use the Heartbeat API who refresh the activities each 5 minutes.
In BP 2.0.1, if you search for heartbeat, the result is:
Search “heartbeat” (57 hits in 6 files)
bp-activity/bp-activity-filters.php (25 hits)
bp-activity/bp-activity-functions.php (5 hits)
bp-core/admin/bp-core-settings.php (6 hits)
bp-core/bp-core-admin.php (4 hits)
bp-core/bp-core-options.php (9 hits)
bp-templates/bp-legacy/js/buddypress.js (8 hits)
Read the code if you understand it and see what you can do.
If not or if you estimate that it is a bug or needs an enhancement, open a ticket.
It’s a bbpress question ! 😉
And it’s a bad idea, because users will have acces to your media library on the backend. So i warn you to use this option very carefully and allow only trusted users.
You can use this plugin: https://wordpress.org/plugins/gd-bbpress-attachments/
or code yourself by following this example.
I need help with the following BuddyPress install items for my WordPress site:
1) Ensure that the BuddyPress installation is configured properly.
2) Configure user registration to work like this: First, user fills out registration form. Two, upon form submission, an email is sent to the site admin notifying him of the user registration. Three, site admins access a page in WP-Admin (users in the Editors role need to be able to access this page) and approves the user registration. Four, upon approval, the user is auto emailed his login information (no activation confirmation is required) including username, password and a link to the login url and user can login.
3) I would like all the BuddyPress pages to have the location of the /members/ directory (e.g. mysite.com/members/activity/)
4) I need all the BuddyPress pages visible to registered members only (/members/ folder is to be accessed by approved users (step #2) only
5) I purchased the BuddyBoss theme as I wanted to use this look and feel for the BuddyPress pages, however, I later was told that BuddyBoss does not integrate with an existing theme, which my site has and which I need to use. I do not want to use multi site. So, I need the BuddyPress pages styled like this BuddyBoss theme (but not using multi site and integrated into the existing site theme).
If you could please let me know the estimate for the number of hours of work, your rate, and your track record of performing customizations like this in the past, I can make a selection for the job and would like to start asap.
Thanks
Getting Below warring message.. i cant add post and cant see also …
Warning: Division by zero in /wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 783
Line No 783 : is
if ( ! empty( $activities_template->pag_page ) ) {
$remaining_pages = floor( ( $activities_template->total_activity_count – 1 ) / ( $activities_template->pag_num * $activities_template->pag_page ) );
}
Full function of above :
/**
* Return true when there are more activity items to be shown than currently appear.
*
* @since BuddyPress (1.5)
*
* @global object $activities_template {@link BP_Activity_Template}
* @uses apply_filters() To call the ‘bp_activity_has_more_items’ hook.
*
* @return bool $has_more_items True if more items, false if not.
*/
function bp_activity_has_more_items() {
global $activities_template;
$remaining_pages = 0;
if ( ! empty( $activities_template->pag_page ) ) {
$remaining_pages = floor( ( $activities_template->total_activity_count – 1 ) / ( $activities_template->pag_num * $activities_template->pag_page ) );
}
$has_more_items = (int) $remaining_pages ? true : false;
return apply_filters( ‘bp_activity_has_more_items’, $has_more_items );
}
I cant add / see my Post … there is Load More link but when click it nothing happen .
domain.com/dashboard and domain.com/member/username
above both page does not works
ALSO what i noted now is … when i am login With Admin account then i can see and post activity ….
But as a new user register ( Subscriber ) on website ..he cant add nor see his activity ( post ) … but his activity can be added and seen by admin of website
below are the version i am using
Its not working on both pages thats ..
WordPress : 3.9.1
BuddyPress : Version 2.0.1
BuddyPress Activity Comment Notifier : Version 1.0.8
BuddyPress Activity Plus : Version 1.6
BuddyPress Friends Only Activity Stream : Version 1.0
pls help me
I did step through the javascript execution and it seems like the nav bar is hidden once line 1504 in buddypress.js in /wordpress/blog/wp-content/plugins/buddypress/bp-templates/bp-legacy/js executes. It looks like this:
jq(‘body’).attr(‘class’, jq(‘body’).attr(‘class’).replace( /no-js/,’js’ ) );
I’m honestly not sure what this line of code is doing and I cannot edit this file as I get a ‘permission denied’ otherwise I would just try commenting it out.
Check your registration in WordPress general setting. Your “anyone can register” button should be checked.
Hello All.
I am running the latest wordpress version and using a lot of buddypress plugins. Everything is runnen great so far except for the avatar upload posibility. In the settings i have put the avatars ON but still it is just impossible to find where to upload the avatar. Even when the user is logged in and goes to his own profile (according of screenshots i have seen) i just dont get the option to upload an avatar.
I have tried the 2012 standard theme and excluded ALL of the plugins except for the buddypress plugin. Still i dont get the option for uploading avatars.
If website is needed: http://www.jspaarwater.nl
Registration is possible without any limits, you can see for yourself.
Hoping to get an answer for this awesome plugin!
@ganzuelo
scrolling down the member page provides a funny elastic effect ! 😉 Really cool, but not what you want of course.
I disabled js on the browser and the effect disapeared immediatly.
So i think there is a js conflict, probably with some of your theme’s script.
check for the elements
`<div class=”col span_3>
<a>
<img alt=”Foxtrot Tango” /> `
You mention salient to be your theme but the source code indicates castle ? Did you rename it for a child theme usage ?
Some script don’t support this…
You use also a plugin to remove the admin bar.
<!--Plugin Global Hide Admin Tool Bar 1.6.1 Build 2014-04-16 Active --->
<!-- This website is patched against a big problem not solved from WordPress 3.3+ to date -->
Huh ?
Don’t know if the second comment belongs to that plugin, but if yes, WP is currently in 4.0 phase, so a 3.3 “problem” maybe solved.
Google to find a simplier solution to remove the toolbar. There is also a easy and light solution in on the WP codex.
add_filter('show_admin_bar', '__return_false'); in theme’s function or bp-custom.php would do the job on front-end !
Don’t use a hammer to kill a fly ! 😉
Ok, I installed wordpress on a free service, so you can see the problem for yourself. When someone leaves a comment, it is not displayed in the stream activities, and activities of custom posts types are not displayed even embedded in the file bp-custom.php in the plugins folder code. As nobody seems to have this problem, it may be me doing something wrong. I can give you administrator credentials in private message if you want.
WEBSITE: http://exovideo.olympe.in/
@webt89 Unfortunately, there are themes with proprietary templating systems that hijacks the loop which allows BP to be compatible with WP themes. There could still be a way around it.
1. https://codex.buddypress.org/themes/theme-compatibility-1-7/
2. Examples of creating a buddypress.php file to customize BP pages -> https://codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/
In your case though, you cannot copy over the page.php source code to your buddypress.php. What you would need to do is get the plain HTML structure of that section and replace some code with the WordPress Loop which includes the_title and the_content.
You could try asking the premium theme author for that simple buddypress.php file which you need to upload to your theme folder in server or hire a developer to do so.
Nothing as far as I know, the installations are identical.
There’s nothing in mu-plugins that relates to BuddyPress and bp-custom.php is not present.
This is a new install on a live server with a standard version of WordPress (3.9.1), not WordPress multisite.
I’ve been reading the support forums for a while, I know its my theme causing the problems. I disabled all my plugins and went to the default WordPress theme and everything worked. So my question is what can i do to fix it. The theme I’m using is Replay by Themex. I can’t view members, send private message, create a group, or use the forums. Any help would be greatly appreciated.
Hello, since version 2.0 (beta included), I have a problem with some component buddypress such as comments, custom posts types, and other things. On previous versions, I did not notice any worries. So I tried to install buddypress on a new installation of wordpress, but the problem is still there. Maybe I forgetting to do something? Note that I work locally. Cordially.
Hi again @pietro_sferrino,
1 – HOW TO ADD A FRONT-END LOGIN FORM. I do NOT want people see the wp-default form for login. I want to show it in a front-end page. Actually, is not a matter of what I want … that is ho it HAS to work
Theme My Login is the plugin to handle that for you. Give it a try here: https://wordpress.org/plugins/theme-my-login/
Point 2 is a little more complicated, yes it can certainly be done but it will require you to create a template. For information on the BuddyPress template hierarchy, see here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
Hello,
I found different answers here on Support, but only one of the two works.
I want to hide span.activity and have put the following in the style.css of my theme and this works
span.activity {
display: none !important;
}
However, I would also hide time-since and placed next code in the css file
span.time-since {
display: none !important;
}
but this has no effect
I use:
Wordpress 3.9.1
Buddypress 2.0.1
bbPress 2.5.4
BuddyPress Groups Extras 3.6.5
BP Group Documents 1.7
rtMedia for WordPress, BuddyPress and bbPress 3.7.2
Theme is Genesis child theme Executive Pro
Can anyone point me in the right direction?
Thanks!
After registering as new user i have acces to the backend of wordpress. How can i solve this:Look Here for a picture.
Hope we can solve this.
Many regards,
Peter
BuddyPress should automatically create registration and activation pages for you. You can check by going to your website. For example example.com/registration or example.com/activate.
To create a WordPress navigation menu and add the activation and registration pages to it, see the WordPress Menu User Guide.
You can either copy over https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-templates/bp-legacy/buddypress/groups/create.php by adding buddypress/groups/ folders and add changes yo want to make after line #185 OR add info by hooking into do_action( 'bp_before_group_invites_creation_step' ); for the Group Invite section in your theme’s functions.php file
change the edit the boxed included by default
@osamanuman just copy over https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-templates/bp-legacy/buddypress/members/register.php into wp-content/themes/your-theme-name/buddypress/members/ folder (create folders if you don’t have them yet) then edit that register.php and save.
if I want to add mission and about us in the same registration page, how can it be done
Any field you create in the “Base” profile field group will show up in registration form. https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/
when admin create a users he is forced to enter a pseudonym
@victord34 you mean a “username”. That is a WordPress requirement for registration, not BuddyPress. But since BP is a plugin for WP, we use those usernames in different instances.
did you read this example in the documentation? https://bbpress.trac.wordpress.org/browser/tags/2.5.3/includes/extend/buddypress/notifications.php
there is a function for that: bp_notifications_add_notification( $args )
I’m running WordPress 3.9.1 multisite. One of the two sites (http://portal.innovteched.com/) has the activated BuddyPress 2.0.1 plugin. The theme is BP Corporate (from WPMU).
All other plugins are deactivated on this site.
For some reason, I cannot use the “login” bar underneath the menu. When I try to login, it redirects to this URL > http://portal.innovteched.com/wp-login.php and won’t work.
What am I missing??
I’m in exactly in the same boat as @kamillamonkey on this one – “It wont change it from the DEFAULT ROLE set in WordPress/Settings/General/New User Default Role [Subscriber].”
I can go in after a new user registers and ‘manually’ switch the user role, but alas, at least for me, I’m not getting the roles assigned based on the user_roles & cases as outlined above when they register.
I’m using BuddyPress 2.0.1 & WordPress 3.9.1
Seems odd that the new user role would not be assigned, as the tutorial/code in @noizeburger ‘s example looks very solid! Any chance this has to do with something new/recent in BuddyPress 2.0.1?
-Jeff