Is the BuddyPress theme required for BuddyPress to work on an existing WordPress install… or can we pick and choose pieces from the official BP theme and incorporate as needed? I’m assuming the latter, but wanted to be sure before I start to hack away.
bp-custom.php loads up before any BuddyPress components do, and functions.php loads after all plugins and WordPress core code does.
So it isn’t a matter of “if,” it’s a matter of “why.”
Basically…
Use bp-custom.php to override core BuddyPress settings like slugs or constant values, or to load specific code BEFORE BuddyPress loads for whatever reason you might need to.
Use functions.php if you need to add actions or filters to BuddyPress things. It’s good practice to make sure that actions and filters exist before attaching code to them. If you add a filter to a function that doesn’t exist yet, or you add it before/after the code is loaded/executed, then you’re ahead/behind the action/filter curve, so to speak.
Different files for different purposes.
I could see why that wouldnt work, as buddypress is build on wpmu and every blog you make is basicly a seperate wordpress install. So for example the users that were automatically subscribers on your wpmu blog aren’t automatically subscribers on all the blogs on your wpmu install.
WordPress itself has problems with relocating it’s position, a lot of changes need to be made and since buddypress is build on wordpress, buddypress has these problems now as well.
I don’t really get why your placing buddypress in a sub blog, you can easily change the buddypress theme to your liking if that’s the problem.
Just need to add the core wordpress function to list the pages into the buddypress theme and it should show your newly added pages to the main menu.
ty Peter
OK – I can make pages in the regular wordpress part and see them in the back end, but they do not appear on the buddypress theme. There is no menu option for them.
The “this is helpful” is indeed helpful, but isn’t the point of a content management system like worpress. I’d like to press a button to add new pages easily.
I think either the buddypress theme doesn’t show new pages in a menu or I have missed something to turn on or off.
I’m just curious if it is yet possible with buddypress to give each blog on my mu setup their ‘own’ buddypress — think ning.
What I am after is getting buddypress plugins to act like all other wordpress plugins, where I can activate the buddypress plugins on a per blog basis. That way each blog can choose whether or not to have buddypress available for the given domain.
What I really can’t figure out, is if it does this is how to go about separating out the buddypress data on a per blog basis. Meaning if blog#1 turns on the buddypress plugin, that only the activity/blogs/etc are displayed from members of blog#1. (think ning again).
In my particular case, I host a number of church sites, and so far there has been zero interest in having a ‘community’ amongst them all, however they are all very interested in having buddypress community for just their members of their own blog. make sense?
Anyhow, is any of this possible yet?
5686239Inactive
Hi
I’ve just installed WordPress MU and Buddypress (both the latest stable versions).
I now find that everything seems to work with the exception that I am told there is no Buddypress-enabled theme installed? Anyone know where I’m going wrong?
Apologies for what sounds like a newbie question.
Thanks.
Hi,
How does a User edit their own Forum Comment. I can see how a Forum Topic owner or administrator can edit/delete a Topic, but how can a User edit their own topic once they’ve posted it.
I’ve dug around in the bbPress forum and found an answer there but the Settings->Writing options do not appear to be the same in BuddyPress.
TIA.
Regs….David.
Using:
WordPress MU V2.8.6
BuddyPress V1.1.3
Anyone know of a plugin that would should something like this in the front end :-
Currently active users: 15
Idea markets: 4
Ideas posted: 169
Forum comments: 93
Welcome to our latest member: Jonathan Evans
Regs….David.
Using:
WordPress MU V2.8.6
BuddyPress V1.1.3
Thanks Simon for Sharing !
Are you referring to the following BP Events plugin?
https://wordpress.org/extend/plugins/bp-events/
I’d like to use the features in the widgets, specifically site wide activity in 1.1.3, but want more control over the layout than the widget system provides – see this obnoxious codex page that says you must use unordered lists or else…
Where/how can I find the code that widgets add to the pages? I’d like to just add that code to my template pages, perhaps via template tags.
Apologies if this is thread hijacking, but I suspect finding the original code would also solve thecorkboard’s problem and clear up confusion over versions.
@ Jivany
You’ve covered this on trac: https://trac.buddypress.org/ticket/1536
So this is a question of privacy settings for the blog.
I hope this isn’t considered hijacking, but do you, DJPaul or anyone know how to make _old_ posts that were counted as private (as per above) appear in the stream?
I can make new posts appear in the stream now but all the old blog posts (https://wordpress.org/extend/themes/p2) are still hidden. Some value in the db?
@Marc: Requirements is a pretty vague term itself eh? A requirement could be as specific as “must support IE6” (which would have an impact on price) or as general as “must position us as an industry leader”. So requirements can be about business, creative, marketing, functional, technical or other goals.
The biggest things that would affect price however would be any functional components that BuddyPress doesn’t include out of the box (like Wiki, Document Library, Video Sharing, etc.). Although much of that can be done with plugins… said plugins may still require custom theming and/or some work on integration.
Complexity of design could mean things like Flash. If Flash work is required, that would cost more. If you require a logo or other branding, that could cost more. But I was more thinking of the complexity of the design in general.
For instance, this design of mine took almost a month of design, development, research and testing (it works in IE6 believe or not and is designed to have graceful text-resizing… as all my work is. XYZ is a fake name of course):
http://davidlewis.ca/solutions/
While this very simple “design” (a freebee for a volunteer organization) took only 2 hours from zero to WordPress theme (p.s. I’m not responsible for any of the horrible content like the logo sidebar… for instance):
http://www.hrsar.ca/e2cdev/
That’s an extreme example… but you get the idea.
Found this in bp_core_activation.php:
/***
* bp_core_disable_welcome_email()
*
* Since the user now chooses their password, sending it over clear-text to an
* email address is no longer necessary. It's also a terrible idea security wise.
*
* This will only disable the email if a custom registration template is being used.
*/
function bp_core_disable_welcome_email() {
if ( '' == locate_template( array( 'registration/register.php' ), false ) && '' == locate_template( array( 'register.php' ), false ) )
return true;
return false;
}
add_filter( 'wpmu_welcome_user_notification', 'bp_core_disable_welcome_email' );
So I guess I could just remove this function?
Is sending that password really such a “terrible idea security wise”? Are criminal gangs intercepting these emails to break into WordPress accounts?
EDIT: Yes, removing that function works. A regular WPMU welcome email is sent.
But the password in the email is eight numbers instead of the eight letters password I’d entered. Why?! Does Buddypress do its own encryption on the password? Does it use other tags or “placeholders” or whatever they’re called to call the password?
Going to sit in a corner and cry…
Does anyone know how to get a welcome email in BP 1.1.3 without resorting to the Welcome Pack plugin?
There are some clues here, but I have no idea what to do with them and if this would even apply to Buddypress registration process.
Should I just stick this in a template files somewhere? Where?
<?php wpmu_welcome_user_notification($user_id, $password, $meta); ?>
Would it take the text from the Options in the admin area?
Or does BP have its own function for this?
You can make pages in the regular WordPress part. And maybe this is helpful.
Consider the cost for wordpress themes, as buddypress themes are wordpress themes. There are thousands of wordpress theme players around the world. Quick search on Google should give you some quotes.
You may need to add bit more ($100 – $500) to the quote you get for thanking designers to work for wordpress themes for buddypress.
this problem is a bit more linked to wpmu but it is lined with buddypress so i ask it also here.
i have a problem of blog upgrade after automatic update :
this pages gives my such a result :
” Warning! Problem upgrading http://subdomain.domain. Your server may not be able to connect to blogs running on it.
Error message: Couldn’t resolve host ‘subdomain.domain’. “
usually i have no pb with my dns configuration :
i mean i have a wildcard and every subdomain is automatically created and reachable.
but if i do a new installation of wmpu with that type of configuration.
it does not work neither : i mean the instal program gives me a warning that maybe wpmu cannot resolve well subdomains…..
anyone do have an ideao about what to do to solve that.
because one day i will have to uprgade my blogs properly 
if you prefer to reply it on the wpmu page :
http://mu.wordpress.org/forums/topic/16163
Yes I did:
In buddypress/bp-blogs/bp-blogs-classes.php
I repleaced rule nr. 267:
if ( !(int)$wpdb->get_var( $wpdb->prepare( “SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d”, $blog_id ) ) )
in
if ( $wpdb->get_var( $wpdb->prepare( “SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d”, $blog_id ) ) < 1 )
After that I cleared up in the database manually the table: wp_bp_activity_user_activity_cached
I deleted existing blogs and groups and started again: (don’t fear, this is just a testsite)
Created a new invisible group with a blog.
Blog settings: (with the mu-plugin more privacy options) I only want the blog visible for logged in users and registrated on this blog (or something, I translated it into Dutch).
I created a new blogpost. Then I logged out. After that the first rules of the blogpost are still visible in the activity stream. I can not read the whole blogpost, because I first have to login to the site to see the whole post on that blog.
Maybe I did something wrong with the code?
I’m using WordPressMU 2.8.6 and Buddypress 1.1.3
Thanks for your time you’ll spend to me.
Sure, there’s a couple ways to do it.
If you want to turn off linking in specific profile fields (so that nothing in “About Me” gets linked, but locations in “Location” or “Hometown” do), you can use https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/. Near the beginning of that plugin, there’s a spot for you to list fields that should NOT be linkable.
If you want to be more specific and look for certain words in a field, here’s how. Copy the original xprofile_filter_link_profile_data function from bp-xprofile-filters.php, paste it into functions.php or wherever you put the remove_filter code, rename it something unique (like henry_xprofile_filter_link_profile_data), then afterwards add the line
add_filter( 'bp_get_the_profile_field_value', 'henry_xprofile_filter_link_profile_data', 2, 2 );
At this point you’ll have to customize the filter to look for certain words. Use something like this (untested, but something like it should work):
if ( strpos( $field_value, 'Boston' ) ) {
$field_value = str_replace( 'Boston', '<a href="' . site_url( BP_MEMBERS_SLUG ) . '/?s=Boston">', $field_value);
}
In other words, if ‘Boston’ is found in the field, replace the plaintext ‘Boston’ with a link to a search on the word ‘Boston’.
Is there any way to add social bookmarking functionality to forum posts? Given that you can’t access BBpress admin functions in BP to activate BBpress plugins, I’m wondering how to do this.
Add to Any provides this code (http://wordpress.org/extend/plugins/add-to-any/faq/):
<?php echo '<ul class="addtoany_list">';
if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') )
ADDTOANY_SHARE_SAVE_ICONS( array("html_wrap_open" => "
<li>", "html_wrap_close" => "</li>
") );
if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') )
ADDTOANY_SHARE_SAVE_BUTTON( array("html_wrap_open" => "
<li>", "html_wrap_close" => "</li>
") );
echo ''; ?>
Is there anywhere to add this in BP so the function will be called in BBpress? Any other options?
Last time I posted an error with the default theme on the Members page if Friends is disabled. Now, enabling the Friends feature gave another error, this time it’s with mySQL.
This error message shows up on the ‘Friends (0)’ tab within my user profile page:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY FROM_UNIXTIME(um.meta_value) DESC LIMIT 0, 10' at line 1 for query SELECT DISTINCT u.ID as id, u.user_registered, u.user_nicename, u.user_login, u.user_email , um.meta_value as last_activity FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND u.ID IN () ORDER BY FROM_UNIXTIME(um.meta_value) DESC LIMIT 0, 10 made by include, require, require_once, do_action, call_user_func_array, bp_core_do_catch_uri, load_template, require_once, locate_template, load_template, require_once, bp_has_members, BP_Core_Members_Template->bp_core_members_template, BP_Core_User->get_users WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY FROM_UNIXTIME(um.meta_value) DESC' at line 1 for query SELECT COUNT(DISTINCT u.ID) FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND u.ID IN () ORDER BY FROM_UNIXTIME(um.meta_value) DESC made by include, require, require_once, do_action, call_user_func_array, bp_core_do_catch_uri, load_template, require_once, locate_template, load_template, require_once, bp_has_members, BP_Core_Members_Template->bp_core_members_template, BP_Core_User->get_users
I really am not sure what this is about. Is it to do with mySQL version that I’m running?