Search Results for 'change buddypress menu'
-
AuthorSearch Results
-
September 30, 2011 at 12:57 pm #121554
In reply to: How to edit and add thing to bp adminbar
Tahir Taous
Memberi tried to remove Viisit Radom Member, Random Group And Random Site from BuddyBar successfully, Here is link for you how to make changes, edit BuudyBar.
http://www.funjog.com/learnbuddypress/2011/09/30/how-to-hide-visit-random-group-members-sites-menu-from-buddypress-buddybar/
Hope this will help.September 27, 2011 at 9:43 am #121242In reply to: Am i right to think buddypress is……
Tammie Lister
ModeratorIt opens up social networking and other things besides yes. Where the menu item is though is down to the theme and also up to you if you edit files.
You do not have to change the look of your blog you’d use the template pack to allow your theme to work for BuddyPress. There are some files you’d need in your theme but the template pack solves that.
September 15, 2011 at 1:03 pm #120116In reply to: Is this possible to do? (on a multisite)
mrjarbenne
ParticipantThis is a different plugin than the one that @mercime has mentioned in his response to your query. It may be that the plugin that you are using has not been updated for the new Site Admin vs. Network Admin interface. This change occurred on WP 3.1. You will note that the plugin that you are referencing hasn’t been updated for a while, and suggests compatibility up to 3.0, but not 3.1. This has a tendency to erase menu items, because that “Network” menu you are searching for no longer exists, and has been replaced by a Network Admin Dashboard.
Try the http://wpmututorials.com/news/new-features/multiple-buddypress-social-networks/ mentioned above. You may have more luck.
September 15, 2011 at 2:09 am #120099In reply to: Sidebar is under content on Buddypress pages.
@mercime
ParticipantOpen up activity/index.php and replace at the top:
``with
``at the bottom of activity/index.php, replace the bottom part
``
with
`
`Note: You would also want to change header tag in activity/index.php from
``
with your theme’s header tag for seamless look
``
Save activity/index.php and upload to server. Then do this for the remaining 12 files as indicated in Step Three of this codex page https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
September 9, 2011 at 12:43 pm #119788Boone Gorges
KeymasterWow, this issue is getting weirder.
I have copied your theme but I can’t reproduce the problem. This could have to do with the fact that I don’t have the font files on my system. In any case, I have no idea whatsoever about how a font declaration could cause the sorts of problems you’re talking about.
Just to see if it helps, you might try commenting out the BP javascript that makes the dropdown filters work. Look in buddypress/bp-themes/bp-default/_inc/global.js, around line 542, for the block beginning “When the filter select box is changed re-query”. Comment that out, clear your cache, and try again. (I’m skeptical this will actually get us any closer to the issue, since it sounded like you were having this problem with dropdowns other than this one.)
September 9, 2011 at 2:12 am #119777Quint
Participant@boonebgorges, okay Boone, I’ve spent the last 6 hrs 16 minutes on this. I have determined where the issue is occurring but I do not know how to fix it. But first here’s the calibration I eventually got to: I re-installed WordPress and Buddypress (yep, I’m getting faster reinstalling this stuff).
I created a new child theme; that is, a new style.css file and a new functions.php file to enqueue the child’s style.css file. Here’s the code for my functions.php file:`<?php
function bp_dtheme_enqueue_styles() {
// Bump this when changes are made to bust cache
$version = ‘20110804’;// Default CSS
wp_enqueue_style( ‘bp-default-main’, get_template_directory_uri() . ‘/_inc/css/default.css’, array(), $version );wp_enqueue_style( ‘bp-child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array(), $version );
// Right to left CSS
if ( is_rtl() )
wp_enqueue_style( ‘bp-default-main-rtl’, get_template_directory_uri() . ‘/_inc/css/default-rtl.css’, array( ‘bp-default-main’ ), $version );
}add_action( ‘wp_print_styles’, ‘bp_dtheme_enqueue_styles’ );
?>`
Should be no issue there. With the new stylesheet I started adding back my old code starting at the very top. I didn’t have to go very far at all. It failed at the body selector (at the very bottom of this post); specifically, the @font-face font that the stylesheet loaded. I took it out; I replaced it with verdana or helvetica. No issues. I cycled through all of the @font-face fonts and each one produced the error. Note: The @font-face fonts rendered properly on every page but failed when I clicked on a “dropdown-style” field as described in my first post. Do you have any recommendations? Am I supposed to enqueue the fonts just as I had the stylesheet? If so, how would that be done? Thanks!
Note: I commented out a few declarations in the body selector to help narrow down which declaration could be the issue. And just like Firefox, this works fine in Chrome 13.0.782.220.
`/*
Theme Name: My BP Default Child Theme 1
Theme URI: http://folio.com
Description: This is my first Buddypress Default Child Theme
Author: Quint A. Rahaman, Jr.
Template: bp-default
Tags: buddypress, two-column, grey, dark
*//* RESET – http://meyerweb.com/eric/tools/css/reset/ | v1.0 | 20080212 */
/*
*/body,html{height:100%;}
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:top;background:transparent;margin:0;padding:0;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
:focus{outline:0;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}/* Floating & Alignment */
.fl{float:left;}
.fr{float:right;}
.ac{text-align:center;}
.ar{text-align:right;}/* Clear Floats */
.col-full:after{content:”.”;display:block;height:0;clear:both;visibility:hidden;}
.fix{clear:both;height:1px;overflow:hidden;margin:-1px 0 0;}
html body * span.clear,html body * div.clear,html body * li.clear,html body * dd.clear{background:none;border:0;clear:both;display:block;float:none;font-size:0;list-style:none;overflow:hidden;visibility:hidden;width:0;height:0;margin:0;padding:0;}/* Generated by Font Squirrel (http://www.fontsquirrel.com) on September 8, 2011 */
@font-face {
font-family: ‘FontSiteSansRoman’;
src: url(‘includes/fonts/includes/fonts/fontsitesans-roman-webfont.eot’);
src: url(‘includes/fonts/fontsitesans-roman-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/fontsitesans-roman-webfont.woff’) format(‘woff’),
url(‘includes/fonts/fontsitesans-roman-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/fontsitesans-roman-webfont.svg#FontSiteSansRoman’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘BergamoStdItalic’;
src: url(‘includes/fonts/bergamostd-italic-webfont.eot’);
src: url(‘includes/fonts/bergamostd-italic-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/bergamostd-italic-webfont.woff’) format(‘woff’),
url(‘includes/fonts/bergamostd-italic-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/bergamostd-italic-webfont.svg#BergamoStdItalic’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘BergamoStdRegular’;
src: url(‘includes/fonts/bergamostd-regular-webfont.eot’);
src: url(‘includes/fonts/bergamostd-regular-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/bergamostd-regular-webfont.woff’) format(‘woff’),
url(‘includes/fonts/bergamostd-regular-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/bergamostd-regular-webfont.svg#BergamoStdRegular’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘FontSiteSansCondensed’;
src: url(‘includes/fonts/fontsitesans-cond-webfont.eot’);
src: url(‘includes/fonts/fontsitesans-cond-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/fontsitesans-cond-webfont.woff’) format(‘woff’),
url(‘includes/fonts/fontsitesans-cond-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/fontsitesans-cond-webfont.svg#FontSiteSansCondensed’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘FontSiteSansUltraLight’;
src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot’);
src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/fontsitesans-ultralight-webfont.woff’) format(‘woff’),
url(‘includes/fonts/fontsitesans-ultralight-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/fontsitesans-ultralight-webfont.svg#FontSiteSansUltraLight’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘StMarieThin’;
src: url(‘includes/fonts/stmarie-thin-webfont.eot’);
src: url(‘includes/fonts/stmarie-thin-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/stmarie-thin-webfont.woff’) format(‘woff’),
url(‘includes/fonts/stmarie-thin-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/stmarie-thin-webfont.svg#StMarieThin’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘BergamoStdItalic’;
src: url(‘includes/fonts/bergamostd-italic-webfont.eot’);
src: url(‘includes/fonts/bergamostd-italic-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/bergamostd-italic-webfont.woff’) format(‘woff’),
url(‘includes/fonts/bergamostd-italic-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/bergamostd-italic-webfont.svg#BergamoStdItalic’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘BergamoStdItalic’;
src: url(‘includes/fonts/bergamostd-italic-webfont.eot’);
src: url(‘includes/fonts/bergamostd-italic-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/bergamostd-italic-webfont.woff’) format(‘woff’),
url(‘includes/fonts/bergamostd-italic-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/bergamostd-italic-webfont.svg#BergamoStdItalic’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘BergamoStdRegular’;
src: url(‘includes/fonts/bergamostd-regular-webfont.eot’);
src: url(‘includes/fonts/bergamostd-regular-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/bergamostd-regular-webfont.woff’) format(‘woff’),
url(‘includes/fonts/bergamostd-regular-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/bergamostd-regular-webfont.svg#BergamoStdRegular’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘BergamoStdRegular’;
src: url(‘includes/fonts/bergamostd-regular-webfont.eot’);
src: url(‘includes/fonts/bergamostd-regular-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/bergamostd-regular-webfont.woff’) format(‘woff’),
url(‘includes/fonts/bergamostd-regular-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/bergamostd-regular-webfont.svg#BergamoStdRegular’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘FontSiteSansCondensed’;
src: url(‘includes/fonts/fontsitesans-cond-webfont.eot’);
src: url(‘includes/fonts/fontsitesans-cond-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/fontsitesans-cond-webfont.woff’) format(‘woff’),
url(‘includes/fonts/fontsitesans-cond-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/fontsitesans-cond-webfont.svg#FontSiteSansCondensed’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘FontSiteSansCondensed’;
src: url(‘includes/fonts/fontsitesans-cond-webfont.eot’);
src: url(‘includes/fonts/fontsitesans-cond-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/fontsitesans-cond-webfont.woff’) format(‘woff’),
url(‘includes/fonts/fontsitesans-cond-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/fontsitesans-cond-webfont.svg#FontSiteSansCondensed’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘FontSiteSansRoman’;
src: url(‘includes/fonts/fontsitesans-roman-webfont.eot’);
src: url(‘includes/fonts/fontsitesans-roman-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/fontsitesans-roman-webfont.woff’) format(‘woff’),
url(‘includes/fonts/fontsitesans-roman-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/fontsitesans-roman-webfont.svg#FontSiteSansRoman’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘FontSiteSansRoman’;
src: url(‘includes/fonts/fontsitesans-roman-webfont.eot’);
src: url(‘includes/fonts/fontsitesans-roman-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/fontsitesans-roman-webfont.woff’) format(‘woff’),
url(‘includes/fonts/fontsitesans-roman-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/fontsitesans-roman-webfont.svg#FontSiteSansRoman’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘FontSiteSansUltraLight’;
src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot’);
src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/fontsitesans-ultralight-webfont.woff’) format(‘woff’),
url(‘includes/fonts/fontsitesans-ultralight-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/fontsitesans-ultralight-webfont.svg#FontSiteSansUltraLight’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘FontSiteSansUltraLight’;
src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot’);
src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/fontsitesans-ultralight-webfont.woff’) format(‘woff’),
url(‘includes/fonts/fontsitesans-ultralight-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/fontsitesans-ultralight-webfont.svg#FontSiteSansUltraLight’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘StMarieThin’;
src: url(‘includes/fonts/stmarie-thin-webfont.eot’);
src: url(‘includes/fonts/stmarie-thin-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/stmarie-thin-webfont.woff’) format(‘woff’),
url(‘includes/fonts/stmarie-thin-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/stmarie-thin-webfont.svg#StMarieThin’) format(‘svg’);
font-weight: normal;
font-style: normal;}
@font-face {
font-family: ‘StMarieThin’;
src: url(‘includes/fonts/stmarie-thin-webfont.eot’);
src: url(‘includes/fonts/stmarie-thin-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘includes/fonts/stmarie-thin-webfont.woff’) format(‘woff’),
url(‘includes/fonts/stmarie-thin-webfont.ttf’) format(‘truetype’),
url(‘includes/fonts/stmarie-thin-webfont.svg#StMarieThin’) format(‘svg’);
font-weight: normal;
font-style: normal;}
#sidebar{display:none;}
div#content .padder{margin-right:0px; border-right-width:0px;}body { font-family: ‘FontSiteSansRoman’, helvetica, sans-serif;
/* font-size: 0.75em;
line-height: 1.5em;*/
color: #3e3e3e;
background: url(“images/bg.png”) repeat fixed 0 0 #f6f0d6;
/* max-width: none;
width: 100%;*/
/* position: relative;*/
}`September 8, 2011 at 7:30 pm #119755Boone Gorges
KeymasterHm. I guess if I were you I would start with my child theme’s javascript. Look for something that would activate when a dropdown is changed, possible using the jquery method .change. At the very least, try disabling your child theme’s javascript (just comment it all out for a moment) to verify that that’s where the problem lies.
As it stands, it appears that this is *not* a BuddyPress problem, but is related to your theme – but more investigation on your part will make this clearer.
September 8, 2011 at 7:22 pm #119754Quint
Participant@boonebgorges, I cleared the browser cache and got the same results. I reset Safari, other than my passwords, and got the same results. My parent theme is bp-default. I changed from my child theme to bp-default and the dropdown behaves properly. I haven’t changed any core files. So, now I’m a bit stuck. My child theme works in Firefox but not Safari (for the dropdown). Could you point me in some direction that I can troubleshoot where this could be happening?
In my child’s folder, I have the header, footer, and functions php files, the style.css file, an images folder, and an “includes/fonts” folder for the @fontface fonts that style.css loads. I have not edited any of the parent’s files.
Thanks!
August 30, 2011 at 9:41 pm #119295In reply to: Buddypress Admin Bar/Menu Changes
jcampbell120
MemberHi, I wasn’t expecting somebody to just write a couple of hundred lines of code for this to work. Just wanted to bat around a few ideas with some like minded people is all. Appreciate the link, very useful and it gives me something to work on. Just thought that more people would want this sort of implementation on their site.
cheers.
August 30, 2011 at 8:54 pm #119291In reply to: Buddypress Admin Bar/Menu Changes
@mercime
Participant@jcampbell120 99.9% of those who help out at buddypress.org are volunteers and what you’re asking for cannot be done within 10 minutes. If you’re not being helped within 25 hours, feel free to bump, but no arrogance please. In the meantime, check out Michael’s method which could be helpful to you http://www.michaelkuhlmann.com/tutorials/customizing-admin-bar/
August 30, 2011 at 12:17 am #119224In reply to: Buddypress Admin Bar/Menu Changes
jcampbell120
MemberNobody wants to do this? Really?!?!
August 20, 2011 at 2:37 am #118764In reply to: How to edit the Buddypress default theme navigation?
@mercime
ParticipantOne way to change the menu links would be to hardcode the links you want there. This would mean copying the header.php file from bp-default theme into your child theme folder.
Another way is to set up a new custom menu which would involve creating a functions.php in your child theme and copying over the header.php from bp-default theme into your child theme folder. The following should help you get wp_nav_menu going in your theme http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus
August 19, 2011 at 11:04 pm #118757In reply to: How to edit the Buddypress default theme navigation?
5227699
Inactivesorry…WP 3.2.1, BP 1.2.9
bp-default child theme
I want to be able to choose what shows in the menu and currently I have no idea how to do this…I also would like to edit the look of it, change to an image maybe? Not sure yet…but right now I have no clue how to even start being able to tweak that menu bar.August 16, 2011 at 2:25 pm #118524In reply to: BuddyPress 1.5 compatibility for plugins and themes
Boone Gorges
Keymaster@foxly and others – Just wanted to drop a note about a recent commit https://buddypress.trac.wordpress.org/changeset/4977 where I made a minor adjustment to the new load order that should help a lot with plugin backward compatibility. In particular, plugins that are using the (old and incorrect but functional in 1.2.x) method of hooking their global and nav setup routines to ‘wp’ and ‘admin_menu’, which wasn’t working in earlier revs of BP trunk, should now be working. See https://buddypress.trac.wordpress.org/ticket/3476 for more explanation.
That said, you should do the right thing and update your plugin so that it does it correctly: set up your globals at bp_setup_globals and your nav at bp_setup_nav!
August 14, 2011 at 9:50 pm #118437In reply to: Customizing profile page.
Stigmartyr
MemberEditing the language file will help you change the displayed text.
If you want to remove something DJPaul just shared a method with us here: https://codex.buddypress.org/extending-buddypress/bp-custom-php/
There is also a style sheet hack that I used, it’s posted here: https://buddypress.org/community/groups/achievements/forum/topic/remove-achievement-link-from-menue-bar/#post-106447
August 11, 2011 at 10:35 pm #118233In reply to: BuddyPress 1.5 compatibility for plugins and themes
Tosh
ParticipantHi, I’m the creator of the CubePoints Buddypress Integration plugin. I updated my test site to WP 3.2.1 and BuddyPress 1.5 Beta 2.
I moved the admin menu to be under Cubepoints a few versions back so that still works. The items in the BuddyPress Admin menu are still there but when I go to the cubepoints pages on the front end (profile) I get “Page not found”.
This is what I have for the link
$cubepoint_link = ($bp->displayed_user->id ? $bp->displayed_user->domain : $bp->loggedin_user->domain) . $bp->cubepoint->slug . ‘/’;
Based on this I tried this…
$cubepoint_link = bp_get_root_domain() . ‘/’ . $bp->cubepoint->slug . ‘/’;
This is the result:
My Account > Points = http://test.mysite.net/members/xberserker/logs/
Which is correct URL wise but still shows “Page not found”
If I go to
My Account > Points > My Points (anything in the submenu) = http://test.mysite.net/logs/points/
What do I need to do? Here is my file so far. What I changed is line 131
Also on my site site I get redirected to my home page when I tried to navigate to the activity streams for myself or the global one. On how the forums work now. If a group is private/hidden are the forum topics only visible to those in the group?
August 10, 2011 at 4:55 pm #118144In reply to: BuddyPress 1.5 user fullname save/show errors
juanmaguerrero
ParticipantI found what’s triggering the Issue. I had changed the names of the profile fields from the admin menu (which should not break this anyway
). Changed the Profile Field Group “Base” and the default input “Name” for “Info” and “Full Name” respectively. That broke the saving data system.Hope the core developers cant fix this, thanks!
August 10, 2011 at 7:16 am #118119In reply to: how to remove a page from buddypress nav menu
porkchops1987
MemberThanks for your reply i started with a new theme and was able to just comment them out. I have now coded in one of the pages where i want it (in front of members) and i have used a plugin to remove the WordPress created page (of same name). However now when i select it it does not indicate on the menu as being the currently selected page.
( bp_is_page( BP_PROJECTS_SLUG ) ) : ?> //i think this statement is wrong because —->
THIS DIDNT WORK PROPERLY I HAD TO CODE IN LINK MANUALLY
<li class=”selected”>
<a href="//” title=””>MANUALLY
<li class=”selected”>
<a href="/projects/” title=””>( bp_is_page( ‘projects’ ) ) : ?>
( bp_is_active( ‘projects’ ) ) : ?>
i tried all these conditions but it still doesnt work.
i have also used this code in my functions.php (its from another forum post, maybe i havent used it right?) —->
<?php
/*Define slugs*/
define(‘BP_PROJECTS_SLUG’, ‘projects’); /* this will show up as http://yourdomain.com/projects *//*Add slug as a root component*/
function page_setup_root_component()
{
bp_core_add_root_component( BP_PROJECTS_SLUG );
}
add_action( ‘plugins_loaded’, ‘page_setup_root_component’, 2 );/*Show defined slug*/
function bp_show_page() {
global $bp, $current_blog;if ( $bp->current_component == BP_PROJECTS_SLUG && $bp->current_action == ” ) {
bp_core_load_template( ‘projects’, true ); /*replace example with the name that of the template you upload*/
}
}
add_action( ‘wp’, ‘bp_show_page’, 2 );/*For extra functionality you can add a title for that page*/
function page_titles( $title, $b ) {
global $bp;if ( $bp->current_component == BP_PROJECTS_SLUG && $bp->current_action == ” ) {
$title = __( ‘Projects’, ‘buddypress’ ); /*change Example with what you want the title of your page to be*/
}
return $title;
}
add_filter( ‘bp_page_title’, ‘page_titles’, 10, 2 );?>
August 10, 2011 at 2:42 am #118103In reply to: Change single tab colour
@mercime
Participant@naijaping you’d have to add classes to the links you wanted to highlight to change the link color of each link. Or, you might want to change navigation links to use wp_nav_menu where you could easily target the links to implement your customizations. Here’s an easy tutorial on adding wp_nav_menu to your theme http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus
August 8, 2011 at 6:32 pm #118000In reply to: Change single tab colour
@mercime
Participant@naijaping what theme are you using and how are nav items generated in your theme? If you’re using child theme of bp-default, there are CSS classes automatically which you can target for styling currently selected items.
For BP 1.2.9 there’s .selected and .current_page_item classes
`ul#nav li.selected a, ul#nav li.current_page_item a {
background: #f5f5f5;
color: #555;
}`For upcoming BP 1.5 bp-default using wp_nav_menu, there’s .selected, .current-menu-item, .current_page_item, and even current_page_ancestor
`#nav li.selected a,
#nav > li.current-menu-item a,
#nav > li.current_page_item a,
#nav > li.current_page_ancestor a {
background: none repeat scroll 0 0 #F5F5F5;
color: #4D4D4D;
}`August 3, 2011 at 9:59 pm #117604In reply to: Frisco Child Theme
Micheal Kennedy
ParticipantThanks @davidtcarson for the best BP theme to date! A few issues, though:
1. Need support for sidebar/widgets.
2. Main nav tabs on the Activity Stream page looks like they’re missing some CSS, they’re not centered properly for me (using Ubuntu 10.04/Chrome 13). Changing default.css on line 2710 to:
div.item-list-tabs ul li a, div.item-list-tabs ul li span {
display: block;
padding: 5px 10px 10px 10px; /* Changed from: padding: 5px 10px; */
text-decoration: none;
}made it look better.
3. Too much white space: too much use of margins and padding, especially on activity updates. (BP Default has this problem, too.)
4. When pages/menus are hierarchical and you create a drop down menu, it’s hidden by the Activity Stream text box (or whatever happens to be underneath it.
5 Layout is too wide. Just a CSS thing, but make sure things fit into the layout properly when the width is changed. Very wide layouts aren’t in style, especially for “social networking-related” websites. It’s awkward and uncomfortable lol. Perhaps you might want to change it so that things look right when the layout’s width is changed to 960px or so.
6. The Buddy Bar doesn’t extend all the way to the left and right on large screens (at least it didn’t for my other computer with a larger square monitor.) The CSS in buddybar on line 1:
body#bp-default #wp-admin-bar .padder {
min-width: 960px;
max-width: 1250px;
}had to be changed, I had to uncheck “max-width: 1250px;” for it to extend all the way on both sides.
7. When you have bbPress installed and sidebar widgets activated (which only appear on bbPress pages)
needs a fixed width or something on the bbPress topic edit page, because it extends underneath of the sidebar, and you can’t click on the Submit button. (I have to go into Inspect Elements and delete the sidebar in order to update a topic lol.) But all other bbPress pages seem to be fine, though.8. BP pages, WP pages, and bbPress pages are inconsistent with their design. BP pages are wide and have no left and right side (ie. http://allmad.org/lol/), while bbPress and WP pages have spaces along the top and sides (i.e. http://allmad.org/lol/forums/forum/rants/) – which, I think, looks much better because it’s makes the header stand out more, and it’s easier to understand since the pages are then separated from the header, rather than BP pages where they’re not. Oh, and bbPress /forums/ page isn’t styled (i.e. http://allmad.org/lol/forums/)
July 30, 2011 at 3:16 pm #117214Paul Wong-Gibbs
KeymasterSome of the changes you will need to make in your own theme. To start, have you turned off the BuddyPress Components that you aren’t using? Find these in wp-admin, in the BuddyPress menu, under “Settings.”
July 24, 2011 at 7:41 am #116839@mercime
Participant@donmcint go to dashboard menu Appearance > Header > Change image and background color there.
July 18, 2011 at 9:56 am #116477In reply to: Members’ privacy: how can I hide members’ profiles?
dude
Memberthe finger of suspicion
anyway, moving on from this
I cant post a new topic on here so this is the only place i can start a new topicdoes anyone know why my site has decided to shift to the left, and this ‘random’ drop down menu has
appeared from outta no where in the top right hand side of the page..?It’s making the site look dumb, also when logged in if I click on a members name I get logged outta the site but if I click their profile pic it goes to their profile..?
sorry about the topic change but buddypress.org has got the flu or something lol
cheers
June 17, 2011 at 8:45 pm #114728In reply to: forum setup
Clare Parkinson
MemberHi Joanquingrech.
You can change any of the labels and messages in BuddyPress to whatever you want by making a customized language file. This article explains what to do: http://wpmu.org/basic-guide-to-creating-a-buddypress-language-file-for-sitewide-label-and-message-editing/
I like thinking of groups as “categories” myself. If you change them to “categories” or “topics” in the language file, then they can be geographical areas, or guilds, or whatever you want.
You can remove “groups” from the menu by creating a custom menu in WordPress that doesn’t have a ‘Groups’ tab.
Normally, users would join the groups themselves by clicking on the “join group” button, but as an admin you can move users around as you want between groups.
I can’t advise you on the theme for the forum appearance. I’m just going to edit the stylesheet myself to set mine up how I want.
cheers,
Clare
-
AuthorSearch Results