Search Results for 'theme'
-
AuthorSearch Results
-
August 5, 2009 at 7:41 pm #50652
In reply to: Scaling down/Centering complete Buddypress
David Lewis
ParticipantLet me know if that works. It would go in wp-content/themes/bphome/css/site-wide.css
When I saw you all talking about using Javascript just to center a theme and give it a fixed width… I sensed someone somewhere along the line went down a rabbit hole
LOL.
August 5, 2009 at 7:09 pm #50651In reply to: problem with member pages
gerardpustule
MemberHello,
I had the same kind of problem. The Template Path was wrong (maybe a bug ?).
Try to put your member template in this directory : yoursite/wp-content/bp-themes/bp-themes/bpmember
It worked for me. Good luck !
August 5, 2009 at 5:36 pm #50646In reply to: Scaling down/Centering complete Buddypress
hatiro
ParticipantAs there was no solution provided here and its been some time ago maybe this has been resolved, but its a problem that I encountered.
I haven’t fully tested this but after a hunt around I found a couple of techniquues.
Using javascript to refresh on resize between the <head> tags causes infinite loops in IE in some cases so that will not solve the problem.
I found out though that if you include position:relative in all of your main outer divs including body and body.directory in the IE fixes css files in the bphome and bpmember themes your problems should go away…
Let me know if this works for you….as I’ve only tested it locally and on IE7…
August 5, 2009 at 1:06 pm #50641In reply to: I don't want to make use of the widgets
plrk
ParticipantYou could do it, but it is no five minute job, as you’d have to learn of a WordPress theme template works and add the code of the widgets to the code of the theme you are using. This means you pretty much have to learn PHP. Do you know PHP?
May I ask why you don’t want to use the widgets?
August 5, 2009 at 12:02 pm #50637marcaurel75
ParticipantThe thing is: I only thought I had deactivated the bp-plugin completely (via backend).
I guess it was removed from the active_sitewide_plugins-field in the sitemeta-table in the database – but it was not removed from the wpmu_sitewide_plugins-field in the same table.
So the site still worked (no HTTP-500-error), and the umlaut-issue with the p2-theme remained.
When I then removed the bp-plugin-entry via phpmyadmin from both fields, the “main blog” didn’t appear anymore (error 500), but the two “sub blogs” I have still functioned. And the one sub blog with the P2-theme worked then without the umlaut-issue.
I hope this clears things up a bit.
So for me it is pretty clear that the bp-plugin somehow interferes with the P2-editor and causes the umlaut-issue.
August 5, 2009 at 11:41 am #50636Paul Wong-Gibbs
KeymasterI deactivated the BP-plugin. Problem remains. So it’s probably an issue with WordPress MU and the P2-theme?!
?
August 5, 2009 at 11:35 am #50634marcaurel75
ParticipantI deactivated all plugins via phpmyadmin – in the sitemeta-table as well as in the options-table of the single blogs (there are 3 in my installation right now).
So the HTTP-500-Error disappeared. And all of a sudden the P2-theme worked properly as well.
This means: the regular deactivation via backend of the buddypress-plugin didn#t really work. The umlaut-issue with P2-theme seems related to buddypress.
August 5, 2009 at 10:01 am #50632marcaurel75
ParticipantHELP! Since I tried to reactivate the BP plugin I receive a HTTP 500 error when I try to reach the site… mpf!
August 5, 2009 at 8:57 am #50631marcaurel75
ParticipantI’ll check it. Thanks for the support!
August 5, 2009 at 8:36 am #50629Paul Wong-Gibbs
KeymasterYou have said that the problem occurs on WPMU, and that it does not occur on regular WP. You have also said this problem is not caused by BuddyPress.
I haven’t got an install of regular WP to test this on, so I am going to assume it is either a WPMU issue *or* you are using an old version of the P2 theme.
August 5, 2009 at 8:29 am #50627marcaurel75
ParticipantDoing more research I found the following thread in the wp-forum:
https://wordpress.org/support/topic/273413?replies=2:
—-
Mippe: P2 brokes äÄ öÖ åÅ letters when editing. That pretty much sums it all up.
noel (Administrator): We’re aware of the issue and will fixing this in the next release.
But I am still unsure: This problem then occurs only with WordPress MU?
August 5, 2009 at 8:24 am #50625marcaurel75
ParticipantI deactivated the BP-plugin. Problem remains. So it’s probably an issue with WordPress MU and the P2-theme?!
August 5, 2009 at 7:35 am #50623Paul Wong-Gibbs
KeymasterTry removing or disabling BuddyPress. Does this problem still occur on WordPress MU?
August 5, 2009 at 5:18 am #50618In reply to: Make width fixed to 900px?
Mike
Participantyep, you can with some css. the parts you wanna tweak are #header and #main, if i remember correctly. you can also download the Avenue K9 theme from this page https://buddypress.org/extend/themes/ to help you get started, which is optimized for those pesky 1024×768 screens.
August 5, 2009 at 4:31 am #50615mumbler
MemberThanks!
Do I have to go to the directory or can I browse fromthe wp-admin to here:
wp-content/themes/bphome and wp-content/bp-themes/bpmember
August 4, 2009 at 7:34 pm #50601In reply to: How to get a section identifier in the body tag?
r-a-y
KeymasterI guess I shouldn’t have led you down the Sandbox road!
I should have said look at those functions as a structure… don’t use it literally as most of that code is WP-specific only.
As for these lines:
global $bp;
echo $bp->current_component; //outputs current component
echo $bp->current_action; // outputs current actionThey are BP-specific and will let you determine what type of BP page you’re on (except for directories)… try it by putting the lines in the header.php of your BP member theme.
I would use the lines in your new CSS class function like this:
function bp_body_class( $print = true ) {
global $bp;
if ( bp_is_page( BP_MEMBERS_SLUG ) )
$c[] = 'members';
//more conditionals here
$c[] = $bp->current_component; //outputs current component
$c[] = $bp->current_action; // outputs current action
// Separates classes with a single space, collates classes for BODY
$c = join( ' ', apply_filters( 'body_class', $c ) ); // Available filter: body_class
// And tada!
return $print ? print($c) : $c;
}Something to that effect in your bp theme’s functions.php file.
That’s basically 90% of the function right there.
August 4, 2009 at 5:09 pm #50596In reply to: How to get a section identifier in the body tag?
peterverkooijen
ParticipantWhat are these lines supposed to do?
global $bp;
echo $bp->current_component; //outputs current component
echo '<br />'; // redundant line break! don't worry about this line!
echo $bp->current_action; // outputs current actionI see nothing like that in the functions in post-template.php or Sandbox’ function.php.
Edit: Class on Members and Groups stays at “directory” because it is set in bp-themes, not bphome. It is set with this line:
<?php if ( bp_is_directory() ) : ?> class="directory"<?php endif; ?>Replacing it with the function copied from Sandbox…
August 4, 2009 at 1:26 pm #50588plrk
ParticipantYou’ll have to replace the image. You have to replace the logo image files in wp-content/themes/bphome and wp-content/bp-themes/bpmember
August 4, 2009 at 1:24 pm #50587plrk
Participantyou can put your changes in a custom.css file in the theme (the same folder as the style.css) file. that way your changes will not be lost when you upgrade the themes.
note that there are two theme folders, one for the home theme and one for the member theme.
August 4, 2009 at 12:26 pm #50584academatic
Participantwp-content>themes>bphome theme>style.css
August 4, 2009 at 12:22 pm #50582In reply to: changing logo
plrk
Participanthave you replaced the logo file in the image directories of both the home theme and the member theme?
August 4, 2009 at 5:21 am #50574In reply to: Can't get bp-themes to work
krakrbozz
Participantgot it,
just moved all the bp-themes under themes
August 4, 2009 at 5:10 am #50573In reply to: default theme colors
plrk
Participantbuddypress uses two themes – the home theme, which you have edited, and the member theme, which you can find in /wp-content/bp-themes/bpmember/.
August 3, 2009 at 9:01 pm #50568In reply to: How to get a section identifier in the body tag?
peterverkooijen
ParticipantThanks r-a-y!
I’m not really a coder, but Sandbox has a lot of information on the topic.
I’ll look into it when I have time and will report back…
August 3, 2009 at 7:35 pm #50567r-a-y
KeymasterI have WPMU setup in the root, but wanted to have the “community” page on a different page as well.
Here’s what I did:
- Create a new WordPress page template with the BP widget toolbar calls in it.
- Create a new WordPress page and apply the page template you created in step #1.
- Add BP widgets to the BP widget toolbar.
That should be it!
-
AuthorSearch Results