Search Results for 'buddypress'
-
AuthorSearch Results
-
March 11, 2013 at 11:21 pm #156092
In reply to: [Resolved] buddypress.css not working properly?
Kyle H
Participant@bphelp Yes the current structure is /mytheme/css/buddypress.css.
Any other ideas? I’d really like to get this working.
March 11, 2013 at 11:04 pm #156090modemlooper
ModeratorThere is also bp_is_activity_component()
March 11, 2013 at 10:59 pm #156088modemlooper
ModeratorMarch 11, 2013 at 8:36 pm #156084In reply to: BP-default theme funky on secondary blog
Ben Hansen
Participantyeah idk but i do know that it’s meant for the primary site none of the buddypress stuff would do anything on the sub-sbites anyway.
March 11, 2013 at 8:27 pm #156082akgt
ParticipantYes I have, but i’ve had no reply.
March 11, 2013 at 7:43 pm #156079In reply to: [Resolved] BuddyPress and Constructor theme
Hugo Ashmore
ParticipantOh and you ought really to ask this question of the theme authors, as they are the ones that have diverged from the norm so are best placed to understand or know how they have and how that has been done and suggest an approach you can take. They just need to know that BP attempts to use the standard WP templates and the content loop replaced with BP content.
Failing all the above you may need to fall back on the older method of overloading BP templates into your child and ensuring the markup matches to the themes markup.
You may like to look through the codex to see if the constructor theme has been template packed by Mercime.
March 11, 2013 at 7:38 pm #156078In reply to: [Resolved] BuddyPress and Constructor theme
Hugo Ashmore
Participantand what is in this file:
// load one of layout pages (layouts/*.php) based on settings
get_constructor_layout(‘page’);This is going to be a problem with these frameworks that break with the normal WP methods for their own approach to templating and where users are going to have to figure out how to deal with this.
You could try creating a file named buddypress.php in your theme root and in that file copy the contents of what ever is in layouts/page.php but that file may also not be standard.
March 11, 2013 at 6:53 pm #156077In reply to: [Resolved] BuddyPress and Constructor theme
randerson1228
Participantsingle.php
/**
* @package WordPress
* @subpackage Constructor
*/
// requeried comments
wp_enqueue_script( ‘comment-reply’ );// load header.php
get_header();// load one of layout pages (layouts/*.php) based on settings
get_constructor_layout(‘single’);// load footer.php
get_footer();Just a note:
open and close php are removed as I think that is causing the entire file to not show up…March 11, 2013 at 6:51 pm #156076In reply to: [Resolved] BuddyPress and Constructor theme
randerson1228
Participanthmm… dont know where they go to…
index.php…
/**
* @package WordPress
* @subpackage constructor
*/
// Stupid Parser This is Theme support the Gravatar Service
// get_avatar();// load header.php
get_header();// load one of layout pages (layouts/*.php) based on settings
get_constructor_layout(‘index’);// load footer.php
get_footer();March 11, 2013 at 6:50 pm #156075In reply to: [Resolved] BuddyPress and Constructor theme
randerson1228
ParticipantAnd here is index.php…
March 11, 2013 at 6:49 pm #156074In reply to: [Resolved] BuddyPress and Constructor theme
randerson1228
Participanthmm… I pasted all three, but only one showed up.. 2nd try… here is single.php…
March 11, 2013 at 6:47 pm #156073In reply to: [Resolved] BuddyPress and Constructor theme
randerson1228
ParticipantHere is single.php…
Here is Page.php
<?php
/**
* @package WordPress
* @subpackage Constructor
*/
wp_enqueue_script( 'comment-reply' );// load header.php
get_header();// load one of layout pages (layouts/*.php) based on settings
get_constructor_layout('page');// load footer.php
get_footer();Here is index.php…
Where should I look next and what should I change?
Thanks for your help.
Cheers
RoyMarch 11, 2013 at 5:51 pm #156068In reply to: [Resolved] CSS help for member directory
bp-help
Participant@naijaping @mercime
Okay I finally got it. Not certain it is totally right but it looks good in both chrome and firefox. I did have to create a div class in the members-loop.php called user-location surrounding the code from step 3 in the tutorial to be able to style it. The changes I made are in the below css in case anyone wants to try this. I also included a pic at the bottom to show the end result. Thank you both for your help! Cheers!
`
/*
Theme Name: BuddyPress Child
Theme URI: http://example.com/
Description: Child theme for the BuddyPress Default theme
Author: bphelp
Author URI: http://example.com/about/
Template: bp-default
Version: 1.0
Tags: blue, buddypress, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, fixed-width, light, right-sidebar, rtl-language-support, sticky-post, threaded-comments, translation-ready, two-columns, white
*/
/*————————————————————-
Custom CSS
————————————————————–*/
@import url(“../responsive/style.css”);/* Custom member loop avatar styling */
#members-dir-list img.avatar {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
-webkit-box-shadow: 0 1px 0 #fff;
-moz-box-shadow: 0 1px 0 #fff;
box-shadow: 0 1px 0 #fff;
}#members-dir-list a:hover img.avatar {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
filter: grayscale(100%);
-webkit-transition: -webkit-filter 0.2s ease-in-out;
-moz-transition: -moz-filter 0.2s ease-in-out;
transition: filter 0.2s ease-in-out;
}#members-list li {
overflow: auto;
list-style: none;
float: left;
width: 30%;
margin: 20px 20px 28px 0;
border: 0;
}#members-dir-list ul.item-list li div.item-title, #members-dir-list ul.item-list li h4, #members-dir-list ul.item-list li div.item-meta
{
width: 62%;
text-align: center;
}
.user-location {
width: 62%;
text-align: center;
}#members-dir-list ul.item-list li div.item-title {
font-size: 110%;
}#members-dir-list ul.item-list li div.item-meta {
text-transform: uppercase;
font-size: 80%;
}#members-dir-list ul.item-list li img.avatar {
margin-bottom: 8px;
}#members-dir-list a.friendship-button.add {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
border: 5px solid #89ac48;
font-size: 26px;
font-weight: bold;
background: #a5d156;
color: #ffffff;
line-height: 50px;
margin: 18px 102px 0 0;
}#members-dir-list a.friendship-button.is_friend.remove {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
border: 5px solid #CC0000;
font-size: 26px;
font-weight: bold;
background: #FF5050;
color: #ffffff;
line-height: 50px;
margin: 18px 102px 0 0;
}ul#members-list.item-list li div.action {
text-align: center;
overflow-y: hidden;
top: 18px;
right: 6px;
}#member-dir-count-bottom {
display: none;
}
/* End Custom member loop avatar styling */
`
March 11, 2013 at 5:38 pm #156065In reply to: [Resolved] BuddyPress and Constructor theme
Hugo Ashmore
ParticipantThis is a problem with your theme.
BP theme compatibility is designed to automagically use standards WP templates if certain custom ones aren’t found, assuming you haven’t created any custom files in your theme BP is looking for these files in this order:
page.php
single.php
index.php
If you theme does not have these or use one in a standard manner then you may well get a screwy layout, but it’s going to be very hard to tell you what is going on with a third party theme like this.
Looking at BP pages I can see straight away something not quite right as there is a distinct lack of WP/BP body classes that I would expect to see.
You’re going to need to look those standard files above, determine which is being used by BP components in theme compat mode then try and work out what your framework is using to generate your general page.php page views i.e what file is used when you create a WP ‘page’.
March 11, 2013 at 4:10 pm #156059In reply to: [Resolved] buddypress.css not working properly?
bp-help
Participant@cikez did you copy the buddypress css directory folder as well as its contents to the root of your theme? If I am correct it needs to maintain its directory structure so in the root of your theme if you copied it correctly there will be a folder named css and inside it will contain buddypress.css
March 11, 2013 at 3:55 pm #156058In reply to: [Resolved] buddypress.css not working properly?
Kyle H
ParticipantI am using an Artisteer theme. I am not sure what other information you need. I am moving the buddypress.css file to a folder /css/ in my themes directory. If i do not move it over everything looks ok, but as soon as I move buddypress.css over it seems to remove all styling from the default BP install.
Thanks.
March 11, 2013 at 3:43 pm #156057In reply to: 1.7 can't see buddy press layouts in my theme
carlh1
ParticipantThanks Hugo, what exact file are you talking about? the page “groups” is assigned to the “groups” in buddypress settings. Do you just want the source from view source in my browser? I dont’ think that’s what you are asking for. Where exactly can I find the file Paul was asking for? Is it in the editor, or do I need to ftp to find it? Is it in the buddypress plugin directory?
March 11, 2013 at 3:09 pm #156054In reply to: [Resolved] buddypress.css not working properly?
bp-help
Participant@karmatosed Actually I got confused because I have various installations of WP and BP on my localhost. Actually on my WP 3.5.1 install and BP 1.7b1 install using a child theme of “Responsive” I just use my child themes style.css to overide any buddypress css that I need too. Reason I do this is so if the “Responsive” theme gets updated then my child themes styles stay intact. Make sense?
March 11, 2013 at 2:50 pm #156053In reply to: [Resolved] CSS help for member directory
bp-help
Participant@naijaping @mercime
I removed #buddypress from the css and here is what my style.css looks like:
`
/*
Theme Name: BuddyPress Child
Theme URI: http://example.com/
Description: Child theme for the BuddyPress Default theme
Author: bphelp
Author URI: http://example.com/about/
Template: bp-default
Version: 1.0
Tags: blue, buddypress, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, fixed-width, light, right-sidebar, rtl-language-support, sticky-post, threaded-comments, translation-ready, two-columns, white
*/
/*————————————————————-
Custom CSS
————————————————————–*/
@import url(“../responsive/style.css”);/* Custom member loop avatar styling */
#members-dir-list img.avatar {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
-webkit-box-shadow: 0 1px 0 #fff;
-moz-box-shadow: 0 1px 0 #fff;
box-shadow: 0 1px 0 #fff;
}#members-dir-list a:hover img.avatar {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
filter: grayscale(100%);
-webkit-transition: -webkit-filter 0.2s ease-in-out;
-moz-transition: -moz-filter 0.2s ease-in-out;
transition: filter 0.2s ease-in-out;
}#members-list li {
overflow: auto;
list-style: none;
float: left;
width: 30%;
margin: 20px 20px 28px 0;
border: 0;
}#members-dir-list ul.item-list li div.item-title, #members-dir-list ul.item-list li h4, #members-dir-list ul.item-list li div.item-meta
{
width: 100%;
text-align: center;
}#members-dir-list ul.item-list li div.item-title {
font-size: 110%;
}#members-dir-list ul.item-list li div.item-meta {
text-transform: uppercase;
font-size: 80%;
}#members-dir-list ul.item-list li img.avatar {
margin-bottom: 8px;
}#members-dir-list a.friendship-button.add {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
border: 5px solid #89ac48;
font-size: 26px;
font-weight: bold;
background: #a5d156;
color: #ffffff;
line-height: 50px;
}#members-dir-list a.friendship-button.is_friend.remove {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
border: 5px solid #CC0000;
font-size: 26px;
font-weight: bold;
background: #FF5050;
color: #ffffff;
line-height: 50px;}
ul#members-list.item-list li div.action {
text-align: center;
overflow-y: hidden;
top: 18px;
right: 6px;
}
/* End Custom member loop avatar styling */
`
Here is another pic to see the changes but it still needs some adjusting.

