Search Results for 'buddypress'
-
Search Results
-
I am working on a buddypress group types plugin… I am letting the preset group types in the admin…. The first version of the plugin will add no more functionality it will only just save the selected group type upon creation (when user creates a new group), but in future version I would like to allow the admin to let certain group types to either disable or enable certain plugins from running in certain group types….
Now in order to future proof the plugin where should I be storing the data for the admin….. Which type a group is is already stored in bp group meta… But for what group types exist sitewide should I be storing a plugin table made when the plugin is activated or is there somewhere else I could be storing it at…
I have been trying to figure this out for some time.
I have a wordpressmu install with buddypress running at unfilteredmma.com and when a user goes to post in our forum (unfilteredmma.com/forums) some are not able to do so.
I have gone through the user list and some users are not active. Is there a way set them to activate automatically like they do on the wordpress side?I previously reported that the BuddyPress /forums page (“Group Forums Directory”) was crashing due to memory limit errors on a BP Forum that had 20,000+ topics.
I kept bumping it up until I finally got the page to render at a memory limit of 200M. The problem is the function bp_get_forum_topic_count is causing massive memory requirements and timeouts. This function that displays the total number of topics in the tab: “All Topics (23,466)” Even with the memory limit high enough, bp_get_forum_topic_count takes a good 4 seconds to generate that number (on a VPS that otherwise pulls up pages in a fraction of a second) so I’m not keen to use this function on page that’s going to be pulled thousands of times per day.
So now I’m wondering why this function even exists?? The weird thing is that bp_forum_pagination_count() performs a similar function directly below the All Topics tab (“Viewing topic 1 to 20 (23,466 total topics)”) and that function is instantaneous; no waiting. This function works by calling another function to generate the total topic count: bp_core_number_format( $forum_template->total_topic_count )
Pretty sure this should be filed as a bug but wanted to see if anyone else had thoughts on this? Given that total_topic_count is already stored in the $forum_template, is bp_get_forum_topic_count a dog that serves no purpose and causes massive memory issues to boot?
I currently use ning for a client and was interested in setting buddypress for them and had a few question as to the functionality.
1. Right now each user can add/upload photo albums to their profile and groups as well as individual photos. Is this possible with buddypress and how?
2. Is there a plugin or something in the back end to randomly display all photos in a slideshow type format or even just an album for all users to see on the front end.
3. I was looking at the user profile page and wanted to know if theres a way to make it a little more robust like ning and have more user info on their profile page example. http://www.doodlekisses.com/profile/Nitz
I like how the menu toolbars remain static while users on the example can change the background.Thanks in advance,
KenHello everybody,
I’am currently trying to hide the @mention function to users of my website. So i’ve put the following code in the “bp-custom.php” file :
function modify_bp_core_hide_mention_item(){
global $bp;
bp_core_remove_subnav_item($bp->bp_nav, $bp->bp_options_nav);
}
add_action(‘bp_activity_setup_nav’,’modify_bp_core_hide_mention_item’,0);It seems to work well, the “mention” navigation menu is hidden.
But i have one problem left. There is still a reference to the mention function on the “notifications settings” page, which asks the user if he wants to have an email sent when someone mention him somewhere with the @mention function.
I’ve found out that this display is made by the function “bp_activity_screen_notification_settings” in the “bp-activity.php” file, which basically just prints a table and then is added to the “bp_notification_settings” hook :
add_action( ‘bp_notification_settings’, ‘bp_activity_screen_notification_settings’, 1 );So my question is : shall I remove this action and write another function which doesnt display the mentions settings ? or is there any better solution ?
Oh, i’ve forgot to say that i’m a new buddypress/wp user

