Save files.
Search Results for 'wordpress'
-
Search Results
-
Hi,
I use BP 1.5.5 in a WP 3.3.1 Multisite. BP should be used only in a sub site with a subdomain. All the other sub sites and the primary site should not use BP.
In the network plugin section the BP-plugin could only activate for the entire WP-installation; I cannot activate it in a specific blog.The reasons for deactivating are…
1) hide the error message “The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams, Discussion Forums, Members.”
2) prevent wrong sender-ID in notification mailsThanks for a hint.
ChrisI have two sites on my wordpress network, http://www.pigsfeetproductions.com and http://www.crashedgamers.com. These two sites share the same database, but are hosted on two different servers. I want their forums to be integrated (ie when I post on pigsfeetproductions’s forums, it will automatically appear on the crashedgamers one and I want the users to be the same too if you wouldn’t mind helping me there too). Can anyone help me set this up? I have a decent understanding of the basics of bbpress, wordpress, and mySQL databases, but I just can’t figure out how to get this to work the way I want it to. All help is great appreciated.
Thanks
RobHey 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
(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.
Activity page redirecting to homepage. Running wordpress 3.3.1 and BP 1.5.5 using BP default theme at http://neosoulcafe.com/mingle/ with no other plugins active.
Using custom permalinks /%category%/%postname%/
Activity page works ok using twenty-one theme and BP deactivated
Tried to re install BP.
Hi,
I am working on a website based on WordPress and Buddypress.
And the nomenclature for the usernames and logins users are like that : “12uio98j12lkhj98juj786gujg2”. But I want to have the right username or login in the database to have a nice directory member name (www.myweb.com/members/login/ and not http://www.myweb.com/members/12uio98j12lkhj98juj786gujg2/).Do you know how to fix that ?
Thanks and sorry for my English !
I’m running BP1.5.5 on WordPress 3.3.1. I recently upgraded from BP1.2.9 to 1.5 and as soon as I did I started to get out of memory errors when I try to upload any media files (not big ones 500k). I’ve deactivated all plugins and the memory error disappears until I reactivate BP. I’m hosted with 1and1 on a business package that allocates 80MB memory limit, and this is something they tell me I cannot change with php.ini files.
A typical error I’m getting is:
Fatal error: Out of memory (allocated 31457280) (tried to allocate 5268 bytes) in /homepages/7/d267599207/htdocs/wsb5161591501/wp-includes/media.php on line 258I’m using a standard default buddypress theme with no changes to the core files.
I’d really appreciate any suggestions or advice.
We’re just starting out with BuddyPress. It’s all new with current versions: WordPress 3.3.1, bbPress 2.0.2, BuddyPress 1.5.4. Using site-wide forums only, group-forums page attached to discussions in BuddyPress but not used and talk used as the forums slug in bbPress.
No custom themes at this point or code changes. This is a fresh install. It’s hosted at Media Temple.
So I’ve clearly missed something. Attempting to go to the /search page redirects to the home page. All pages are properly showing up in the BuddyPress Pages configuration.
So I’m not sure if I missed some setup or where to look for a problem. I thought I covered everything but it appears not.
Advice on troubleshooting?
I installed group forums for my BP installation. Everything appears to be working correctly except I keep running into an issue when I try to create a new topic I get: “This group does not have a forum setup yet”.
I did a little searching and found this installation guide,
http://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/In the FAQ it gives the following instructions for creating/enabling a group:
* Create a Group – only Group Admin/s and Site/Super Admin can enable the group’s forum
* Go to the group’s “Admin” link
* Select Group Settings
* Check “Enable Forum” box and save settings
* Create a Topic to testI followed these instructions and I still get the error.
I’m on WordPress 3.3.1, Buddypress 1.5.4 and bbPress 2.0.2
Any ideas what might be going on would be are appreciated.
Topic: Forum not works
Hi Mates, im a bit new with buddypress and wordpress but i installed it to my server. Problem is when i tried to create new topic in the forum it doesnt work but if i try to create topic in dashboard it is okey. Plus when i go to my forum page my theme turn to black. i already install bbpress for my forum. I tried both forum installation “Forums for Groups” and “Site Wide Forums” but it doesnt appear. more details of my site as follow.
Theme: BuddyPress Mystique 2.4.2 by bp-theme-converts
mysite: http://christianpinoysrock.org/reloadHope someone can help..
P.S. i also enable already my buddypress theme compatibility.
Thanks in Advance..