Search Results for 'theme'
-
AuthorSearch Results
-
May 6, 2009 at 8:17 am #44574
In reply to: BP RC2 – width inconsistency continues
Paul Wong-Gibbs
Keymaster1) posting this in another thread is not going to get anyone to answer your questions any sooner: in fact, the opposite is more likely.
2) some web developers, myself included, consider IE6 an unsupported browser due to its poor standards support. Consider upgrading to IE7 or 8, if you don’t want to switch to firefox.
3) IF this is a problem with the default themes, then once you resolve the issue please consider creating a patch and submitting it on trac.
May 6, 2009 at 7:42 am #44573In reply to: How to change the position of Userbar and Optionbar
Ezd
ParticipantSocialpreneur: Ok thanks.
Would I have to edit the header.php for both the home and bpmember theme? So I would add the same code to both files?
<div id="header">
<h1 id="logo"><a href="<?php echo get_option('home') ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></a></h1>
<ul id="nav">
<li<?php if ( bp_is_page( 'home' ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a></li>
<li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php bp_home_blog_url() ?>" title="<?php _e( 'Blog', 'buddypress' ) ?>"><?php _e( 'Blog', 'buddypress' ) ?></a></li>
<li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_MEMBERS_SLUG ?>" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?></a></li>
<?php if ( function_exists( 'groups_install' ) ) { ?>
<li<?php if ( bp_is_page( BP_GROUPS_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_GROUPS_SLUG ?>" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a></li>
<?php } ?>
<?php if ( function_exists( 'bp_blogs_install' ) ) { ?>
<li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_BLOGS_SLUG ?>" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a></li>
<?php } ?>
<?php do_action( 'bp_nav_items' ); ?>
</ul>
</div>If I wanted to add another menu-link would I have to add something like this to both header.php files? Saying the new page was called ‘pagename’:
<?php if ( function_exists( 'bp_pagename_install' ) ) { ?>
<li<?php if ( bp_is_page( BP_PAGENAME_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_PAGENAME_SLUG ?>" title="<?php _e( 'Pagename', 'buddypress' ) ?>"><?php _e( 'Pagename', 'buddypress' ) ?></a></li>
<?php } ?>Or is this wrong? Just wanna make sure I do it right.
May 6, 2009 at 4:58 am #44566In reply to: bpContents 0.1X Core Code – Dev Sneak Peek
Burt Adsit
Participanthttp://ourcommoninterest.org/downloads/bpcontents013.zip
Changes 0.13
– Added OCI_Container::delete() to delete the current container and all it’s children
– Removed OCI_Tree::tree_get_containers($node), added tree_get_children($node, $type)
– Changing thing to remove php 5 dependencies.
– Made all class methods static where possible, yes Andy it’s better this way
– Added OCI_Template_Items class for container template loops in themes, no pretty bells and whistles yet. I cut out all non-essential things to understand it better.
– Added a few oci_get_the_item_xxx(), oci_the_item_xxx() template tag functions to test the template class.
– Added a oci-test-template.php file for testing the template class and template tags. I drop it into the bp home theme dir and create a wp page using that as a template for the page. It’ll show up as “OCI Test Template” in the wp back end.
– To use the template you need to point the loop start tag to an existing container like “/recent” if you are testing using blog posts.
<?php if ( oci_has_items(“/recent”)) : ?>
Point it to where ever you are sending blog posts. The following in oci_contents_setup_globals() sends blog posts from any blog to /recent and /other/place
$recent = new OCI_Container(“/recent”, true);
$other = new OCI_Container(“/other/place”, true);
$oci->listeners->blog_posts = new OCI_Item_Blog_Post_Listener();
$oci->listeners->blog_posts->add_destination(“/recent”);
$oci->listeners->blog_posts->add_destination(“/other/place”);
So you can change the loop start tag to:
<?php if ( oci_has_items(“/other/place”)) : ?>
Then browse to your new test template page to view the results instead of using oci_test_print_tree.php to just dump the tree.
May 6, 2009 at 2:28 am #44562KitWit
ParticipantI renamed those two files, placed the code in them that I wanted to work sitewide, and uploaded back to the css folder of the bphome directory. Nothing happened. Maybe you could give me a little more direction about exactly where these files should go? I’d sure appreciate it!
May 6, 2009 at 2:19 am #44561KitWit
ParticipantI see those files (site-wide-sample.css and custom-sample.css) in the bphome folder. If I change those, do I put them back to the places where they currently reside? Does the bphome folder control the look of these other parts of the site? I’m confused about which files control which parts of the site. If there is some kind of structural documentation on BuddyPress, showing which parts files are controlling, that would be great. It isn’t transparent enough from the structure of the files themselves (at least not for a non-programmer). Thanks!
May 6, 2009 at 12:38 am #44557In reply to: RC2 Upgrade issues
dbascent94
ParticipantI tried using the default themes and the same problem persists. I could really use a pointer on where to even begin looking for a fix for this.
May 6, 2009 at 12:17 am #44554takuya
Participantuse site-wide.css or custom.css they’re within the themes you’ve downloaded.
May 5, 2009 at 10:52 pm #44552Jeff Sayre
ParticipantI would like to install buddypress onto my existing wordpress install (regular wordpress not wordpress mu).
At this time, BuddyPress only works with WPMU 2.7.1. You cannot use it with single-version WordPress.
How would I upgrade this to a wordpress mu/buddypress install?
https://mu.wordpress.org/forums/topic.php?id=11126
will this integrate with my current wordpress theme
No. You will either need to use the standard BuddyPress themes that come with the package, or update your custom themes as detailed here: https://codex.buddypress.org/getting-started/installing-buddypress/upgrading-from-rc-1/
May 5, 2009 at 8:13 pm #44536In reply to: The page you were looking for was not found.
gladsteins
Participant“Let me ask all of you a question. On your root blog, the main blog of your site, what do you all have your WordPress MU Permalinks set to? Admin->Settings->Permalink”
yes I have checked and the default themes that come with the download are installed
bpskeletonmember and bpmemeber
May 5, 2009 at 7:38 pm #44532belogical
ParticipantAndrea_r’s solution worked perfectly for me. Now that my component is converted to v1.2, everything major is working good enough for me to convert my production site. hopefully this weekend!
May 5, 2009 at 7:29 pm #44530KitWit
ParticipantJeff–
Not sure we’re talking apples to apples, but I’ve created this thread to ask how I can make my theme consistent site-wide.
https://buddypress.org/forums/topic.php?id=2538
I know there must be an answer to this, because the BuddyPress site we’re on is doing what I want to do!
May 5, 2009 at 7:10 pm #44528In reply to: BuddyPress Skeleton Component v1.2 RC-2
belogical
Participantyeah, it was in v1.1 for sure. i used it for my first component. i found a reference in /wp-content/plugins/buddypress/bp-example/bp-example-cssjs.php in v1.1. I tried adding this back myself and it didn’t work.
/**
* bp_example_add_activity_bullets_css()
*
* This function will allow your component to dynamically add CSS to themes so that you can
* set the activity feed icon to use for your component.
*/
function bp_example_add_activity_bullets_css() {
?>
li a#my-example, li a#user-example {
background: url(<?php echo site_url( MUPLUGINDIR . \'/bp-example/images/heart_bullet.png\' ) ?>) 88% 50% no-repeat;
}
li.example {
background: url(<?php echo site_url( MUPLUGINDIR . \'/bp-example/images/heart_bullet.png\' ) ?>) 0 8% no-repeat;
}
table#bp-example-notification-settings th.icon {
background: url(<?php echo site_url( MUPLUGINDIR . \'/bp-example/images/heart_bullet.png\' ) ?>) 50% 50% no-repeat;
}
<?php
}
add_action( \'bp_custom_member_styles\', \'bp_example_add_activity_bullets_css\' );
add_action( \'bp_custom_home_styles\', \'bp_example_add_activity_bullets_css\' );
?>May 5, 2009 at 6:30 pm #44525In reply to: The page you were looking for was not found.
John James Jacoby
KeymasterGladsteins, there won’t be a /members directory in your structure.
Within your /bp-themes/ directory are there themes in there? Namely bpmember? If your /bp-themes/ directory is empty, then nothing will show up in your settings screen.
Let me ask all of you a question. On your root blog, the main blog of your site, what do you all have your WordPress MU Permalinks set to? Admin->Settings->Permalinks
May 5, 2009 at 5:51 pm #44523Jeff Sayre
ParticipantKitwit-
Feel free to be the one to start the new thread! This issue seems to be important to several people here. I’m sure you’ll get some good discussion.
May 5, 2009 at 5:42 pm #44521KitWit
ParticipantDid someone establish a new thread for this topic? I want to do the same thing. Can’t understand why BuddyPress can’t make the same theme available for anyone who signs on and creates a blog … I’ve modified my BuddyPress files and logo to show the colors and style I want–very simple adjustment to the standard BuddyPress theme–and I want that theme to be the same theme that everyone else uses no matter who they are … and for all pages to show up the same way.
http://buddypress.mountainprideconnections.com
This is a test site. Very basic.
May 5, 2009 at 4:57 pm #44517In reply to: The page you were looking for was not found.
gladsteins
ParticipantI am having same issue
“Please move the default BuddyPress themes to their correct location (move
\apache2triad\htdocs\wordpress/wp-content/plugins/buddypress/bp-themes/ to
\apache2triad\htdocs\wordpress/wp-content/bp-themes/) and reload this page.”See all the folders in the correct spots
Do NOT have option to activate Buddy Theme in Admin themes
Nor do I see a /members dir in WP structure
May 5, 2009 at 4:49 pm #44516In reply to: bp_nav_items theme problem
Jeff Sayre
ParticipantSQRR-
Firstly, a big thx to Jeff for the component skeleton!
Your welcome! But Andy deserves the most credit. I just helped to update it.
So, let me make sure that I understand your issue. You’ve registered your custom component using an
add_action( 'bp_nav_items', ..., ...);to add a button (or tab as you’re calling it) to the navigation array. It works fine in your member’s theme but not your home theme.Is this correct?
Are you using a customized home theme?
Have you checked to make sure the header.php file in your home theme has this line?
<?php do_action( 'bp_nav_items' ); ?>May 5, 2009 at 2:46 pm #44510In reply to: The page you were looking for was not found.
2299491
InactiveOK, mine does sound different from WillPCG…
For example, I can’t go to any URL with /members/ in it… and I get no error messages with regard to the themes, just the 404 errors when I go to most of the links in the Options bar.
May 5, 2009 at 2:41 pm #44508In reply to: 404 /blog /members etc… RC2 WPMU 2.7.1
2299491
InactiveI’m also getting 404 errors on the links to anything members/groups/etc. BUT my WordPress installation worked fine (with some users that I believe were imported from our other test system) before installing BP. We didn’t import any blogs, themes or plugins from our other install — just some user accounts.
May 5, 2009 at 2:35 pm #44506In reply to: The page you were looking for was not found.
Will White
ParticipantTheEasyButton
Sorry for the confusion! Let me try to re-explain the process I followed.
I’ve loaded the buddypress addon and moved all the folders to their appropriate spot.
Then, I enabled the “BuddyPress Default Home Theme” under the Site Admin dropdown.
I clicked through to the Appearance drop-down, and when I go to activate the theme, the screenshot loads with the error message regarding the misplacement of bp-themes directory. So I double checked the placement of the folder, and verified they are in the correct spot – despite what the error message says.
I activated the file anyway, and then click the BuddyPress drop down and changed the “Member theme” to Skeleton, saved it, then switched it back, and saved it again.
I activated user registration so you can sign up now as well, hopefully that will help.
Jeff Sayre
1. Yes – at the top of my screen it says “You’re logged in as a site administrator.” I’ve been going in through nacdb.com/members/wp-admin/ with the admin login and its password.
2. I reset the error log, visited the buddypress setup, and copied the errors it produced at the bottom of this post. I seem to get the same one over and over.
3. I’ve reselected the member theme (even switched it to the skeleton one and back) without any success.
PHP Warning: Unknown(): open(/var/php_sessions/sess_b0fd681715d71fc2290936406bc797ba, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown(): open(/var/php_sessions/sess_b0fd681715d71fc2290936406bc797ba, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
Thanks for all the help guys!
May 5, 2009 at 2:34 pm #44505Saraswati11
ParticipantThere’s a new post regarding skeleton theme, https://buddypress.org/forums/topic.php?id=2522. He states, “So in looking through the skeleton theme I noticed something strange.
I am wondering why the ‘Activity’, ‘Profile’, ‘Wire’, and ‘Friends’ items do not work from the optionsbar?”
response, “It looks like the options bar is showing up on the directory pages when it shouldn’t – most likely because I forgot to add a hide function. All the other pages are working fine. I will update this.”
For the pages i’m referring to i have the same problem, the options bar that shows up on these pages (not user bars links to same sections) links go to “The page you were looking for was not found.”
I’m thinking the solution for that would be the same for me?
May 5, 2009 at 2:08 pm #44504In reply to: Theme install error message
2733507
Inactivethat worked for mee too,
Thanks
May 5, 2009 at 1:55 pm #44503In reply to: Theme install error message
Dworldon
ParticipantThanks Jeff.
Going to “BuddyPress > General Settings”, re-selecting the member theme, and then hitting save worked!
Really appreciate your help.
May 5, 2009 at 1:47 pm #44502In reply to: Theme install error message
Jeff Sayre
ParticipantAmyuk and Dworldon-
A few initial questions:
- Are you logging into WPMU\’s backend as the site administrator, and not just as a user with administrator privileges?
- Did you go to \”BuddyPress > General Settings\”, re-select the member theme, and then hit save? Do this even if the theme is already selected.
- Are there any errors in your log files? If so, what are they?
May 5, 2009 at 1:39 pm #44501Saraswati11
ParticipantJeff,
That’s correct, someone else made the theme that i’m using. I’ve run into the same issue when I tried to customize my own theme where the user bar and options bar are on members pages that they’re not on the bp theme and I haven’t been able to figure out what is causing it.
Thanks
-
AuthorSearch Results