Search Results for 'theme'
-
AuthorSearch Results
-
November 17, 2011 at 10:08 am #124584
In reply to: How do you crop an image for your avatar?
laurienicholas
MemberHi Fraser,
You should be given a crop screen after uploading your avatar where you can drag a square over the portion of the image you’d like to use.
If this is not the case it sounds like an issue with the theme you’re using – you’re best getting in touch with the people that developed it. Alternatively you can activate the default buddypress theme and try to customise that to suit your needs.
Hope this helps,
LaurieNovember 17, 2011 at 8:08 am #124581jugularbean
ParticipantHi, just found this post and tried adding the line of code to my functions.php but it doesn’t get rid of the view dropdown.
I added the line of code
`remove_action( ’bp_adminbar_menus’, ’bp_adminbar_random_menu’, 100 );`to the file /wp-content/themes/[theme name]/functions.php
Is this correct?
November 17, 2011 at 7:10 am #124580Paul Wong-Gibbs
Keymasteralphonse.tan, what is the slug/name of the page that you’ve assigned to the “Groups” component in wp-admin > BuddyPress > Components? Changing that should update menus etc
November 17, 2011 at 5:35 am #124572In reply to: Unable to post new group forum topic
pearl_123
MemberThanks for reply,
I am using Frailespatique Theme 1.2 from theme forest.
Wordpress Version 3.2.1
BP VERSION 1.5.1
PLUGIN
BuddyPress Admin Bar Mods
BuddyPress Community Stats
BuddyPress Member Profile Stats
Buddypress Sidebar
Buddypress Widget Pack
BuddyPress Template Pack
BBpress Latest Discussionsthanks
November 17, 2011 at 2:45 am #124565alphonse.tan
Member@davidtcarson bravo to your theme.. i am currently using it with a wp 3.2.1 and bp 1.5.. it’s practically working fine.. and i am very happy with it..
there’s just one thing.. i converted all “groups” into “companies” and with the bp-default theme menus each and every link is working.. but with the frisco sub-menu… (please refer to this page..http://www.entrepnegosyo.com/members/alphonse/companies/) you can see that, it is still saying “Groups” and not “Companies”.. i have been searching from within the bp-default theme and within our great theme.. but to no avail..
Any assistance to point me in the right direction would be most appreciated..
Thanks and more power…
November 17, 2011 at 1:55 am #124564In reply to: How to edit the Buddypress default theme navigation?
November 17, 2011 at 1:39 am #124563In reply to: How to edit the Buddypress default theme navigation?
dude
Membermany thanks @aces !!
respect man
I haven’t tried it yet as I wanted to see if there was an alternative way of backing up just the file/s I am working on, in the past, I’ve encountered site breaks during custom, and have developed a bad habit of doing full cpanel backups following these breaks. This has led to me losing several new member registrations on my site.
Is there an alternative method I can adopt – i.e. doing a copy of file first and saving it to a backup folder for instance, so that if something goes wrong I can just replace the file instead of restoring the whole public_html directory?
excuse my lack of back-ticks, it’s been a while..I’m a bit rusty lol
November 17, 2011 at 12:31 am #124562modemlooper
ModeratorI would do it as another theme bundled in the plugin if its getting put into core. I suggested header/ no header and left or right sidebar as options.
November 17, 2011 at 12:28 am #124561In reply to: Unable to post new group forum topic
modemlooper
ModeratorYou should give more detail on your install, what plugins, what theme, versions… etc.
November 17, 2011 at 12:27 am #124560Boone Gorges
KeymasterWhether/whenever theme compatibility is fully implemented in BP, bp-default will have to stay around, in some form or other, for the purposes of backward compatibility. If the kind of rewrite that you’re talking about is able to maintain this backpat, I don’t see any reason why what you’re proposing couldn’t become part of bp-default itself.
“Decisions not options” is a nice general strategy, but I’m unwilling to dismiss the possibility of including some well-chosen theme options just because of that strategy. If you can come up with some simple options that help you achieve your goals, please feel free to pitch them.
As for your last question, bp-default is licensed under the same GPL as the rest of BP, so you can do whatever you’d like with it
November 16, 2011 at 10:22 pm #124556Paul Wong-Gibbs
KeymasterWhile you’re thinking about this, remember that 1.7 is going to have templating like bbPress has.
> Other ideas could be build in some simple theme options like Twenty-Eleven does.
Decisions, not options.November 16, 2011 at 8:45 pm #124552kols
MemberThanks aces, maybe i´m a little bit slow , but my /bp-themes/bp-default/header.php says just what I wrote before, I download another copy of buddypress to see if it was different but is the same file that I have described to you.
Should I copy the code that you send me, in my header.php file?
Thank you!November 16, 2011 at 8:14 pm #124551November 16, 2011 at 8:06 pm #124550kols
MemberThanks for all the answers.
I´m using bp-default theme with the child theme that i have created just with the files that i have modified,
So I just have style.css in my-child-theme folder and the file called header.php from bp-default just says this.
`> id=”bp-default”>false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>`
I have checked the previous answers but i could not find the header code.
I want to be able to edit things like sites title, etc…
thanks!November 16, 2011 at 4:19 pm #124532In reply to: How to edit the Buddypress default theme navigation?
aces
Participantin the bp-default header ( should be line 46 – 48 )
`false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>`
replace it in your child theme with something like
`<?php
if ( is_user_logged_in() ) {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) );
} else {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => false ) );
}
?>`
as it is the last parameter, I don’t think false has a comma after it in this context….Make sure you back up before any edits in case something goes wrong!
nb: to use code on buddypress.org put backticks ` (normally above tab key) before and after…
November 16, 2011 at 3:55 pm #124530In reply to: How to edit the Buddypress default theme navigation?
dude
Memberso to clarify: in my header.php (child theme) replace..
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) );
with:
<?php
if ( is_user_logged_in() ) {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
} else {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => false,
}
?>I’ve just checked my header.php and it appears to be worded slightly differently actually..? for example:
false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>
November 16, 2011 at 3:04 pm #124523In reply to: Display age on profile page
saule
Member@SBrajesh I tried the codes you gave, but
I got an error when put in echo:
Fatal error: Call to undefined method DateTime::diff() in /home/dom/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/functions.php on line 377Line 377 is this – $diff= $current_date_time->diff($dob);//returns DateInterval object
Any idea how to correct that?
Thanks.November 16, 2011 at 2:19 pm #124521In reply to: Source code
Paul Wong-Gibbs
KeymasterYou’ve got the right idea. You can tell from the markup, CSS, and javascript, unless it is has been heavily customised. Which for h-mag, it has (http://www.h-mag.com/wp-content/themes/hmag/style.css)
November 16, 2011 at 12:48 pm #124519In reply to: Show favourite count after each activity?
ankurm
Member@liesl1698 paste it in your theme’s functions.php
November 16, 2011 at 9:30 am #124508In reply to: 1.5 Language, Child Theme and Multisite
kenrichman
ParticipantDid you get this working? I have the exact same issue.
BP 1.5, and a child theme using BP template pack.
I have successfully used a language file on another site (BP 1.2.
so I thought I understood the process.
Has something changed in the way language files are handled in 1.5?November 16, 2011 at 8:33 am #124505meg@info
ParticipantLook in header.php of your theme , the code in header.php is look like that
Code:<?php
/**
* theme theme_name
*
* @package packagename
* @subpackage subpackagename
* @since my HTML 5 theme
*/
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="content-type" content="<?php bloginfo(‘html_type’) ?>; charset=<?php bloginfo(‘charset’) ?>" />
<title><?php bp_page_title() ?></title>
<meta name="home" content="<?php bloginfo(‘url’) ?>" />
<meta name="url" content="<?php bloginfo(‘wpurl’) ?>" />
<?php do_action( ‘bp_head’ ) ?><?php if ( function_exists( ‘bp_sitewide_activity_feed_link’ ) ) : ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> | <?php _e(‘Site Wide Activity RSS Feed’, ‘buddypress’ ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
<?php endif;?><?php if ( function_exists( ‘bp_member_activity_feed_link’ ) && bp_is_member() ) : ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> | <?php bp_displayed_user_fullname() ?> | <?php _e( ‘Activity RSS Feed’, ‘buddypress’ ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
<?php endif;?><?php if ( function_exists( ‘bp_group_activity_feed_link’ ) && bp_is_group() ) : ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> | <?php bp_current_group_name() ?> | <?php _e( ‘Group Activity RSS Feed’, ‘buddypress’ ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
<?php endif;?><link rel="alternate" type="application/rss+xml" title="<?php bloginfo(‘name’);?> <?php _e( ‘Blog Posts RSS Feed’, ‘buddypress’ ) ?>" href="<?php bloginfo(‘rss2_url’);?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo(‘name’);?> <?php _e( ‘Blog Posts Atom Feed’, ‘buddypress’ ) ?>" href="<?php bloginfo(‘atom_url’);?>" />
<link rel="pingback" href="<?php bloginfo(‘pingback_url’);?>" />
<?php wp_head();?>
</head><body <?php body_class() ?> id="bp-default">
<?php do_action( ‘bp_before_header’ ) ?>
..…
<:!– header content –>
….<?php do_action( ‘bp_after_header’ ) ?>
<?php do_action( ‘bp_before_container’ ) ?>November 16, 2011 at 8:12 am #124504modemlooper
Moderatorheader.php contains the header code. wp-content/plugins/buddypress/themes/bp-default
November 16, 2011 at 6:45 am #124501In reply to: Favorites not working – Page not Found error
sam99077
Member@mercime I´ve the same problem. I´m using single WP 3.2.1 and BP 1.5.1 (BP Template Pack + Followers Plugin). I always get a page not found error when I try to load my followers list, the activity of my followers (and the people I´m following). Problem is gone when I change to bp-default theme. Can you please help, what can I do to make it work with the theme I´m using (mymag)???
November 16, 2011 at 5:09 am #124500In reply to: [Resolved] Steps for theme compatibility not working
jugularbean
ParticipantThanks
November 15, 2011 at 10:39 pm #124488In reply to: Enable Image Uploads in Update Comments
Paul Wong-Gibbs
KeymasterThis must be part of your custom theme; it’s not part of BuddyPress core.
-
AuthorSearch Results