try adding:
`/* Add words that we need to use in JS to the end of the page so they can be translated and still used. */
function bp_dtheme_js_terms() { ?>
var bp_terms_my_favs = ”;
var bp_terms_accepted = ”;
var bp_terms_rejected = ”;
var bp_terms_show_all_comments = ”;
var bp_terms_show_all = ”;
var bp_terms_comments = ”;
var bp_terms_close = ”;
var bp_terms_mention_explain = ”;
<?php
}
add_action( ‘wp_footer’, ‘bp_dtheme_js_terms’ );`
to your functions.php file.
There is extra code in there, if you get a (cannot re-declare) notice, delete the code following your already called function.
Looks like it’s the Activity Stream in the home page. @sbrajesh‘s free BP Wire plugin has different markup.
I have the latest WP-MU with buddyPress installed. I have the GenesisConnect theme for the main site and all seemed well after a little stumbling in the dark. The Main site works fine, all buddyPress links work fine. The several MU sites I have set up will post and can be seen in the activity stream and other BuddyPress pages of the main site. So far so good. When I tried to get the Buddypress links working in the MU sites all I got was Page not Found. I started off with the Suffusion theme for MU sites and switched to BuddyPress Default theme to check. Still Page not found errors on all the MU Sites.
Mod rewrite is on, I changed the permalink, the wp-config looks like it should as does .htaccess. Its getting late and I am sure this has got to be something simple, but I need a pointer or two here.
Cheers @boonebgorges.
So, if I can clarify the whole process. Please tell me if I’m right or if I’m wrong,
and I’ll post it up on my forum, and make a page in the codex if you want.
When a visitor loads the URL of a Buddypress-supported site:
1. the WordPress environment loads and loads the Buddypress plugin
2. buddypress/bp-themes/bp-default is loaded (if you have activated that theme)
3. as the visitor browses through different pages, functions are activated in those pages
4. these functions draw their code from the core files (checking first if bp-custom.php contains same-named functions that will overwrite code in the core files)
5. there are 9 core files
6. these 9 core files require/include other groups of code from folders that are named the same way
e.g. ‘bp-core.php’ requires/includes the files from the ‘bp-core’ folder
7. The files in these folders are groups of code that share a similar category (e.g. classes) (e.g. bp-core/bp-core-classes.php)
because modularizing them this way makes it easier to find the code you need.
8. extra code that is hard to categorize clearly is simply put into the main file (e.g. bp-core.php)
Questions:
a. Is the above list right?
b. Do the core files need to be loaded every time a user visits a page and activates a related function?
e.g. if a user activates a function related to friends, does bp-friends.php need to be loaded?
put in bp-custom.php, and functions.php, i get Parse error: syntax error, unexpected T_VAR in /home/content/47/6114047/html/wp-content/themes/*****/functions.php on line 116
“How to move the admin bar functions into the template and remove the admin bar”
anyone?
if it’s too complicated, I can also learn to live with the admin bar scrolling up with the page like the whole template does, instead of not moving.
I think buddypress is great, but this is the only thing I don’t like, to be limited this much in how the site looks..
anyone?
if it’s too complicated, I can also learn to live with the admin bar scrolling up with the page like the whole template does, instead of not moving.
I think buddypress is great, but this is the only thing I don’t like, to be limited this much in how the site looks..
So, I have this buddypress site at http://todaysmama.com and where ever there is a spot to update the wire, it will submit it, and then not show. Any ideas? Could I be missing a javascript file or something?
Check out this walkthrough to get a bird’s eye view of what kind of work is entailed and some tips to ensure compatibility with BP Template Pack.
https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/
Btw, BP Template Pack still needs to be upgraded to BP 1.2.7 version.
You have to edit the part about the server. On mamp it will be localhost and your user name and password is usually root. This is so WP can connect to your local database.
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘buddypress’);
/** MySQL database username */
define(‘DB_USER’, ‘root’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘root’);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);
As for creating a database you go to phpmyadmin enter a name of the db in the create database input and hit create.
Then in the wp-config file you enter the name you entered here define(‘DB_NAME’, ‘ PUT YOUR DB NAME HERE’);
I would like to see a full fidelity import-export tool, but it’s a lot of work. Look for it in 2011.
`var jq = jQuery;
jq(document).ready( function() {
/* @mention username help button display */
if ( jq( ‘span.highlight span’ ).length )
jq( ‘span.highlight span’ ).toggle();
});`
Hi Buddypress community,
So I am trying to integrate Buddypress with my current WordPress installation using a Pagelines White House Pro 3 theme. I tried to install Buddypress plugin and everything went smoothly. Now I am trying to structure BP to fit my theme. I used Buddypress Template Pack to help me set up and followed the instructions where it mentioned adjusting the structure of the html code to fit with the one used by my current theme and the files below. However, I’ve been trying to do that to no avail. I did duplicate
tags from my theme to buddypress. I’m stucked on adjusting Buddypress to fit the layout of my site.
* /activity/index.php
* /blogs/index.php
* /forums/index.php
* /groups/index.php
* /groups/create.php
Anyone familiar with Buddypress in White House Pro? I would certainly appreciate some help. I know it’s easier to use Buddypress-ready themes but my site is fully configured to use Whitehouse Pro and shifting to another theme is another story.
Really? Is this still the case with the new versions of buddypress?
I thought that allowing avatar uploads in open registration installs was the default.
If that is still risky, which solutions would you recomment, @mercime ?
Hey @boonebgorges – I’d love to suggest a standalone import/export – doing all these database imports and exports is definitely not an easy task for the below-average user like me, who became pampered with WordPress turn-key solutions 
If you can share some light on the 3 questions I made on my reply to @aljuk that would be fantastic! Sorry to bother with these simple questions…
Hey @aljuk – this was superb!
I am a newbie, but a newbie with endurance 
I confess I was puzzled by your answer, but then asked the support staff of my hosting company to help me with steps one and two you listed.
But now I am stuck. On step 3, I understand I should use Notepad (Text Editor on MAC OS) to edit the wp-config.php file that I have downloaded doing step 1 (I’m copying the entire public_html folder using FTP).
Questions:
a) what are the specific modifications I should do on the wp-config.php file in my hard disk after the copying of the remote files?
b) how do I create a new local database? With MAMP? Which configurations should be set for this new database (never did that before)
c) how do I import the gzip backup of the remote database I made with phpMyAdmin?
bump since the flood last night
Thanks @r-a-y
This is a better solution. Any thoughts on how to solve the same problem with @mentions?
Thank you! It worked to perfection.
Thanks a ton @gunju2221 
Don’t seem to work for me, but I may have added code in the wrong stylesheet. Also is there a way to add another url link to buddypress profile? For example i have a custom login page with information about the site that i would like users to refer back to. Somehow i cant get the widgets to display on buddypress pages
@luvs123, Here is a fix that might work. In bp-activity-classes.php, change
`if ( !empty( $filter_array ) ) {
$user_filter = explode( ‘,’, $filter_array );
$user_sql = ‘ ( a.user_id IN ( ‘ . $filter_array . ‘ ) )’;
$filter_sql[] = $user_sql;
}` With…
`if ( !empty( $filter_array ) ) {
$user_filter = explode( ‘,’, $filter_array );
$user_sql = ” ( a.user_id IN ( ” . $filter_array . ” ) “;
foreach ( $user_filter as $user_id ) {
$search_terms = ‘@’ . bp_core_get_username( $user_id ) . ‘<';
$user_sql .= “OR ( a.content LIKE ‘%%”.like_escape($search_terms).”%%’ ) “;
}
$user_sql .= ” ) “;
$filter_sql[] = $user_sql;
}`
yes, I know there are several topics to this, but PLEASE don’t just link me to them, all of them don’t really work.
I have successfully put the post form for users to post on other people’s activity stream’s like buddypress.org, “post something to %”
but the problem is when they do, the @mention goes to the @mention page, <b>I don’t want this to happen!</b>
@boonebgorges post here, http://buddypress.org/community/groups/creating-extending/forum/topic/mentions-show-up-on-personal-activity-streams-like-they-do-here-on-bp-org/#post-77720 About the filters, does not work, when I put in the bp-custom.php file, all <i>other</i> activity disappears accept one @mention appears, and when I post additionally, the @mentions still go to the @mention page.
Maybe we can clear things up in this topic, please help!!!
@nahummadrid, does not work, post from simply does not appear. You are missing pieces.