Search Results for 'buddypress'
-
Search Results
-
Hi,
I saw this website under the BuddyPress showcase. http://commons.gc.cuny.edu/groups/digital-humanities-initiative/forum/
And I see that they have the ability to build the forum function within each specific group. The link above is an example.
Do I need a specific plugin for that? If not, how can I configure it so each group forum is specified for each group only?
Thanks
When I try to login to the dashboard it redirects to the home page. There are no other plugins running, When I turn off BP it works. I’ve changed the password, still no go. WP is 3.3.1, BP is 1.5.5.
I want to display the awards from Cubepoints in the Profile > Public tab of BuddyPress profiles. This is the tab that i have chosen as default when visiting someone’s profile and i’d like members to be able to see each other’s unlocked awards directly when doing so instead of having to click Points > Awards to get there.
This is the Cubepoints code for displaying the Awards nav item:
bp_core_new_subnav_item( array( 'name' => __( $cb_bp_awardstitle, 'cp_buddypress' ), 'slug' => $bp->cubepoint->awards_slug, 'parent_slug' => $bp->buddypress->slug, 'parent_url' => $cubepoint_link, 'screen_function' => 'bp_cubepoint_screen_awards', 'position' => 70, ) );Does this code help anyone help me in understanding what i need to do in order to simply get the content of this Awards sub-nav item to show up in the Profile > Public parent-nav item in profiles?
Hey guys,
Right this could be a long shot but here goes…I use the S2 Member plugin to limit access on my website and this changes the way that users sign up – It also has it’s own way of adding new information to the BP Profiles and allows the easy importation of a lot of users at once.
The problem this has posed is that I have a massive field called ‘Business Description’ that I would very much like to be included in the search function within buddypress but as it’s been created by s2Member it currently isn’t.
The information is stored in the wp_usermeta table within wordpress and each row has a user_id, a meta_key which for the values I want to be searchable is ‘wp_s2member_custom_fields’ and then the meta_value is stored in this format:
`a:7:{s:20:”business_description”;s:112:”HERE IS THE BUSINESS DESCRIPTION.”;s:12:”telephone_no”;s:13:”TELEPHONE NUMBER”;s:15:”company_website”;s:0:””;s:9:”address_1″;s:17:”ADDRESS 1″;s:9:”address_2″;s:16:”ADDRESS 2″;s:9:”address_3″;s:9:”Sheffield”;s:8:”postcode”;s:6:”POST CODE”;}`
(I’ve copied this straight from database so the CAPITAL LETTERS are where I’ve omitted sensitive information.)
Right now does anybody now how I can modify the buddypress search function to include this data and provide a link to the correct users profile in the search results?
Many thanks in advance,
LaurieTittle says it all. I’m probably missing something stupid to fix this I use latest version of buddy and wordpress multisite. and I’m testing buddypress default theme. Also group forums are enabled
Hi,
Are there any plugins that will filter private messages between registered users bo buddypress?
Ideally we would like to filter or mask email addresses and telephone numbers being shared between members.Thank you in advance for your help.
(As posted in “Installing Buddypress Forums” Sorry, I didn’t realize I was in the wrong forum.)
Hello, I’ve been looking around for a plugin that will let me allow/deny registration for my BP/WP site.
I am using BP 1.5.5 and WP 3.3,I looked in the core-filters.php and came across the code to send the activation code to the user’s email.
`
/***
* bp_core_filter_user_welcome_email()
*
* Replace the generated password in the welcome email.
* This will not filter when the site admin registers a user.
*
* @uses locate_template To see if custom registration files exist
* @param string $welcome_email Complete email passed through WordPress
* @return string Filtered $welcome_email with ‘PASSWORD’ replaced by [User Set]
*/
function bp_core_filter_user_welcome_email( $welcome_email ) {
/* Don’t touch the email if we don’t have a custom registration template */
if ( ” == locate_template( array( ‘registration/register.php’ ), false ) && ” == locate_template( array( ‘register.php’ ), false ) )
return $welcome_email;// [User Set] Replaces ‘PASSWORD’ in welcome email; Represents value set by user
return str_replace( ‘PASSWORD’, __( ‘[User Set]’, ‘buddypress’ ), $welcome_email );
}
if ( !is_admin() && empty( $_GET ) )
add_filter( ‘update_welcome_user_email’, ‘bp_core_filter_user_welcome_email’ );/***
* bp_core_filter_blog_welcome_email()
*
* Replace the generated password in the welcome email.
* This will not filter when the site admin registers a user.
*
* @uses locate_template To see if custom registration files exist
* @param string $welcome_email Complete email passed through WordPress
* @param integer $blog_id ID of the blog user is joining
* @param integer $user_id ID of the user joining
* @param string $password Password of user
* @return string Filtered $welcome_email with $password replaced by [User Set]
*/
function bp_core_filter_blog_welcome_email( $welcome_email, $blog_id, $user_id, $password ) {
/* Don’t touch the email if we don’t have a custom registration template */
if ( ” == locate_template( array( ‘registration/register.php’ ), false ) && ” == locate_template( array( ‘register.php’ ), false ) )
return $welcome_email;// [User Set] Replaces $password in welcome email; Represents value set by user
return str_replace( $password, __( ‘[User Set]’, ‘buddypress’ ), $welcome_email );
}
if ( !is_admin() && empty( $_GET ) )
add_filter( ‘update_welcome_email’, ‘bp_core_filter_blog_welcome_email’, 10, 4 );// Notify user of signup success.
function bp_core_activation_signup_blog_notification( $domain, $path, $title, $user, $user_email, $key, $meta ) {// Send email with activation link.
$activate_url = bp_get_activation_page() .”?key=$key”;
$activate_url = esc_url( $activate_url );$admin_email = get_site_option( ‘admin_email’ );
if ( empty( $admin_email ) )
$admin_email = ‘support@’ . $_SERVER;$from_name = ( ” == get_site_option( ‘site_name’ ) ) ? ‘WordPress’ : esc_html( get_site_option( ‘site_name’ ) );
$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 and blog, please click the following link:nn%1$snnnnAfter you activate, you can visit your blog here:nn%2$s”, ‘buddypress’ ), $activate_url, esc_url( “http://{$domain}{$path}” ) );
$subject = ‘ ‘ . sprintf(__( ‘Activate %s’, ‘buddypress’ ), esc_url( ‘http://’ . $domain . $path ) );// Send the message
$to = apply_filters( ‘bp_core_activation_signup_blog_notification_to’, $user_email, $domain, $path, $title, $user, $user_email, $key, $meta );
$subject = apply_filters( ‘bp_core_activation_signup_blog_notification_subject’, $subject, $domain, $path, $title, $user, $user_email, $key, $meta );
$message = apply_filters( ‘bp_core_activation_signup_blog_notification_message’, $message, $domain, $path, $title, $user, $user_email, $key, $meta );wp_mail( $to, $subject, $message, $message_headers );
do_action( ‘bp_core_sent_blog_signup_email’, $admin_email, $subject, $message, $domain, $path, $title, $user, $user_email, $key, $meta );
// Return false to stop the original WPMU function from continuing
return false;
}
if ( !is_admin() )
add_filter( ‘wpmu_signup_blog_notification’, ‘bp_core_activation_signup_blog_notification’, 1, 7 );function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta ) {
$activate_url = bp_get_activation_page() . “?key=$key”;
$activate_url = esc_url($activate_url);
$admin_email = get_site_option( ‘admin_email’ );if ( empty( $admin_email ) )
$admin_email = ‘support@’ . $_SERVER;// If this is an admin generated activation, add a param to email the
// user login details
$email = is_admin() ? ‘&e=1’ : ”;$from_name = ( ” == get_site_option( ‘site_name’ ) ) ? ‘WordPress’ : esc_html( get_site_option( ‘site_name’ ) );
$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 . $email );
$subject = ‘ ‘ . __( ‘Activate Your Account’, ‘buddypress’ );// Send the message
$to = apply_filters( ‘bp_core_activation_signup_user_notification_to’, $user_email, $user, $user_email, $key, $meta );
$subject = apply_filters( ‘bp_core_activation_signup_user_notification_subject’, $subject, $user, $user_email, $key, $meta );
$message = apply_filters( ‘bp_core_activation_signup_user_notification_message’, $message, $user, $user_email, $key, $meta );wp_mail( $to, $subject, $message, $message_headers );
do_action( ‘bp_core_sent_user_signup_email’, $admin_email, $subject, $message, $user, $user_email, $key, $meta );
// Return false to stop the original WPMU function from continuing
return false;
}
if ( !is_admin() || ( is_admin() && empty( $_POST ) ) )
add_filter( ‘wpmu_signup_user_notification’, ‘bp_core_activation_signup_user_notification’, 1, 4 );`
I replaced $user_email, with $admin_email,
it doesn’t seem to work.
did I miss something here?
Any ideas?Thank you

