Search Results for 'buddypress'
-
Search Results
-
Topic: Including Own Posts in Email
Hi,
First of all, thanks for a great plugin!
I would like to include members’ own posts in their email digests. Is there a way to hook into some sort of setting to enable this by adding some code in function.php or similar? I wasn’t able to find any documentation on this for the current builds of bbpress or Budddypress.
Site: ExumaNet.com
Theme: Twenty Seventeen (child theme)
Wordpress Version: 4.8
Buddypress Version: 2.8.2
BBpress Version: 2.5.12Related Plugins Installed:
BuddyPress Group Email Subscription
AsynCRONous bbPress SubscriptionsBy the way, this forum of the site is member’s only. Please provide a non-public channel and I’ll send you login and pw information.
Oh my god right now…I just spent about 6 hours and visited just about every single page with codes and css to get ride of some of my profile links/tab things….broke my site at least one time…but FINALLY I have the solution so I am posting it here for the other poor souls like myself…you’re welcome.
He uses CSS and its perfect and simple and doesn’t give 505 codes :/…
a#user-settings, a#user-friends, a#user-groups{ display:none !important;}
He also gives another way to do it permanently but we have decided to leave our functions folder alone for at least 48 hours…BTW…when you are editing for buddypress, which functions.php do you edit? Do you edit the theme functions or the wordpress functions or the buddypress functions…because at least one other site said the theme function, but if you change your theme, you obviously lose the fix.The other sites didn’t specify…so I’d appreciate that tip off if anyone knows..k great thanx :).
I’m filtering the activity stream to only reflect friends/BuddyPress members (along with only new topics and replies) as follows:
/* Filter Activity Stream to only display new topics and replies */
function gk_filtering_activity_default( $query ) {
if ( empty( $query ) && empty( $_POST ) ) {
$query = ‘action=bbp_topic_create,bbp_reply_create&scope=friends’;
}
return $query;
}
add_filter( ‘bp_ajax_querystring’, ‘gk_filtering_activity_default’, 999 );However, I’m still seeing the members count in the “All Members” tab showing all users in the system, rather than just friends/BP members.
Is there a recommended approach for filtering that number in the same way? I found the ‘bp_get_total_member_count’ filter, but I’m not finding a clear path for getting the right count.
Thanks,
JohnHi. I am playing with BP rest API. I have bp version 2.6.2. I understand that for authentication, the WP REST API – OAuth 1.0a Server is needed. So I have installed it and have it working. After some debugging, I found WP correctly updates the user info, but buddypress does not get that information. And thus, for bp the user id is always 0. So bp_loggedin_user_id returns always 0. Is there something I am missing? Does buddypress or the rest plugin need to do any checking to work with the oauth server? Thanks!
Topic: BuddyPress Ajax Tabs
i would like to inquring about how to activate the ajax in side menu tabs to changing the content without reload the page.. i know that this topic have been posted like ahundred time but i’m trying to figure a solution but i couldn’t so any help??
Topic: Php errors on the home page
Hi we have BuddyPress installed is a site we are helping to develop. We did not set up the site so we are working with not knowing all the answers about how everything was set up.
We first had an issue where the home page was not showing when BuddyPress was active. We updated WordPress and the other plugins and when we did that we got an error like this
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 524288 bytes) in /home/content/p3pnexwpnas10_data02/50/3590950/html/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php on line 811
We have tried turning off all the plugins to see if any are interfering with BP but that only caused different errors We have not tried changing themes, not having developed the site we want to see if there are any suggestion here before we start changing themes and altering other plugins.
Wordpress is up to date
Thanks
JimIn the hope that the topic is inserted into the correct forum (i’m first time here and i’m little confused to be honest, in case so, please change this topic node location) …
I’m checking the buddypress code into class-bp-xprofile-field.php because i need profile fields data when profile fields are updated by user, and i see three actions about profile fields update (there are more, but i need these) which are:
xprofile_group_after_save, xprofile_field_after_save and xprofile_updated_profile. This last one is the only one that work. And i’ll go using this so, but asking to myself if there is any reason why, the other two instead fails?function action_xprofile_updated_profile( $user_id, $posted_field_ids, $errors, $old_values, $new_values ) { // work fine }; // add the action add_action( 'xprofile_updated_profile', 'action_xprofile_updated_profile', 10, 5 ); // define the xprofile_group_after_save callback function action_xprofile_group_after_save( $array ) { // not work }; // add the action add_action( 'xprofile_group_after_save', 'action_xprofile_group_after_save', 10, 1 ); // define the xprofile_field_after_save callback function action_xprofile_field_after_save( $array ) { // not work }; // add the action add_action( 'xprofile_field_after_save', 'action_xprofile_field_after_save', 10, 1 );I’m getting a javascript error when trying to hit the ‘reply’ link from user profile activity feeds. The reply link works fine on other pages (such as after following the ‘View Conversation’ link), but on a user profile only this link is returning a javascript error:
Uncaught TypeError: Cannot read property ‘slice’ of undefined
at String.<anonymous> (jquery-scroll-to.min.js?ver=2.8.2:1)
at Function.each (jquery.js?ver=1.12.4:2)
at HTMLBodyElement.<anonymous> (jquery-scroll-to.min.js?ver=2.8.2:1)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at a.fn.init.a.fn.scrollTo (jquery-scroll-to.min.js?ver=2.8.2:1)
at Function.a.scrollTo (jquery-scroll-to.min.js?ver=2.8.2:1)
at HTMLDivElement.<anonymous> (buddypress.min.js?ver=2.8.2:1)
at HTMLDivElement.dispatch (jquery.js?ver=1.12.4:3)
at HTMLDivElement.r.handle (jquery.js?ver=1.12.4:3)So I imagine it’s some sort of conflict with another plugin or my theme. I just need to figure out how to resolve it. It’s a bit odd that it works everywhere else on the site except for from a user profile page.
Thanks for any help in advance.
Topic: Changing posts to rates
Hi,
First of all, i apologize for my english, i’m a french guy and everyone knows that french people aren’t the best in languages.
I would like to change the posts in the activity stream and in groups to rates, let’s me explain :
I would like people to be able to choose a product (nothing commercial) on a list or to add one, and to rate it.
This function would change the posts type, the way people couldn’t enter any text or commens things, only rate.Of course, i am introduced to php developement but, i just met BuddyPress and i couldn’t understand the way it’s done.
Thank you for any answer or time used to help me 🙂
Topic: PROFILE HELP
Hey buddypress community !!
Background: I DO NOT KNOW AN AWFUL LOT ABOUT BUDDYPRESS, I’M A NEWBIE 🙂
I have an idea in mind, but it requires me to create profiles for a lot of people, profiles for almost all the students in my school to be exact. Thus my first questions is going to be…
How many profiles am I able to make with buddypress on my website, enough for a school community ?
Is it possible to create PREMADE accounts for all these people (students) ?Secondly, I heard you can put activity streams on here (just like on facebook i’m pressuming?), which leads me to my second question…
When people post on the main stream, is it possible for them to post anonymously BUT still logged into their accounts ? Just like ask.fm if anyone remembers that.
Thank you very much in advance !!! 🙂