Search Results for 'buddypress'
-
AuthorSearch Results
-
September 29, 2009 at 1:07 am #53210
In reply to: Members directory shows blank profile
Greg
ParticipantAlright, to clarify:
- I have all plugins disabled except Buddypress, including bp-custom.php
- I have deleted any MU plugins
- I have the themes that come with buddypress enabled
I indeed have Buddypress down to the way it comes out of the box. I have even deleted all the Buddypress files, and uploaded Buddypress again from a fresh download
Unfortunately, I am not sure about errors on the server’s log files, I don’t have access to that at the moment.
But the way I see it, I have it narrowed down to two possibilities:
- It is because I have wordpress (not MU) installed at the root http://gregeland.com/ and Buddypress installed at http://gregeland.com/projects/badmintonlife/
- There is some value in the database that I cannot find that is causing this
I am leaning towards #1, but I can’t think of any real reason why it would behave like that.
September 28, 2009 at 9:49 pm #53207In reply to: Members directory shows blank profile
Jeff Sayre
ParticipantOkay, a few questions to start:
- From your description, it is not clear how you’ve attempted to debug your setup. When trying to figure out an issue with BuddyPress, it is best to distill your environment down to the lowest common denominator. This means switching to the default BP theme and deactivating all plugins except BP. It is not clear if you did this completely or just partially. In other words, you need to fully test your BP install without any 3rd-party addons. If it works in that state, then you can safely assume it is an issue with a custom theme, another plugin, or both. So, did you reset BP to its lowest common denominator?
- What errors are you seeing in your server’s log files?
- Could you please provide details about this setup:
I have Buddypress installed in a subfolder with another wordpress installation in the root…
September 28, 2009 at 6:56 pm #53200In 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.
-
AuthorSearch Results