Search Results for 'theme'
-
AuthorSearch Results
-
March 2, 2009 at 10:41 pm #39086
Burt Adsit
ParticipantHi people. The combo download for RC-1 from buddypress.org is fine in both the zip and tar.gz versions. Everything is where it should be. Just checked.
When does this happen? Clean install, activate the home theme visit the root blog and then you get this error? Or does this only occur when you are in the member theme area such as your profile and then try to visit the home theme? For example you click ‘blog’ or ‘members’ buttons.
I think that something is trashing a WP constant called TEMPLATEPATH that is created in wp-settings.php >> define(‘TEMPLATEPATH’, get_template_directory());
It’s either not getting set correctly or it’s getting fubar’ed later, somehow.
Have you tried activating a different theme for the root blog? Do you get the same error? Try just activating *anything* else other than the bp home theme and then do what you did to reproduce the problem.
Trying to narrow things down. Lemme know.
p.s. I flipped the red light switch on this thread so that others may join in the fun too.
March 2, 2009 at 5:54 pm #39061alainhc
Memberburtadsit, there´s no confusion on the proper location of themes. You can try to install the last release of buddypress and wp mu 2.7 and you´ll see the error.
Thanks to jfcarter for giving one solution.
Alain
March 2, 2009 at 4:41 pm #39055Burt Adsit
ParticipantI think there must be some confusion as to the proper location of themes. See:
https://codex.buddypress.org/getting-started/using-the-buddypress-themes/ for an overview.
You shouldn’t have to rename directories if everything is in the right spots.
March 2, 2009 at 4:08 pm #39047In reply to: Where to find custom themes ?!
danielfelice
Participantcheck out http://www.freebuddypressthemes.com
keep an eye on it over the next month or so
March 2, 2009 at 2:43 pm #39036alainhc
MemberHi. I had the same problem with buddypress, and i had to to what jfcarter suggested: duplicating the buddypress-member directory and naming it buddypress-home. But I think must be a better solution. Anyone knows which version of buddypress doesn´t have that problem?
Alain
March 2, 2009 at 2:22 pm #39035In reply to: Where to find custom themes ?!
Webmatter
ParticipantThank you … will check it out!
March 2, 2009 at 2:18 pm #39034In reply to: BuddyPress For WordPress (Not MU) Coming
David Bisset
Participant@johnjamesjacoby – I wanted to say thanks, but i didn’t catch your name. Thanks! And since this was released at WordPressDenver, I figured the cat was out of the bag already. Andy counts on big mouths like you and me.
Back on topic, I am tending to agree a bit with conceptfusion – many at the BarCampMiami were asking about photos. At the same time, having BP for WP is going to accelerate awareness and demand for BP and creation (or adapting) plugins/themes. This is one “con” that BP had to overcome in order to accomplish that “BP will do for social networks what WP did for blogs” speech I did last Sunday.
March 2, 2009 at 2:03 pm #39033In reply to: Where to find custom themes ?!
ngsonst
Participant@webmatter: take a look here: http://bp-dev.org/phpxref/nav.html?index.html
March 2, 2009 at 12:54 pm #39031In reply to: Where to find custom themes ?!
Webmatter
ParticipantHi, do you know if there is a documentation about template tags that can be used for buddypress themes?
March 2, 2009 at 12:43 pm #39030In reply to: Where to find custom themes ?!
ngsonst
Participanthi,
most likely you have to customize yourself. i dont know a address for premium themes, in my opinion there is non. but you might look here: freebuddypressthemes.com, where daniel felice is trying to build up a place for sharing buddypressthemes.
nicolai
March 2, 2009 at 7:39 am #39023In reply to: BP Avatars in bbPress
John James Jacoby
KeymasterWell, while the GF is in the shower, I’ll quick do this… Burt this is aimed directly at you, since I gather most others won’t want to do this kind of thing…
oci_bb_group_forums.php:
This prevents wrong inclusion order when using deep forum integration.
if (defined(BACKPRESS_PATH))
require_once( BACKPRESS_PATH . '/class.ixr.php' );This will return ALL user info, in the event that bbGroups does not exist yet for that user.
function oci_get_userdata($u){
$u = (int) $u;
$user = bb_get_user($u);
if ($user->bbGroups) {
return stripslashes_deep((array)$user->bbGroups);
} else {
return stripslashes_deep((array)$user);
}
}oci_bp_group_forums.php:
This prevents wrong inclusion order when using deep forum integration.
if (!defined(BBDB_NAME))
require_once(ABSPATH . WPINC . '/class-IXR.php');This is how I passed the user info over from xprofile to bbGroups:
/**
* oci_get_user_filter()
*
* Live example of how to use the filter mechanism to add info to the data going across to bbpress
* This filter adds the user's forums and forums where the user is staff into the $user array
* @return
* @param associative array $user from oci_get_user()
*/
function oci_get_user_filter($user){
$users_group_info = oci_get_users_group_info($user['id']);
$user['users_forums'] = $users_group_info['forum_ids'];
$user['user_is_staff'] = $users_group_info['staff_ids'];
$user['custom_title'] = bp_get_field_data('Custom Title', $user['id']);
$user['signature'] = bp_get_field_data('Signature', $user['id']);
$user['aim'] = bp_get_field_data('AIM', $user['id']);
$user['yahoo'] = bp_get_field_data('Yahoo!', $user['id']);
$user['gtalk'] = bp_get_field_data('GTalk', $user['id']);
$user['msn'] = bp_get_field_data('MSN', $user['id']);
$user['jabber'] = bp_get_field_data('Jabber', $user['id']);
$user['icq'] = bp_get_field_data('ICQ', $user['id']);
return $user;
}
add_filter('oci_get_user','oci_get_user_filter',10,1);oci_bb_custom.php
How I transfer the username (just in case fullname hasn’t been edited from wordpress.org transfer – see above oci_get_userdata changes):
function oci_user_name($u){
$bp_user = oci_get_userdata($u);
if ($bp_user['fullname']) {
return $bp_user['fullname'];
} else {
return $bp_user['display_name'];
}
}bbpress/active-theme/functions.php
What I added to make the custom functions go:
add_filter('get_user_profile_link', 'bppro_user_profile_link', 10, 2);
function bppro_user_profile_link($link, $uid) {
$user = bb_get_user($uid);
return(bb_get_option('wp_siteurl').'/members/' . $user->user_login);
}
function bppro_user_url() {
global $bp;
return($bp->loggedin_user->domain);
}
function bp_check_title($user) {
$user_id = get_post_author_id();
$user = bb_get_user($user_id);
$user_title = $user->bbGroups['custom_title'];
if ($user_title) {
return $user->bbGroups['custom_title'];
} else {
return;
}
}
add_filter('post_author_title', 'bp_check_title');
add_filter('post_author_title_link', 'bp_check_title');
function post_author_signature() {
$user_id = get_post_author_id();
$user = bb_get_user($user_id);
$user_signature = $user->bbGroups['signature'];
if ($user_signature) {
echo '<p class="post-signature">__________<br />' . $user->bbGroups['signature'] . '</p>';
}
}bbpress/active-theme/post.php
Displays avatar from BuddyPress if it exists, else bbPress/Gravatar. Also displays hooked data from above functions.php:
<div class="threadauthor">
<dl>
<dt><a class="oci-link" href="<?php echo oci_user_link($bb_post->poster_id); ?>"><?php echo oci_user_name($bb_post->poster_id); ?></a></dt>
<dd><span class="oci-title"><?php $patl = post_author_title_link(); ?></span></dd>
<dd><?php if (oci_user_avatar($bb_post->poster_id)) { echo oci_user_avatar($bb_post->poster_id); } else { post_author_avatar_link(); }?></dd>
</dl>
</div>
<div class="threadpost">
<div class="poststuff">
<?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> <a href="<?php post_anchor_link(); ?>">#</a> <?php bb_post_admin(); ?><?php bb_quote_link(); ?>
</div>
<div class="post">
<?php post_text(); ?>
</div>
<?php post_author_signature(); ?>
</div>Burt Adsit
ParticipantPlugins *don’t* work in the member theme if that’s what you are looking for. What are you looking for?
March 2, 2009 at 4:45 am #39009In reply to: Fixes for “buddypress-home” theme
John James Jacoby
KeymasterCan’t believe I didn’t catch those. Good finds!
March 2, 2009 at 4:33 am #39008In reply to: Fixes for “buddypress-home” theme
joalbright
MemberWill do. Didn’t know the appropriate way to add this. Thanks.
March 2, 2009 at 1:58 am #38994In reply to: Fixes for “buddypress-home” theme
Trent Adams
Participant@joalbright could you login to https://trac.buddypress.org/ and add this as a ticket using the login from this forum?
Trent
Trent Adams
ParticipantIn terms of the navigation? You would have to edit the header.php of both the buddypress-home theme and the buddypress member theme to change the order as I don’t think the filter works for position for a plugin.
Trent
March 1, 2009 at 9:55 pm #38963In reply to: BP Avatars in bbPress
John James Jacoby
KeymasterI’m doing this via the bbGroups plugin, and some pretty in depth modifications to the bbPress theme.
I’m working on and off with Burt to try and pass BuddyPress xprofile info to bbPress, as my goal is probably the same as yours and most others; to have all information match across the entire website.
We’re working towards that goal, hopefully soon.
March 1, 2009 at 9:33 pm #38960In reply to: Comments not showing…
John James Jacoby
KeymasterThis is an easy one.
@bmg1227, are you using the included theme, or a custom one?
Do me a favor and anywhere in your index.php file in your theme, put
<?php echo "Hello there!" ?>
Then access your post. If you see “Hello There” then my theory is correct, and your single.php file isn’t being accessed.
I think what’s happening is that your functions.php file isn’t divvying out the template file that it should be. Take the functions.php file from the stock BuddyPress Home theme, and copy it into whatever theme you’re using.
Tada!
Burt Adsit
Participantbp is 1.0 release candidate 1 now. Out of beta and almost ready.
You can use any wp plugin you want now in the home theme. Any wp theme you want for your blogs including the wpmu root blog. The member theme is a little different. I don’t know of a timeline for that. You’d have to get an answer from Andy.
March 1, 2009 at 7:36 pm #38948In reply to: Comments not showing…
Trent Adams
ParticipantSorry Brian, I am not sure what you mean exactly. You mean the comment not showing in sitewide feed or what exactly? You mean in the buddypress-home theme?
March 1, 2009 at 6:27 pm #38945In reply to: Can’t upload avatar
kkkforkkk
ParticipantAndy, i’m using the last trunk. That includes the last update you made 4 days ago in member theme(as i can se in the trunk description). So my member-theme is updated. Maybe i can ckeck this wp_nonce()calls? you know how can i check it?
Excuse me for insisting on it, but the error is still there!
There are 2 online site with the same problems. http://www.culturizarte.com and http://www.buddypress-es.org, and maybe some more … I check this two ones, and there is the same problem.
Thanks a lot
March 1, 2009 at 2:18 pm #38938In reply to: BuddyPress Showoff: Post your links
huh
MemberLooks good orbit – Did you have to do much work to get the news theme working?
March 1, 2009 at 9:15 am #38936In reply to: Users Personalised Welcome Screen, widgets etc
willtomsett
MemberI’m building a facebook theme for Buddypress, and this is one of the things I’m trying to integrate into it. I don’t believe it would need a seperate front-end theme, just the same peice of code that appears in the friend activity feed provided in the original install.
February 28, 2009 at 10:06 pm #38918In reply to: Can’t upload avatar
Andy Peatling
Keymasterkkkforkkk: update your member theme, you are missing wp_nonce() calls.
February 28, 2009 at 5:35 pm #38909In reply to: Using BP widgets with a non-BP WPMU theme
sblackburn
MemberThat would be excellent. I plan to make these 2 functions (widgets), BP Recent Blog Posts and Sitewide Activity, the main focus of the home page. Thanks for the quick reply by the way.
-
AuthorSearch Results