Thank you in advance, any help is welcome.
Hi Im using the latest version of buddypress and WP 2.9.2 not wopmu and have been search for facebook connect plugins and experimenting with them as well. I haven’t had really any luck.
I’m using buddy press with the atahualpa 3.5.1 theme with a lot of success…however, I just wondered if there was a way to connect with facebook connect that automatically creates a user that has an automatic buddypress profile that they could edit just like registering via buddypress registration.Or, at the very least be able to post comments and join groups, etc.
Am I just not looking in the right place, or does this sort of thin not exist?thanks a lot for any help!
Topic: Disable Activation Email
I’m getting spammed and have identified that they are using bots to create member accounts, then using the activation email to validate (typically with .info domains).
Does anyone know how to disable sending the activation email in a plugin? WPMU 2.9.2, BP 1.2.2.1
I have adapted the manual-member-approve plugin written by Matt Kern to work with BuddyPress and I have added the ability to “activate”, “send activation email”, “delete from wp-signup”.
Basically just doing a manual approval process since spammers are easily identifiable, but I want to disable the automatic sending of the activation email…
Thanks in advance.
WPMU 2.9.2
BuddyPress 1.2.4I need admins to activate newly registered users, not the users themselves. I haven’t been able to come up with a working plugin – probably because I’ve got MU and BuddyPress both running on my “members only” site.
I’ve modified the bp-core-signup.php file to send an e-mail to the user without the activation link and added an e-mail to the admin e-mail with the activation url. However, the user still ends up with the only e-mail, and it contains the activation url. Furthermore, the e-mail comes from noreplay@ which means that WP thinks I don’t have an admin e-mail set, which is not the case (I have one set).
bp-core-signup.php (originally)
Code:function bp_core_signup_send_validation_email( $user_id, $user_email, $key ) {
$activate_url = bp_get_activation_page() .”?key=$key”;
$activate_url = clean_url( $activate_url );
$admin_email = get_site_option( “admin_email” );if ( empty( $admin_email ) )
$admin_email = ‘noreply@’ . $_SERVER[‘SERVER_NAME’];$from_name = ( ” == get_option( ‘blogname’ ) ) ? ‘BuddyPress’ : wp_specialchars( get_option( ‘blogname’ ) );
$message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
$message = sprintf( __( “Thanks for registering! To complete the activation of your account please click the following link:nn%snn”, ‘buddypress’ ), $activate_url );
$subject = ‘[‘ . $from_name . ‘] ‘ . __( ‘Activate Your Account’, ‘buddypress’ );/* Send the message */
$to = apply_filters( ‘bp_core_activation_signup_user_notification_to’, $user_email );
$subject = apply_filters( ‘bp_core_activation_signup_user_notification_subject’, $subject );
$message = apply_filters( ‘bp_core_activation_signup_user_notification_message’, $message );wp_mail( $to, $subject, $message, $message_headers );
}bp-core-signup.php (my modification, not working)
Code:function bp_core_signup_send_validation_email( $user_id, $user_email, $key ) {
$activate_url = bp_get_activation_page() .”?key=$key”;
$activate_url = clean_url( $activate_url );
$admin_email = get_site_option( “admin_email” );if ( empty( $admin_email ) )
$admin_email = ‘noreply@’ . $_SERVER[‘SERVER_NAME’];/* START MOD */
$from_name = ( ” == get_option( ‘blogname’ ) ) ? ‘BuddyPress’ : wp_specialchars( get_option( ‘blogname’ ) );
$message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
$message = sprintf( __( “Thanks for registering! And admin will confirm your membership.nnYou will receive a separate e-mail after this confirmation.”, ‘buddypress’ ), $activate_url );
$subject = ‘[‘ . $from_name . ‘] ‘ . __( ‘Activate Your Account’, ‘buddypress’ );/* Send the message */
$to = apply_filters( ‘bp_core_activation_signup_user_notification_to’, $user_email );
$subject = apply_filters( ‘bp_core_activation_signup_user_notification_subject’, $subject );
$message = apply_filters( ‘bp_core_activation_signup_user_notification_message’, $message );wp_mail( $to, $subject, $message, $message_headers );
/* END MOD *//* START ADD */
$from_name = ( ” == get_option( ‘blogname’ ) ) ? ‘BuddyPress’ : wp_specialchars( get_option( ‘blogname’ ) );
$message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
$message = sprintf( __( “New registration request fromnnUsername: %snnE-mail: %snnPlease confirm by clicking the link below:nn%snn”, ‘buddypress’ ), $user_id, $user_email, $activate_url );
$subject = ‘[‘ . $from_name . ‘] ‘ . __( ‘Activate Your Account’, ‘buddypress’ );/* Send the message */
$to = apply_filters( ‘bp_core_activation_signup_user_notification_to’, $admin_email );
$subject = apply_filters( ‘bp_core_activation_signup_user_notification_subject’, $subject );
$message = apply_filters( ‘bp_core_activation_signup_user_notification_message’, $message );wp_mail( $to, $subject, $message, $message_headers );
/* END ADD */
}So, after I submit a test registration, I get an with the information below:
[blockquote]
from Members Only <noreply@domain.net>
to user@domain.com
date Thu, Jun 3, 2010 at 3:42 AM
subject [Members Only] Activate Your Accounthide details 3:42 AM (3 minutes ago)
Thanks for registering! To complete the activation of your account please click the following link:
http://members.domain.net/activate?key=xxxxxxxxxxxxxxxx
[/blockquote]Could someone help me by directing me to a plugin or some way to change my code so that I’m able to restrict registration to admin approval?
Leaving a comment inside a bracket will not show up in the activity stream of buddypress.
wordpress comment shows: this is a test comment for [testing123]
buddypress activity shows: this is a test comment for
Anyone else having this problem?
[wordpress2.9.2+buddypress1.2.4.1]