Search Results for 'buddypress'
-
AuthorSearch Results
-
September 28, 2009 at 6:56 pm #53200
In reply to: css broke my buddypress
concrain
Participantthanks for your help guys
September 28, 2009 at 5:58 pm #53196Jeff Sayre
ParticipantDo you have any plugins other than BuddyPress installed and activated. If so, temporarily deactivate all of them except BP and see if that makes a difference.
September 28, 2009 at 5:45 pm #53195fti-cornwall
MemberThanks.
I got it working fine once I had the actual BuddyPress folder on my server.
Time to have a moan at my host I thinks…
Thanks for the help.
September 28, 2009 at 5:41 pm #53194lostdeviant
ParticipantAre there extra lines for the .htaccess to make buddypress specific pages work?
September 28, 2009 at 5:16 pm #53193takuya
ParticipantDO NOT use installers other than default wpmu plugin installer. Install buddypress from wordpress plugin installer, or set it up manually with FTP/SSH.
And make sure to activate the theme before you select themes. Which is explained in wpmu documents.
September 28, 2009 at 5:16 pm #53192fti-cornwall
MemberNow I do know what you mean, my host doesn’t include BuddyPress in their install even though they call it BuddyPress in the Cpanel. Weird, they have an install for WP, WPMU and BuddyPress yet leave out the BuddyPress folder from the install!
Thanks, I’ll download it and install to server.
September 28, 2009 at 5:13 pm #53190In reply to: blog.dir question
takuya
ParticipantThere may be plugins. And this question is about wpmu and not buddypress (although buddypress may save files there, or ?). Visit wpmu forums and search, so you may find related and detailed information.
September 28, 2009 at 5:12 pm #53189In reply to: site wide members page has bugged out
Greg
ParticipantMore info:
I have tried a fresh upload of BP files, and used default themes, disabled all plugins, deleted bp-custom.php, added users, and nothing seems to fix it. Also, when I try to visit the members page, Buddypress seems to think it is on the “home” page (the home link gets “active” class added)
The strange thing is, when I try to search for users, it shows the directory page properly, but only then. Also, if I try the “visit random member” button it ALWAYS shows the blank user that is shows when I just go to the members directory page.
It isn’t a plugin, or theme file, could it possibly be something in the database? I couldn’t find anything.
I am using the BP 1.03 and WPMU 2.8.4a
How’d you get yours to work Matt?
September 28, 2009 at 5:01 pm #53187In reply to: Extending WordPress Themes – Post Experiences
Detective
ParticipantMy approach is kind of weird.
First:
I needed a custom BP framework. So I started looking at the old Skeleton Theme. The first thing I noticed is that I didn’t want a fixed layout BP theme, so I removed all sidebars in each template file and wrapped the content inside a function.
This means that every template file of my BP theme was something like this:
<?php
/* my license ... GPL2 of course
*/
function this_file_content() {
?>
just the content of the page, without sidebars
<?php
}
my_layout_generator( 'this_file_content' );The magic is in my_layout_generator, which defines the html layout of each page. This includes sidebars and other stuff. The sidebars are fully widgetized, and I have custom widgets like “BP Options Bar” and “BP User Bar”, etc. Their content is also managed through actions.
my_layout_generator can mimic any WordPress theme, you just have to write the “skeleton layout” of your target theme.
Second:
This BP framework must be integrated with the WP theme. I setup the framework as child-theme and the original WP theme as parent theme.
Considering this, my_layout_generator has the following body (simplified from the original):
function my_layout_generator( $content_func = '' ) {
get_header();
?>
<div id="container">
<?php
if ( !empty( $content_func ) && is_callable( $content_func ) )
call_user_func( $content_func );
?>
</div>
<div id="sidebars">
<?php // your sidebars code ?>
</div>
<?php
get_footer();
}This uses the original theme headers and footers. I just need to provide the correct markup in the content!
There are other things to care about, like page title. Probably the header of the original theme uses wp_title instead of the BP title. Luckily, wp_title can be filtered! This is actual code from my framework:
add_filter( 'wp_title', 'gs_wp_title' );
// we need to put the current page title on the wp_title filter, so thesis will catch it
function gs_wp_title($title, $sep = '', $seplocation = '') {
if ( bp_is_blog_page() )
return $title;
global $bp;
if ( !empty( $bp->displayed_user->fullname ) ) {
$title = strip_tags( $bp->displayed_user->fullname . ' — ' . ucwords( $bp->current_component ) . ' — ' . $bp->bp_options_nav[$bp->current_component][$bp->current_action]['name'] );
} else if ( $bp->is_single_item ) {
$title = ucwords( $bp->current_component ) . ' — ' . $bp->bp_options_title;
} else if ( $bp->is_directory ) {
if ( !$bp->current_component )
$title = sprintf( __( '%s Directory', 'buddypress' ), ucwords( BP_MEMBERS_SLUG ) );
else
$title = sprintf( __( '%s Directory', 'buddypress' ), ucwords( $bp->current_component ) );
}
return $title;
}Now we have an integrated BP theme framework
Mine is integrated with Thesis, I think other themes will be much easier to integrate because you can directly copy their layouts from their template files.
September 28, 2009 at 4:57 pm #53186lostdeviant
Participantwhen I changed the permalink back to default, instead of getting “page not found” the buddypress pages didn’t load anything new just the same page refreshed without any error message. in other words, that didn’t work either.
September 28, 2009 at 4:55 pm #53184fti-cornwall
MemberNot sure what you mean by downloaded and activated?
My host provides an automatic install of BuddyPress from my cpanel. I installed it from cpanel, set the site name and email then logged into the admin panel. All other themes work except your BuddyPress Default Home Theme. Its on the server in /themes/bphome and it shows up as a thumbnail in the ‘manage themes’ page but the site shows a blank page after I activate it.
September 28, 2009 at 4:48 pm #53183Andy Peatling
KeymasterMake sure you actually have BuddyPress downloaded and activated and you’re not just trying to activate the themes.
September 28, 2009 at 4:46 pm #53182fti-cornwall
MemberThanks. There’s nothing showing in my cpanel ‘error logs’.
Would they be found in my ‘error logs’ in cpanel or are php errors stored elsewhere?
September 28, 2009 at 4:37 pm #53176Andy Peatling
KeymasterDelete BuddyPress and the /wp-content/bp-themes/ directory. Deactivate all of your plugins. Upload 1.1 and move the new themes, reactivate.
September 28, 2009 at 4:36 pm #53175In reply to: BP 1.1 RC compatible with Skeleton Component 1.2.2.?
Andy Peatling
KeymasterNo. It needs to be updated still. For now you should use one of the components in BuddyPress as a reference. I will update this ASAP.
September 28, 2009 at 4:34 pm #53174Andy Peatling
KeymasterCheck your PHP logs for the error.
September 28, 2009 at 4:34 pm #53173In reply to: Forum URLs aren’t picked up as links
Andy Peatling
KeymasterI don’t understand the problem here.
@wordpressfan: your bug is related to the achievements plugin by the look of that error, not BuddyPress itself.
September 28, 2009 at 3:50 pm #53168In reply to: Demo Data Creator – Now BuddyPress enabled
bpisimone
ParticipantWow would have saved me a lot of time, thanks JJJ!
September 28, 2009 at 2:54 pm #53166lostdeviant
Participantyes, by default theme I mean the buddypress one..
September 28, 2009 at 2:29 pm #53164In reply to: css broke my buddypress
John James Jacoby
KeymasterThe skeleton theme is a bare-bones HTML theme that exists for you to add your custom CSS to, so yes absolutely go nuts and edit until your heart’s content.

