@chr313 cool couldn’t get it working at first, but I modified this
`function highlight($needle, $haystack){
$ind = stripos($haystack, $needle);
$len = strlen($needle);
if($ind !== false){
return substr($haystack, 0, $ind) . ‘‘ . substr($haystack, $ind, $len) . ‘‘ . highlight($needle, substr($haystack, $ind + $len));
} else {
return $haystack;
}
}
`
and was able to get it working with 3.2.1 & 1.5
One thing though, i’m seeing now…if the keyword is found in thumbnail image url, it breaks the image and link because the highlight is inserted in the url. any ideas.
The pages created by Buddypress work fine, but when I give them a parent then the page links to a 404 Page. I even tried to use the “Page Links To” plugin to link to the direct URL that works when navigated to by an root page created by Buddypress and that didn’t work either (which makes no sense). I tried creating a new page from within the Buddpress settings and choosing the parented page from within the Buddypress settings but it refused to work. The only way I can see any of the Buddypress content is if I leave the buttons created by Buddypress unparented (root). Thanks
@nahummadrid I wrote a way to highlight activity stream. I’m using the global unified search from @sbrajesh Also I am using wp 3.2.1 and bp 1.2.9. I went back to an older version because I needed the global search to work. The next thing I’m trying to do is see if the global search for the comments to updates as well, then highlight those results. Here is my test site here.
http://chr313.powweb.com/1.2.9/
In your functions file add these:
function highlight($needle, $haystack){
$ind = stripos($haystack, $needle);
$len = strlen($needle);
if($ind !== false){
return substr($haystack, 0, $ind) . '' . substr($haystack, $ind, $len) . '' .
highlight($needle, substr($haystack, $ind + $len));
} else return $haystack;
}
function bp_activity_content_body_return($activity_body) {
$activity_body = highlight($activity_body, bp_get_activity_content_body());
echo $activity_body;
}
In your theme file under
/themes/bp-addata/activity/entry.php replace the exising contents of div activity inner with this
if (isset($_POST)){
bp_activity_content_body_return($_REQUEST)
}else{
bp_activity_content_body()
}
In your css file add
#highlighter {
background-color: #FFEE5A;
}
Hope that works for you,
Hello,
I have the same problem in the members page:
Fatal error: Call to undefined function bp_activity_get_permalink() in mysite.com/wp-content/plugins/buddypress/bp-members/bp-members-template.php on line 590
Then, whatever is the template, when users edit their profile, it’s updated well but with the error message that says that an error occurred…
How can I fix this bug ?
First up hoorah to the 1.7 meaning bbPress like templating!
I do like the idea of a new theme in 1.7 then to reflect that. A mobile first, brand spanking new theme – oh my that would rock.
I have multisite installed with buddypress and members can post on these blogs.
i mean mydomain.com is main site with buddypress installed and members can post in others blogs on my site like abc.mydomain.com but the problem is that when some one click on author’s name (e.g. David ) on post in abc.mydomain.com user see list of posts of author (e.g David ).
but i want to display two option (e.g. view david prfile and view all post by David). so when visitor click on “View David Profile” he/she should view david’s buddypress profile and if user click on “View all Post by David” user should see all posts by David who is author.
Please help
@junglejinge If group forums == support and sitewide forums == discuss, then:
Installing Group and Sitewide Forums
Native translation based on the local language setting would be sweet. So, Geneveve in France posts her comment/post in French, and when it pops in the activity stream anywhere, that French post is automatically translated to the native language. THEN to take it to the next level, let’s say someone is tutoring the language. The tutor should have the ability to enclose the text he/she doesn’t want translated per the language tutoring exercise; thus, only the text that requires translation is automatically translated. If you’re gonna dream, dream big! 
Buddypress enables so many possibilities…
Read the error message:
There is early output (headers) started at /hermes/bosweb26d/b1249/ipg.krugersightingscom/wp-content/themes/custom-community/_inc/ajax.php.
And then the “zingiri-forum” plugin tries to send some page headers at /hermes/bosweb26d/b1249/ipg.krugersightingscom/wp-content/plugins/zingiri-forum/forum.php on line 849, but it can’t, because BP-Default’s javascript already has.
One of these things is happening in the wrong order, or in the wrong place.
@davidpayne did you get it resolved?
You could ask developer of Wishlist Membersite software to make it compatible with BuddyPress.
== I can’t disable the forum because i might loose everything. ==
Change to bp-default theme and see if issue is corrected.
@prasanth-p do clarify if you made a WP theme or a bp-default child theme. Solution would be different depending on scenario.
@JackVD do be more specific. BP/WP versions? Using bp-default child theme or a WP theme with BP template pack plugin? New install? Check out System and Server Requirements as well as WordPress configuration https://codex.buddypress.org/getting-started/before-installing/#system-server
You’re welcome.
Which version of IE are you using? The bbPress (Forums), Members, and Groups Pages are full width and aligned in IE 8/9. You just might want to remove the negative left and right margins for div#item-list-tabs, div#subnav, and div.pagination as well as add top and bottom paddings to #forums tr. Check out modifications made in this tutorial for some more styling tips/corrections.
It’s your site’s Activity Pages that are not rendering properly. I suggest you open up activity/index.php and change
`
`
back to
`
`
as that center alignment breaks down layout of activity stream.
The only bundled theme that comes with BuddyPress is the bp-default theme.
To activate a theme, go to Appearance > Themes > choose Canvas – and activate. For more information about your theme, please contact theme author/s.
@nahummadrid This is something that I would want as well. I’m going to try to develop this, I’ll post something if I get something working.
Thanks,
Hi there!
I’ve just installed a bundled theme (canvas + buddypress) but when I go to the site it says that I need to install and activate. How do I activate?
Thanks very much.
Hi. I have found a similar thing. I have migrated a multisite to a new buddypress multisite installation.
Wordpress 3.2.1
Buddypress 1.5.1
I imported a site from my old multisite (without buddypress). I found that when I allowed wordpress to create the users from the xml export data (ie import posts and it gives you the option to create the users) that all of the users could not see my sites in the admin bar and also all of their sites where not visible under my account sites.
I have found that if you create the users first (like a new user) and then assign the posts to the new users … they can operate normally (can see sites in admin bar and all sites are visible under my account).
I’ve been searching through all the articles but can’t find an answer that allows me to completely disable the favorite component including removing the button and its link from the menu. I use the Buddypress Like and don’t need the favorite option.
@blewinski
First, set the entire shebang to fill the screen with a maximum width of 100% like so:
`body {
max-width:100%;
}`
Then, set the page container div element (it sits inside the body element) to the smaller width you want and set the margins to auto so the content gets centered on-screen like so:
`div#container {
width:60%;
margin:auto;
}`
EDIT: you may want to set the container div to a fixed width instead, for example:
`div#container {
width:900px;
margin:auto;
}`
Hello –
I am a newbie to WordPress and Buddypress and I am stuck on changing the width of the site. I have created a child theme form the bp_default theme and I want to set the header and footer widths to 100% and have the sites contents set to a smaller width say 60%. How can I do this? Everything I have tried in the css always narrows the header as well as the body. I can’t seem to figure out how to keep the header at 100 and get the contents to 60.
Thanks in advance!
Hi there-
I was wondering if there was a way or a plugin to sync the comments on blog entries if they are submitted in buddypress groups or forums. So the wordpress blog entry page has all the comments made in the forums, groups and updates that represent it.
Make sense?
In Facebook when you post an image, no matter where that page/link is posted, all the comments appear underneath it. So that’s what I thought would be nice to have.