Search Results for 'theme'
-
AuthorSearch Results
-
March 18, 2009 at 1:46 pm #40292
In reply to: Widget avatars loose links after ajax call
Burt Adsit
Participantsgrunt, ya I guess you wouldn’t need to mod the widget code, just the theme code. hmm. Well if Andy says it’ll go away by updating to latest trunk then it will. Warning! The theme directories have changed. See: https://buddypress.org/forums/topic.php?id=1675
March 18, 2009 at 1:21 pm #40285Burt Adsit
ParticipantI can’t reproduce this. I know this issue has cropped up before. I remember it now. Did you update your themes also?
March 18, 2009 at 1:13 pm #40283In reply to: Profile Fields – Hide on edit profile
Burt Adsit
ParticipantYou’ll have to modify the member theme functions that display the fields in the profile. That gets generated in: /buddypress-member/profile/profile-loop.php
by the function: bp_the_profile_field_value() in /mu-plugins/bp-xprofile/bp-xprofile-templatetags.php
There’s a filter in there that you can hook: echo apply_filters( ‘bp_the_profile_field_value’, $field->data->value, $field->type, $field->id );
So that you can detect these specific fields and change what gets generated by bp.
March 18, 2009 at 1:01 pm #40282In reply to: How To: adding Links
Burt Adsit
ParticipantLet’s see, are you talking about all the links in the admin menu bar, the member theme or the home theme? It seems you want to know where *all* of them are.
(sigh) Ok.
The admin bar code is in: /mu-plugins/bp-core/bp-core-adminbar.php
The code for the member theme is in: /wp-content/member-themes/buddypress-member
The code for the home theme is in: /wp-content/themes/buddypress-home
March 18, 2009 at 12:45 pm #40279In reply to: Widget avatars loose links after ajax call
Sgrunt
Participanthi Burt, no i’ve not touched nothing outside theme folders, and i’ve seen this issue with other (not mine)bp like: http://ilovewestdavis.com/ or http://sportsblognet.com/
March 18, 2009 at 12:31 pm #40276In reply to: BuddyPress Theme Contest
danielfelice
ParticipantHi Guys,
Theme Contest is going to be extended an extra month! Official annoucement soon!
Thanks
Dan
March 17, 2009 at 8:49 pm #40249In reply to: wp-signup vs register
Simon
ParticipantNot specifically… although I have tried using the loader.php to load styles via custom.css over base.css. No effect. I can’t see a reference to bp_styles() in the buddypress templates anywhere… any idea where should I be looking?
Cheers.
update: Scratch that… found it in member theme. But adding that to the home theme has no effect (and it doesn’t appear to be included in the default bp home theme anyway).
March 17, 2009 at 7:03 pm #40244In reply to: wp-signup vs register
Simon
ParticipantAlso, using a custom theme seems to break the ajax calls for the BuddyPress widgets (groups, members etc.)… clicking the links in these widgets takes you to the respective directory pages rather than refreshing the widgets.
March 17, 2009 at 7:01 pm #40243In reply to: wp-signup vs register
Simon
Participant@Nicola, I’m using the latest SVN build (1228) and I get this same issue.
There’s no doubt this is related to the use of a custom theme but having copied all the neccesary files and functions from both the home and member themes I have yet to discover the missing piece of the puzzle.
March 17, 2009 at 5:39 pm #40230In reply to: wp-signup vs register
Kunkel
ParticipantI had modified the original BP theme, I am going to go slower this time and watch what I can do to see if I can nail down the problem
March 17, 2009 at 5:28 pm #40227In reply to: wp-signup vs register
tamphet
ParticipantFresh install could be a fix. But would it be nice to understand the issue.
I saw many people using custom theme get the same issue, it posted all over the forums. I checked all sites currently running BP. The result is if it does not use BP-theme, the signup page points to wp-signup.php instead of register.
Could this be a BP’s bug?? or Because the theme used does not design for WPMU?
Curriousity…..
March 17, 2009 at 1:53 pm #40207In reply to: wp-signup vs register
Kunkel
Participantand in the home folder here is functions.php
<?php
/* Register the widget columns */
register_sidebars( 1,
array(
‘name’ => ‘left-column’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h2 class=”widgettitle”>’,
‘after_title’ => ‘</h2>’
)
);
register_sidebars( 1,
array(
‘name’ => ‘center-column’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h2 class=”widgettitle”>’,
‘after_title’ => ‘</h2>’
)
);
register_sidebars( 1,
array(
‘name’ => ‘right-column’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h2 class=”widgettitle”>’,
‘after_title’ => ‘</h2>’
)
);
register_sidebars( 1,
array(
‘name’ => ‘blog-sidebar’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h2 class=”widgettitle”>’,
‘after_title’ => ‘</h2>’
)
);
/* Catch specific URLs */
function bp_show_home_blog() {
global $bp, $query_string;
if ( $bp->current_component == HOME_BLOG_SLUG ) {
$pos = strpos( $query_string, ‘pagename=’ . HOME_BLOG_SLUG );
if ( $pos !== false )
$query_string = preg_replace( ‘/pagename=’ . HOME_BLOG_SLUG . ‘/’, ”, $query_string );
query_posts($query_string);
$single_check = strpos( $query_string, ‘&name=’ );
if ( $single_check === false )
bp_core_load_template( ‘index’, true );
else
bp_core_load_template( ‘single’, true );
}
}
add_action( ‘wp’, ‘bp_show_home_blog’, 2 );
function bp_show_register_page() {
global $bp, $current_blog;
if ( $bp->current_component == REGISTER_SLUG && $bp->current_action == ” ) {
bp_core_signup_set_headers();
bp_core_load_template( ‘register’, true );
}
}
add_action( ‘wp’, ‘bp_show_register_page’, 2 );
function bp_show_activation_page() {
global $bp, $current_blog;
if ( $bp->current_component == ACTIVATION_SLUG && $bp->current_action == ” ) {
bp_core_activation_set_headers();
bp_core_load_template( ‘activate’, true );
}
}
add_action( ‘wp’, ‘bp_show_activation_page’, 2 );
/* Hook for custom theme functions via plugins */
do_action( ‘bp_home_theme_functions’ );
?>
March 17, 2009 at 1:52 pm #40206In reply to: wp-signup vs register
Kunkel
Participanthere is the functions.php in the members
<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(
‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ”,
‘before_title’ => ‘<h2 class=”widgettitle”>’,
‘after_title’ => ‘</h2>’,
));
function bp_get_options_class() {
global $bp, $is_single_group;
if ( !bp_is_home() && $bp->current_component == $bp->profile->slug || $bp->current_component == $bp->friends->slug || $bp->current_component == $bp->blogs->slug ) {
echo ‘ class=”arrow”‘;
}
if ( ( $bp->current_component == $bp->groups->slug && $is_single_group ) || ( $bp->current_component == $bp->groups->slug && !bp_is_home() ) )
echo ‘ class=”arrow”‘;
}
function bp_has_icons() {
global $bp;
if ( ( !bp_is_home() ) )
echo ‘ class=”icons”‘;
}
/* Hook for custom theme functions via plugins */
do_action( ‘bp_member_theme_functions’ );
?>
March 17, 2009 at 1:10 pm #40199In reply to: wp-signup vs register
nicolagreco
Participantah ok i understand your problem,
you’ve made new themes (member/home) or not updated, copy the bp hooks and function contained in the current svn in the functions.php of the member theme & home one to your functions.phps
March 17, 2009 at 9:35 am #40189In reply to: members names disappeared in member lists
Andy Peatling
KeymasterChange /wp-content/member-themes/ to /wp-content/bp-themes
March 17, 2009 at 8:09 am #40186In reply to: Modify widget width in default home theme
Marco72
ParticipantAs I can remember, cuz I’m on a mobile, : #center-column has width of 260px, the same is for #right-column, so they are fixed width.
#left-column has only a margin-right of 560px.
Try to change #center-column width:285px and #left-column margin-right: 535px.
March 17, 2009 at 6:55 am #40180Sgrunt
Participanti’m sure it depends on the version your using: i was getting mad to solve it in my local installation with no success: i thought it was a fault of my custom theme. Then i’ve tried my custom theme on my second local installation and all worked fine. I don’t remember how to see the current version number of buddypress, if i know how to see it i can tell you what is the working version.
March 17, 2009 at 6:40 am #40179In reply to: members names disappeared in member lists
Gibcosta
Participanthave now reverted back to RC1 and it’s working ok – had some conflict with All in One SEO plugin as well. Will have another go at it with the plugin disabled – still confused about the error message.
You do not have any BuddyPress themes installed.
Please download the Default BuddyPress Theme and install it in /wp-content/buddypress-themes
March 17, 2009 at 3:14 am #40173In reply to: Blogs with custom domains
Gibcosta
Participantunfortunately this did not work for me, i’d also like to use one wpmu install and run multiple separate domains with buddypress on a subdomain and bbpress, using the inove theme.
see my post on wpmu forum
https://mu.wordpress.org/forums/topic.php?id=11695#post-70149
March 17, 2009 at 2:30 am #40172ztas
MemberHello thanks for your reply.
The only things I’ve changed in the themes are the logo.gif files and the adminbar.gif in bp-core/images, I’ve never touched any php or html file.
Only in footer.php I added google analytics code, just before the </body> tag.
I just tested with the latest unmodified bp-themes (home and member) from SVN.
I also updated all buddypress mu-plugins to this latest SVN.
The sidebar is still in the content div.
Offcourse I cleared browser-cache etc, etc.
oh i know well that …lovely… bug: it happens only when you are not logged in.
Yes you’re right this doesn’t happens when a user is logged in.
Anyway I’ll keep on searching what causes this.
If anyone has some advice, you’re welcome to post.
March 17, 2009 at 1:21 am #40171sounepatoune
MemberWarning: require_once(/home/public_html/wp-content/member-themes/buddypress-member/index.php) [function.require-once]: failed to open stream: No such file or directory in /home/morisus/public_html/wp-includes/theme.php on line 822
Fatal error: require_once() [function.require]: Failed opening required ‘/home/public_html/wp-content/member-themes/buddypress-member/index.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/public_html/wp-includes/theme.php on line 822
How do we address the path issue?
March 16, 2009 at 11:29 pm #40167jayemes
ParticipantThanks for the feedback guys. What I’ve resolved to do was code a new WP blog template to be used exclusively for the blogs on the site while using the default BP for the member pages, similar to the setup of http://testbp.org/
I originally wanted to use BP’s beautifully-created default theme for both the member pages and the blogs, but apparently this cannot be done (which I find shocking)…unless you want to hard-code the BP template. I would do this but it’s simply out of my league and I wasn’t able to find the help on the forum on how to do this.
I signed up for a test account with http://testbp.org and found they aren’t even using the default BP theme for blogs but a generic WP blog theme. I’m surprised because part of the appeal of using BP is that all the components are nicely integrated both in design and functionality. Using the default WP theme for the blog breaks the design aspect and makes the functionality that much more difficult to do for frontend guys like myself.
I’m going to stick with WPMU/BP for now and hope a plugin is made that remembers widget positions for all blogs created, thus allowing me to stick with the default BP theme for blogs, or a non-widgetized version of the default BP theme. I would pay for that to be done and I might have to look into that rather than create a whole new theme for my blogs that doesn’t even keep the look and feel of BP.
March 16, 2009 at 6:09 pm #40152Burt Adsit
ParticipantMake sure you are starting your customization with the latest trunk brad85. I don’t know what ver of bp’s home theme you are customizing. In the latest trunk there are two functions that control what goes on in the login/signup buttons. The bp home theme header.php file calls <?php bp_login_bar() ?>. In that fn it calls bp_signup_page() which you see below:
function bp_has_custom_signup_page() {
if ( file_exists( WP_CONTENT_DIR . ‘/themes/’ . get_blog_option( 1, ‘template’) . ‘/register.php’) )
return true;
return false;
}
function bp_signup_page( $echo = true ) {
global $bp;
if ( bp_has_custom_signup_page() ) {
if ( $echo )
echo $bp->root_domain . ‘/’ . REGISTER_SLUG;
else
return $bp->root_domain . ‘/’ . REGISTER_SLUG;
} else {
if ( $echo )
echo $bp->root_domain . ‘/wp-signup.php’;
else
return $bp->root_domain . ‘/wp-signup.php’;
}
}
Unless you don’t have the register.php file in /themes/<your theme>, or you’ve somehow altered the header calling sequence so this code doesn’t run, then it should work fine. The signup button should not have anything to do with wp-login.php
March 16, 2009 at 6:01 pm #40151In reply to: Can not change the Theme.
stefanovski
Memberthanks
March 16, 2009 at 6:00 pm #40150In reply to: Can not change the Theme.
stefanovski
Memberok…i got it.
-
AuthorSearch Results