Hope you guys can help! I appreciate the help you have given so far! Thanks!March 11, 2013 at 2:44 pm #156050In reply to: 1.7 can't see buddy press layouts in my theme
carlh1
ParticipantThanks for the reply Paul. Sorry for my ignorance, I’m not schooled in themeing. What file do you want to see? When I look in the editor shouldn’t I be able to see a groups template in that list somewhere? I don’t. And the “groups” page that was created when I installed buddypress doesn’t have any code. What can I send you?
March 11, 2013 at 2:30 pm #156049In reply to: BuddyPress Alignment with custom theme
bookee
Participant@mercime, again thanks for the quick reply. I copied the following lines of code to my theme’s sidebar.php (very bottom of the page), but nothing happens meaning the login form doesn’t show on the sidebar. Is there a specific location in the sidebar.php file to add it?
What i meant by top menu login option is having a member login menu that would take the registered users to a login form similar to the form on the sidebar. Hope that makes sense. Below is the code i copied to my theme’s sidebar:
[EDIT – please use pastebin.com to post long blocks of code. ~~ Mercime]
Thanks!
March 11, 2013 at 1:50 pm #156046In reply to: zenthemes?
shanebp
ModeratorI’ve never used zenthemes.
But their Buddies theme page says:
“WordPress 3.3.1 & BuddyPress 1.5.3.1, bbPress 2 compatible”So it’s out of date – should be at least WP 3.5 and BP 1.6
March 11, 2013 at 12:21 pm #156045terraling
ParticipantSorry, I missed the array() out of my example.
The slug of my page is actually “talk-of-the-town”, it is the static front-page of the site and has the buddypress activity page assigned to it. The page id is 95.
None of these tests identify the page, although they do identify the other pages in the list:
is_page(array('page1','page2','page3','talk-of-the-town')) ? get_template_part('filters') : get_sidebar();is_page(array('page1','page2','page3','95')) ? get_template_part('filters') : get_sidebar();is_page(array('page1','page2','page3','activity')) ? get_template_part('filters') : get_sidebar();bp_is_page(‘activity’) does work.
I have the same problem with the groups page, btw.
The above is by way of information. The test is to load a special sidebar on certain pages, otherwise load the normal sidebar. I’m just going to reverse the test, to load the normal sidebar for other specified pages, otherwise load the special sidebar.
Thanks for your help…
March 11, 2013 at 11:43 am #156044Hugo Ashmore
ParticipantNot sure at what point you’re running the check but simply dumping is_page(‘activity’) out in the header.php of a bp enabled theme only returns true when on activity page.
Not sure about your example of comma separated items didn’t think that worked although you can pass an array.
Maybe you need to do an if( is_home() && bp_is_current_component(‘activity’) )
March 11, 2013 at 10:50 am #156041terraling
ParticipantWhy does is_page(‘activity’) not work?
I don’t know, that’s why I posted the question.
It seems that if you have a page which you assign one of the BP pages (eg activity) to, then BP somehow hijacks it so that WP is no longer able to recognise it by its slug or, in this case, using is_front_page().
-
AuthorSearch Results
