Search Results for 'questions'
-
Search Results
-
Hi,
I did not want to show some things in the activity stream. After searching a long time I did find a snippet what did work.
function bp_activity_dont_save($activity_object) { $exclude = array( 'bp_doc_created', 'bp_doc_edited', 'bp_doc_comment', 'bbp_topic_create', //bbpress 'bbp_reply_create', //bbpress 'created_group', 'joined_group', ); // if the activity type is empty, it stops BuddyPress BP_Activity_Activity::save() function if (in_array($activity_object->type, $exclude)) $activity_object->type = false; } add_action('bp_activity_before_save', 'bp_activity_dont_save', 10, 1);
Is this the best way to do this? Or do you have a better sollution?
I cannot find the right term to exclude when someone updates in a group, does someone know that one?Then, I want to get rid off the options in the drop down menu on the activity stream. I did find some code what almost did the trick.
`add_filter( ‘bp_get_activity_show_filters_options’, function( $filters ) {
unset( $filters[‘bp_doc_created’] );
unset( $filters[‘bp_doc_edited’] );
unset( $filters[‘bp_doc_comment’] );
unset( $filters[‘bbp_topic_create’] );
unset( $filters[‘bbp_reply_create’] );
unset( $filters[‘created_group’] );
unset( $filters[‘joined_group’] );
unset( $filters[‘updated_group’] );
return $filters;
} );I think there should be a better way, so I hope someone can advice me with this.
Now i have a strange thing. The Forum topics and replies are not visible anymore in the dropdown so thats good.
The group creation and the group joining are not visible anymore so thats good.
I cannot find the group update term. Does someone know what Term i need?
And, the bp docs are still visible. This is strange because they are not showing anymore in the activity feed, but i cannot get them out of the dropdown menu.
Can someone help me to achieve this? Or give me a better sollution??
Sorry for any bad English
Thanks in advantage
Good day all!
I have a request to use a third party hosted membership database with specific group levels required to use the BuddyPress/Youzify platform we have created.
Instead of sending an invitation email, we would like to “automagically” register and create the profiles of these users with their information AND credentials from the membership database.
Is this possible? If so, please provide a basic layout of the steps. I can get the database info into any form desired, but what process would I use to create and populate profile info and credentials?
Thanks in advance, and I will answer any additional questions if you have them.
Wishing you Peace Profound
I’m creating a new BuddyPress site that will be primarily organized around Groups. Each Group will represent a city, and each Group needs to have multiple Forums (such as for neighborhoods within the city). Two questions, please:
1) How do I create multiple Forums for Groups? When I set up a new Group, it asks if I want the Group to have a Forum. But it says nothing about having more than one Forum.
2) I’m confused about the difference between a BuddyPress user registration and a BBPress Forum user registration. Do I need both? Does the Forum registration just register them for one Forum, or for use of the whole BuddyPress site? If they register in BuddyPress, do they also need to register to take part in a Forum?In general, I don’t understand why BuddyPress and BBPress are separate plugins. It would make a lot more sense (and be less confusing) if they were all in one plugin, wouldn’t it?
Hi guys,
we have a big networks which keeps growing and growing – currently 20k users and still going strong. We want to try to tweak and improve every tiny screw / setting and we are just optimizing the database. Because: The DB is already 1.5GB and it’s growing fast.
We identified a LOT of “default” metadata with every update / activity / post, hence this questions arise, I dig deep already 🙂
1. Is it safe to delete the activity data where _link_embed=0 and _link_preview_data=”” (empty)? It comes for EVERY activity. 60% of ALL 100k activity rows are those “default” settings.
2. Is it safe to delete the meta-data for sent messages which do NOT have a media, e.g. gif_raw_data or _gif_data or bp_media_ids empty values? In wp_bp_messages_meta
3. Wouldnt it be possible to convert ALL userid fields (in messages, activity, users, friendship etc tables) to INT instead of BIGINT? This would reduce storage, index sizes, index scan time etc … We will never have 4 million of users…
4. Would it do any harm when deleting “deleted” messages? I.e. messages from wp_bp_messages_messages where Subject==”Deleted” and message empty?
5. Is it really necessary to store the subject of a message thread redundently? So for one thread within wp_bp_messages_messages we sometimes have 50 entries, all with the same subject.. (varchar…)
6. the table wp_postmeta grows huge, because unfortunately, all uploaded attachements are handled as posts, hence quite some plugins like WPML or ELEMENTOR hook into it and save their metadata for every damn single uploaded attachement 🙁
Thanks so far, hope we can get a really good discussion going here!!!!
Hello all,
I am working on a site called for record collectors- https://recordcollectorsoftheworldunite.com/
This site has a database of records. I’d like to add functionality to give users a “Wantlist” and a “Have list”. I’d like them to browse through records and click “I have this” or “I want this”. That will then update their “Wantlist” and “Have list” in their profile area. I’ll also need to figure out how to add “Wantlist” and “Have List” as pages in their buddypress account.
So the two questions are:
1. How can I have a button on my website add to a users’ buddypress account? (When they click “I want this”, how do i add it to their “Wantlist”?
2. How do I add buttons/sections of their account so that they can access this area of their account?Thanks so much for the help!
Topic: awpcp and buddypress
there are few questions for you guys:
1) if u have multiple memberships plugin and if some one register using (membership plugin x) which is paid membership for example, can the user use buddypress (which) is free to log in?
2) both membership plugin x and buddypress have register and login and so one, which will be effective?Hi all,
I’m trying to modify the BuddyPress activity loop for my BuddyBoss site. I have quite a specific outcome in mind, but any help towards attaining this will be very welcome. I have a rough idea of most of the moving parts but I’m finding it difficult to pull it all together so any help would be greatly appreciated.
I’m trying to make a loop that shows forum replies and discussions which have an image uploaded to them and are posted with a specific word or hashtag.
I have two major questions:
1. Does anybody have an example of a working loop which could be placed into a PHP shortcode creator so I can experiment with the different things the loop can be modified to show? I’m having trouble even creating a working loop right now.
2. I know I can search through loops via keyword to filter out the hashtag, but is anyone aware of how to only return replies or discussion posts with images attached/uploaded? I can’t seem to work this bit out.
Any information very much appreciated.
Thanks in advance!
I have two questions:
1 Is it possible to redirect registration to the root blog of WP multisite? (BuddyPress is network active and root blog is in the main site of the WP installation.)
2 Is it possible to disable BuddyPress on one site (blog) in the network?
Hello,
I was wanting to create a button link in elementor to the BuddyPress user view profile page. I’m struggling to find the correct info.
There’s basically a link field in elementor available just like this https://pasteboard.co/JI8WdfI.png
The closest I found was the following:
https://buddypress.org/support/topic/logged-in-user-profile-link-url/
https://wordpress.stackexchange.com/questions/35163/add-buddypress-profile-and-messages-link-to-wordpress-menuUsing Ocean WP theme, Buddypress 7.1.0 (v latest at time of post)
Kind regards