Search Results for 'buddypress'
-
Search Results
-
Dear all,
maybe this should be question for core WordPress, so I apologise in advance ๐
I’m importing 100s of users from different non WordPress website to new WP with BuddyPress ๐
The old database has User/Comments/Mentions… all of this is going to be transferred…
So, is there any way I can stop all email notifications (when user is created etc) and all BuddyPress notifications when I transfer the comments with existing @ mentions?
Thanks a lot ๐
Hi,
I’m hoping they’ll be a plugin out there for this but failing that I’m hoping someone will just be able to confirm it’s a possibility. I am currently using a learning management system called Learndash. within this is a buddypress for learndash plugin that shows on a users feed when they have completed a quiz.
I have allocated users to different groups and would like this information to not only show on their personal activity feed (which it currently does) but also on the group feed so it is visible for fellow students and the teacher of the group.
Any advice would be much appreciated
Thanks
EdI need help and although I have 2 domains once .com and .de. These two sides I have installed on my Websever in 2 different folders and installed both the same plugins. I would like to have a possibility to connect both sides. So the buddypress on both sides the same user possesses however one one on .de or .com in the profile go can be without the buddypress only over one domain is callable.
The problem I had namely with the test it as multisite run. There buddypress was then only over the main page, ie the first page attainable and the subdomain which I had with a plugin on .de changed had no buddypress profile.I would like to have the profile with the .de or .com menu bar on top and thus the profiles have to be retrievable on both sides. Is there such a possibility
Topic: Clear WP Errors at Signup
Hi all,
I have customized the way Buddypress registers members by checking to see if the Display Name already exists. If a Display Name is found, I create a new WP error. The problem is, once the user changes their Display Name to something that isn’t found, the error persists when you get the success signup screen. I’ve tried manually clearing it, but not getting any results.
A few details:
Wordpress Version: 4.7.1
Buddypress Version: 2.7.4I’d like to keep my site anonymous if that’s ok.
Here is what I’ve done in the php files to achieve this:
buddypress\bp-members\classes\class-bp-signup.php
public static function add_backcompat( $user_login = '', $user_password = '', $user_email = '', $usermeta = array() ) { global $wpdb; $display_capture = sanitize_title($usermeta["field_1"]); //CUSTOM CODE $display_capture = ucfirst(strtolower($display_capture)); //CUSTOM CODE $user_id = wp_insert_user( array( 'user_login' => $user_login, 'user_pass' => $user_password, 'display_name' => $display_capture, //CUSTOM CODE 'user_email' => $user_email ) );wordpress\wp-includes\user.php
function wp_insert_user( $userdata ) { global $wpdb; /* Lots of code before here... */ if ( empty( $userdata['display_name'] ) ) { if ( $update ) { $display_name = $user_login; } elseif ( $meta['first_name'] && $meta['last_name'] ) { /* translators: 1: first name, 2: last name */ $display_name = sprintf( _x( '%1$s %2$s', 'Display name based on first name and last name' ), $meta['first_name'], $meta['last_name'] ); } elseif ( $meta['first_name'] ) { $display_name = $meta['first_name']; } elseif ( $meta['last_name'] ) { $display_name = $meta['last_name']; } else { $display_name = $user_login; } } else { $display_name = $userdata['display_name']; } //CUSTOM CODE $display_name = ucfirst(strtolower($display_name)); $display_name_check = $wpdb->get_var( $wpdb->prepare("SELECT ID FROM $wpdb->users WHERE display_name = %s AND user_login != %s LIMIT 1" , $display_name, $user_login)); if($display_name_check) { return new WP_Error( 'existing_display_name', __( 'Sorry, that display name already exists!' ) ); } /* Lots of code after here... */ }This successfully checks for the existence of a display name already in the database. It displays an error like it should and doesn’t allow the user to register. Now the only issue, how to clear the error when the user changes the display name to something not in the database?
As stated earlier, once the error occurs, it will persist through to the success message. I’ve confirmed that the error does not occur if the user selects a display name not currently being used on the first registration attempt.
I appreciate your time and help, thank you.
Topic: bp commands in other files
I’d like to use BuddyPress commands (example: <? php bp_displayed_user_avatar (‘type = full’);?>) also in any other file / pages, which there aren’t in BuddyPress directory, but in other folders such folders of some plugins … it is feasible? if so how can I do?
Topic: Private Messages
Hello,
Is there a way to remove e-mail IDs and consecutive numbers from private messages sent between users?
This code was found online for email IDs. Can someone please advise? Thank you in advance.
/*remove email addresses from private messagesBuddypress remove email id from private messages
*/ function wdw_remove_email_from_private_msg($message){ $replacement = "[removed]"; /*if you dont want any replacement text, replace the above line with $replacement = ""; */ return preg_replace("/[^@\s]*@[^@\s]*\.[^@\s]*/", $replacement, $message); /*the code is short and works in most cases but not full proof. Check http://www.linuxjournal.com/article/9585*/ } add_filter('messages_message_content_before_save', 'wdw_remove_email_from_private_msg'); add_filter('messages_message_subject_before_save', 'wdw_remove_email_from_private_msg');Topic: Drop Down Menu Disabled
Thank you for a great plugin.
When BuddyPress was added to the main menu, while on a front end BuddyPress page, the main menu dropdown does not work. Reading about this online, it was noticed that it’s happened to other people but we have not found a solution. Do you have any tips? Thank you in advance. We love your plugin !
Hi support team,
On this page https://www.beforeplastic.com/members/beforeplastic/share-stories/
A non-logged in user can see the “Add Friend” button
Add friends was disabledAlso displaying is an unpublished post in draft mode. Shouldn’t these be hidden?
I am running wordpress 4.7.1. and buddy press 2.7.4
I am using a non-bundled theme but changing my theme may crash my site so don’t want to risk it.
Is it possible to create a daily private journal for every user on Buddy Press, where they can pen their private notes (and make them public if they want? – like on https://penzu.com/)
If not, is there a Word Press plugin that can do this and work with BuddyPress?
Topic: Guided Activity Posting
That would be great if someone know (or create) a plugin that helps users on their first activity post.
I said this cause I have a free classifieds website running buddypress, and each ad are an activity, so I looking for a way to put a button like “Post Now” in the header, and if the user clicks on that, they will be guided to register, login, write a nice title, send images and posting…etc.Some tip or advice to beat this ?
Hi,
I’m writing a WordPress/Buddypress installation script in bash with wp-cli.
The script installs a few plugins including buddypress.
After installing the plugins, the script needs to get the buddypress pages ids (activity, members, registerโฆ), but it seems that they are created only when the site admin logs in for the first time.
Is there a way to manually register these pages so that I could do this using wp-cli (or simple bash)?Thanks in advance.
regardsHi everyone,
I’m currently developing a BuddyPress plugin that adds moderation to groups creation. Like : a superadmin has to validate any group before it is accessible.
I implemented it using a groupmeta field, trying to be as little intrusive as possible (not sure it’s the best way, though). Most of the mechanism works (creation, moderation, notifications, groups list filtering) but now I’m facing the following problem.
How can I prevent a group from being displayed, based on a groupmeta value ? The goal is : when accessing a not-yet-validated group, users (except superadmins) should see a message “this group is awaiting moderation”, and not have any access to any group information or sub-page.
Filtering the groups list was OK by adding a filter on
groups_get_groups, but for a single group how can it be achieved ?
It seems thatbp_group_is_visible()cannot be filtered / hooked. Anyway, if it is invisible how is it possible to trigger a specific rendering (“awating moderation” message) ?
Adding a filter togroups_get_groupthat returnsnullif the group is awaiting moderation… well.. breaks everything ๐I guess this responsibility could be assigned to the theme, but then what if the admin switches to an incompatible theme ? The whole moderation mechanism would become pointless…
Thanks a lot for any advice !
BuddyPress is a great software.Greetings,
MathiasHello
How can I change the BuddyPress menu (home, forum, groups, …)thank you
Hi everyone,
So, my issue is relatively simple, and I’m sure there is a simple solution. I am using https://www.000webhost.com/ to create a free site that uses wordpress and, by extension, buddypress. My goal is basically to practice with these tools before deciding if I want to make a real site, considering all my site building experience is through other platforms. 000webhost appears lovely at first: I was able to easily create an account, choose a domain name, and then it even had wordpress there as a pre-set option that would auto-install if you so chose. I did it, and it appeared to work flawlessly and took me straight to the wordpress dashboard. However, the second I installed the BuddyPress plug-in, everything went blank. There is still the menu on the left hand side of the screen, but none of the tabs load whatsoever.
Considering I have never used wordpress or buddypress before, this could be a totally simple error on my part, but I couldn’t find a solution just from googling it. And I can’t just play around with it until it works, like I normally do, because there is nothing there to play with. What did I do wrong, and how can I fix it?
Hi,
I used
https://gist.github.com/modemlooper/fb70735dd78de7cd2032to create a new tab on the member page, and inside the tab I added a shortcode to show a user dashboard for another plugin.
My problem is that the admin user dashboard is being shown on all of the buddypress member pages, not just mine (when I am logged in; haven’t tested when I am logged out).
This is how I entered the shortcode:
echo do_shortcode(sprintf (‘[XXX-dashboard author=%d]’, $userId ));Any help would be appreciated.
Cathy
WP 4.7.1
BP 2.7.4