Ps. BP rocks.
Hello, I’ve been looking around for a plugin that will let me allow/deny registration for my BP/WP site.
I am using BP 1.5.5 and WP 3.3,I looked in the core-filters.php and came across the code to send the activation code to the user’s email.
`
/***
* bp_core_filter_user_welcome_email()
*
* Replace the generated password in the welcome email.
* This will not filter when the site admin registers a user.
*
* @uses locate_template To see if custom registration files exist
* @param string $welcome_email Complete email passed through WordPress
* @return string Filtered $welcome_email with ‘PASSWORD’ replaced by [User Set]
*/
function bp_core_filter_user_welcome_email( $welcome_email ) {
/* Don’t touch the email if we don’t have a custom registration template */
if ( ” == locate_template( array( ‘registration/register.php’ ), false ) && ” == locate_template( array( ‘register.php’ ), false ) )
return $welcome_email;// [User Set] Replaces ‘PASSWORD’ in welcome email; Represents value set by user
return str_replace( ‘PASSWORD’, __( ‘[User Set]’, ‘buddypress’ ), $welcome_email );
}
if ( !is_admin() && empty( $_GET ) )
add_filter( ‘update_welcome_user_email’, ‘bp_core_filter_user_welcome_email’ );/***
* bp_core_filter_blog_welcome_email()
*
* Replace the generated password in the welcome email.
* This will not filter when the site admin registers a user.
*
* @uses locate_template To see if custom registration files exist
* @param string $welcome_email Complete email passed through WordPress
* @param integer $blog_id ID of the blog user is joining
* @param integer $user_id ID of the user joining
* @param string $password Password of user
* @return string Filtered $welcome_email with $password replaced by [User Set]
*/
function bp_core_filter_blog_welcome_email( $welcome_email, $blog_id, $user_id, $password ) {
/* Don’t touch the email if we don’t have a custom registration template */
if ( ” == locate_template( array( ‘registration/register.php’ ), false ) && ” == locate_template( array( ‘register.php’ ), false ) )
return $welcome_email;// [User Set] Replaces $password in welcome email; Represents value set by user
return str_replace( $password, __( ‘[User Set]’, ‘buddypress’ ), $welcome_email );
}
if ( !is_admin() && empty( $_GET ) )
add_filter( ‘update_welcome_email’, ‘bp_core_filter_blog_welcome_email’, 10, 4 );// Notify user of signup success.
function bp_core_activation_signup_blog_notification( $domain, $path, $title, $user, $user_email, $key, $meta ) {// Send email with activation link.
$activate_url = bp_get_activation_page() .”?key=$key”;
$activate_url = esc_url( $activate_url );$admin_email = get_site_option( ‘admin_email’ );
if ( empty( $admin_email ) )
$admin_email = ‘support@’ . $_SERVER;$from_name = ( ” == get_site_option( ‘site_name’ ) ) ? ‘WordPress’ : esc_html( get_site_option( ‘site_name’ ) );
$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 and blog, please click the following link:nn%1$snnnnAfter you activate, you can visit your blog here:nn%2$s”, ‘buddypress’ ), $activate_url, esc_url( “http://{$domain}{$path}” ) );
$subject = ‘ ‘ . sprintf(__( ‘Activate %s’, ‘buddypress’ ), esc_url( ‘http://’ . $domain . $path ) );// Send the message
$to = apply_filters( ‘bp_core_activation_signup_blog_notification_to’, $user_email, $domain, $path, $title, $user, $user_email, $key, $meta );
$subject = apply_filters( ‘bp_core_activation_signup_blog_notification_subject’, $subject, $domain, $path, $title, $user, $user_email, $key, $meta );
$message = apply_filters( ‘bp_core_activation_signup_blog_notification_message’, $message, $domain, $path, $title, $user, $user_email, $key, $meta );wp_mail( $to, $subject, $message, $message_headers );
do_action( ‘bp_core_sent_blog_signup_email’, $admin_email, $subject, $message, $domain, $path, $title, $user, $user_email, $key, $meta );
// Return false to stop the original WPMU function from continuing
return false;
}
if ( !is_admin() )
add_filter( ‘wpmu_signup_blog_notification’, ‘bp_core_activation_signup_blog_notification’, 1, 7 );function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta ) {
$activate_url = bp_get_activation_page() . “?key=$key”;
$activate_url = esc_url($activate_url);
$admin_email = get_site_option( ‘admin_email’ );if ( empty( $admin_email ) )
$admin_email = ‘support@’ . $_SERVER;// If this is an admin generated activation, add a param to email the
// user login details
$email = is_admin() ? ‘&e=1’ : ”;$from_name = ( ” == get_site_option( ‘site_name’ ) ) ? ‘WordPress’ : esc_html( get_site_option( ‘site_name’ ) );
$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 . $email );
$subject = ‘ ‘ . __( ‘Activate Your Account’, ‘buddypress’ );// Send the message
$to = apply_filters( ‘bp_core_activation_signup_user_notification_to’, $user_email, $user, $user_email, $key, $meta );
$subject = apply_filters( ‘bp_core_activation_signup_user_notification_subject’, $subject, $user, $user_email, $key, $meta );
$message = apply_filters( ‘bp_core_activation_signup_user_notification_message’, $message, $user, $user_email, $key, $meta );wp_mail( $to, $subject, $message, $message_headers );
do_action( ‘bp_core_sent_user_signup_email’, $admin_email, $subject, $message, $user, $user_email, $key, $meta );
// Return false to stop the original WPMU function from continuing
return false;
}
if ( !is_admin() || ( is_admin() && empty( $_POST ) ) )
add_filter( ‘wpmu_signup_user_notification’, ‘bp_core_activation_signup_user_notification’, 1, 4 );`
I replaced $user_email, with $admin_email,
it doesn’t seem to work.
did I miss something here?
Any ideas?Thank you

Ps. BP rocks.
See here. http://174.120.139.67/~hollowea/community/
The sidebar is dropping below. This is in a Wootheme ‘Diner’ template.Someone else stated they are having the same problem in a different post http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/sidebar-alignment-issue-for-thestyle-theme/#post-125808 but asked that I start my own thread. In case the person responding there wants to answer this one as well, here are my responses to his question here
header.php: http://pastebin.com/6rP4Q8rT
footer.php: http://pastebin.com/gpx8gWjd
sidebar.php: http://pastebin.com/QpzqdPst
index.php: http://pastebin.com/pc7uwmce
page.php: http://pastebin.com/qyHhZ3CN