I would suggest, however, that if you are new to BuddyPress, that you start off with the Release Candidate rather than 1.0. It will give you a head start on what is coming by the time you’re comfortable enough to go live.
September 28, 2009 at 2:14 pm #53163In reply to: css broke my buddypress
concrain
ParticipantCan i replace the skeleton theme css with my own…
hey thanks guys. sorry it seem like such a simple question.
September 28, 2009 at 12:55 pm #53159Matze
ParticipantThis is haow it worked:
server.error-handler-404 = “/index.php”
url.rewrite-once = (
“^/(.*/)?files/$” => “/index.php”,
“^/(.*/)?files/(.*)” => “/wp-content/blogs.php?file=$2”,
“^(/wp-admin/.*)” => “$1”,
“^/(wp-.*)$” => “$1”,
“^/([_0-9a-zA-Z-]+/)?(wp-.*)” => “/$2”,
“^/([_0-9a-zA-Z-]+/)?(.*.php)$” => “/$2”,
“(?.*)$” => “index.php$1”,
“.” => “index.php”
)
THANKS TO “jdaviescoates”
September 28, 2009 at 12:44 pm #53158lostdeviant
ParticipantI’m deleting my buddypress directory again and uploading the newest trunk.
September 28, 2009 at 12:37 pm #53157lostdeviant
ParticipantIs the CSS being loaded?
yes I see style when using the theme, but as I mentioned all the buddypress specific pages are “page not found” in otherwords the widgets and the regular MU stuff loads like blog posts and blog pages.
Have you changed the permalink settings in WPMU?
not recently. Currently:
custom /%postname%/
Do you have a htaccess file in your WPMU install?
yes
Since you say you have uploaded manually, you may have missed a file or put something in the wrong place. Or perhaps the file/directory permissions need setting correctly? (I’m not sure what to, try 777 for a test)
well, I’ve reuploded everything at least once. Which files should be changed to 777? I didn’t see anything in the readme about making everything publicly editable.
Can’t you post url to your test site? is it local? or screenshots maybe?
no, because it is a real site, after I finish making sure Buddypress still doesn’t work, I deactivate the Buddypress plugin and reactivate my normal theme.
local? not sure what you mean by that.
everything LOOKs good except for the “page not found” where the normal content should be on buddypress pages. I see the style and widgets load.
September 28, 2009 at 9:50 am #53155In reply to: Widget Ajax Problem on Members/Groups
Paul Wong-Gibbs
KeymasterThis thread is a) old, b) about plugins rather than BuddyPress itself and c) about to be eaten by a grue.
Any uncompatibilities need to be discussed with the authors of these plugins. There is also enough google results about jquery incompatibility with WordPress and plugins.
-
AuthorSearch Results