Sounds like you’re using an older version of WordPress.
Deactivate BuddyPress and upgrade WordPress:
https://codex.wordpress.org/Upgrading_WordPress_Extended
No need to hack BP.
Put the following in your theme’s functions.php:
`
function ray_bp_get_send_public_message_link() {
global $bp;
return wp_nonce_url( $bp->loggedin_user->domain . $bp->activity->slug . ‘/?r=’ . $bp->displayed_user->userdata->user_login );
}
add_filter( ‘bp_get_send_public_message_link’, ‘ray_bp_get_send_public_message_link’ );
function ray_bp_get_send_private_message_link() {
global $bp;
return wp_nonce_url( $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ . $bp->displayed_user->userdata->user_login );
}
add_filter( ‘bp_get_send_private_message_link’, ‘ray_bp_get_send_private_message_link’ );`
@driz
BuddyPress is already a theme. Look at bp-default. That is a full WP theme that for some reason was bundled with the plugin. There is a huge mess of code devoted to making this setup work. It is nearly impossible to freely modify the templates, even if you roll your own BuddyPress theme, because the javascript is so tightly bound to the ids and classes in the markup.
I don’t think its reasonable anymore to call BP a plugin, since it does not enhance a WP site in the purest sense. It completely takes it over and defines an entirely new set of rules for how to customize the look of your site. That sounds like a theme to me.
If you think about BP as a theme, then the only acceptable ways to solve the issue and stay true to WP is pages or custom post types. This only doesn’t make sense though because BP is made up of many components that should be making their OWN decisions about how they get displayed.
So back to my original point. BP is defining too many rules, and forcing components to adhere to the default theme itself, instead of a theme prototype (which is how WP works). If BP was doing it the “right” way, then this whole issue would be moot, because each component would be deciding how its URL was determined, and the end user could decide if they liked it or not.
I think this is in the scope of the topic because it gets into defining the problem that needs to be solved, which is important before working on a solution.
@Travel-Junkie I wouldn’t call it innovation. Using pages for such functionality is a hack.
@MrMaz I like the idea of BuddyPress being split up, but not as a theme, I think it should remain a plugin, but just not so robust.
The problem the WordPress community is making is trying to make it so that literally anybody can build a website with a click of a button. While this may sound good, it means that we have too much automated crap going on and not enough flexible development. I really dislike that BP can be even added from the directory and has a default theme, it would of been much better manually done as a bunch of code you add to your own theme as the bp-template-pack does, and then the core code as a simple plugin. But that’s beyond the scope of this topic. The main problem at the moment is the whole WP model of using pages to fake stuff, when pages are for static chunks of content and nothing else. BP had it nailed before, we just needed more flexibility in the code behind to mess with the URLs more, the pages actually make it more robust than before as it means admins can mess the site up!
If you really want to take this where the root of the issue is, the underlying problem is that BuddyPress is actually a theme that has been jammed into the plugin directory and then tightly coupled to what should be multiple plugins (aka components) in one massive package.
I am starting to feel like the only way to restore any kind of reasonable extensiblity of the BP interface it to split it into a theme, and the components into plugins which all adhere to a very strict API defined by the THEME, not a “core” plugin.
Of course this would break every existing install. It would have to be an internal fork that was deemed to be the new way forward.
Well, don’t blast something for being exactly what it’s suppose to be. Since BP is a WordPress plugin and the dummies books are for absolute beginners then it makes sense to spend a great deal on the core. Is there room for more documentation? Yes!
Read the documentation on this site: http://codex.buddypress.org
Visit these:
http://etivite.com
http://bp-tricks.com
http://wpmu.org/category/buddypress
I’m sure there are more resources out there. Just search or ask.
Lol, yes, I am a troll.
I am old and smell funny and live in a cave.
Look, in today’s economic climate, the job market is pretty much empty, even in Australia. Even if you do get a job with a company, then you’re hard pressed to pay rent and bills, and you can never think of buying a house.
The only option left is web-development and small business. I’m sorry I got upset about it yesterday, but it’s really frustrating when you get to a golden package like Buddypress and you find that they documentation is really sparse. Then you find that there’s a book out there specifically about the package, and all that’s in it are the installation instructions and how to use the admin panel.
For the record, there’s a second book called ‘WordPress for Dummies’, so that’s why I thought it wasn’t right that her first half of the book is about WordPress.
Hello guys,
No matter how I edit my date box (in my case DOB) it shows on my public profile 1 day back. Ex: date saved 12 June. On my profile it shows 11 June.
Worpdress version: 3.0.3
Buddypress: 1.2.7
Plugins running: Mail From, Welcome Pack, WordPress MU Sitewide Tags Pages
I do use a personalized theme, but I only have the files: funcitions.php, header.php, index.php, sidebar.php, style.css
Thanks for any help!
You know when you go to someone’s profile and it has the blue message with the user’s username identifier? @username, then after that it has the question mark info bubble that is supposed to, when clicked, drop down a message: @%username% is a unique identifier for %username% that you can type into any message on this site. %username% will be sent a notification and a link to your message any time you use it.
This just simply does not work on my site, I am using a Custom Theme
Does anybody know how to get this working?
Thanks for the quick replies!
I think I understand the idea of hooks now as they are used in index.php, header.php, etc.
@boonebgorges: Unfortunately I don’t have the ability to edit the codex, but I’d really like to.
I also tried logging into codex.buddypress.org/wp-admin and I wasn’t allowed to do anything there either.
It would be great if you could fix that for me, because until Jan 10th, all I’ll be doing is figuring out the code
and publishing it in my own blog (nextgenreporters.com). It would be fun to edit the codex at the same time.
@mercime: cheers for the heads up. I pulled that old list from another post, but I’ll update it today with 1.2.7.
Have a good one.
@Travel-Junkie deleting the pages isn’t a problem. Using pages in the first place is the problem. It’s just bad development!
@xevo 
It doesn’t have to be GPL if theme’s not *distributed* like e.g. custom theme for a client site. But if theme’s going to be sold or distributed in the wilds for free, it has to GPL.
Remember that thingamagig with the Thesis theme?
http://ma.tt/2010/07/theme-are-gpl-too/
Syn-thesis 1 and Chris Pearson
=== have issue as buddy press link are coming at the bottoms. ===
Looks to me like a regular default BuddyPress installation. What bottoms are you referring to?
@mercime
Already select P2 on SuperAdmin > Themes, the problem is that on Appearance > Theme I select P2 but it not show as selected on same page instead BP-default show as selected, but if you hit the secon blog url it use P2.
Is there a way to sent you blog info privately, so you can check this issue ?
Regards,
@modemlooper
Content types sound interesting as Members, Groups, Forums etc are all types of content. Would be good to hear some input from the main developers and would be good to get this changed before releasing 1.3 and having everyone create fake pages.
Does buddypress support multiple sidebars? I have 1 sidebar only
Hi there guys,
I would like to ask you if you know some great hosting service for my BuddyPress network. I have currently about 530 blogs, 50GB bandwith and 388.46 MB size of database. Thanks for your help!!!
I would like to hide or remove buddypress tag cloud from forum page. I want consistent look on my wordpress blog and buddypress. Any suggestions?
For anyone else with this issue, here is the fix. Thanks to @sbrajesh
in bp-messages-templatetags.php, starting at line 498:
function bp_send_private_message_link() {
echo bp_get_send_private_message_link();
}
function bp_get_send_private_message_link() {
global $bp;
if ( bp_is_my_profile() || !is_user_logged_in() )
return false;
$user=new WP_User($bp->displayed_user->user_id);
return apply_filters( ‘bp_get_send_private_message_link’, $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ .$bp->displayed_user->userdata->user_login );
}
Private messaging now works with persistent caching like memcached.
Interesting points. Working recently with trunk prompted the same thoughts vis-a-vis disabling BP and being left with a heap of odd pages, but then I simply removed or unpublished those pages.
It would be interesting to hear the comments of the core devs who are :
@jjj
@djpaul
@boonebgorges
I’ve noticed in the new version of BuddyPress 1.3 that pages will be used to create the sections of the site such as Members, Activity etc. While this may seem super easy for a user to change the urls, it also breaks the rules of good web development. Pages in WordPress are supposed to be static content, they are not supposed to be used to fake sections just to get a pretty url. I much preferred the original and current method of having all the urls and sections built in the code behind as that’s exactly what they were. If anything, an additional settings page should been added to allow users to change the urls in the admin rather than resorting to using pages to deal with it. There was similar problems with custom post types in WP 3.0 whereby a user to create a fake page to show the posts which is now being fixed in the 3.1 release by having an inbuilt index page.
Think of it this way. Themes are essentially your website, and when a user switches a theme it should reflect as such, so if I switch themes or change plugins the pages I have should reflect, in other words the content shouldn’t be dependant on the theme or plugin. With the new method if a user ditched BP they would have a bunch of fake pages, as they have no content they were used solely to fake the whole url structure which is just bad design.
I really hope someone on the development team reads and takes notice of this post and that others get involved in this discussion because I think BuddyPress has just been ruined with this new approach, if the WP core team can see and fix the problem why has the BP team gone and made the same mistake they did?