Forum Replies Created
-
In reply to: Change user blog theme to news blog theme
Howdy. If you make the bp home theme available for your users they can choose it. It wasn’t designed for that but it’ll work though. It’s just a widget framework. Hang anything you want on it.
In reply to: {…} excerpt feature for Forum posts/mu-plugins/bp-core.php
Mornin’ Mike. (It’s morning for me. I keep explaining that I don’t live in a human time frame..)
In reply to: css bug?Don’t know. Normally a
<div class="clear"></div>is used in a theme to init a new area in the browser for floating divs. Defining the .clear class in css asclear{clear:both;margin-top:20px;padding-top:50px;}or something like that allows css control over the cleared region.You can override it by redifining .clear in your custom.css file. If this is the only place it exists then it probably was a quick stopgap measure to fix something. Maybe it’s just legacy stuff that hasn’t been removed yet.
Who knows.
In reply to: 404 for groupsYou are viewing the groups directory? The one labeled ‘Groups Directory’ with the ‘abcdef..’ and the search box. If the directory is displaying but you get 404 for the title. Or ‘not found’ as the title. Something like that then that’s fixable easy.
The 404 result for directories is a known issue. The workaround is to create a blank page with the slug ‘groups’ in wpmu. Do the same for the other directories. You’ll wind up with three placeholder pages.
members
groups
blogs
Credit to wardeh again for the solution.
In reply to: title: “Nothing found for ..”Are you guys running a sandbox based home theme? I did a search for that message and it only appears in a wp theme based on ‘sandbox’. This is not an mu or bp message.
Been playing with .htaccess?
In reply to: title: “Nothing found for ..”Are you talking about 404s?
In reply to: Sites in actionIn reply to: Problem with CSS?What do your error logs say? There was a problem like this on windows. style.css in the home theme just make a call to ../css/loader.php which loads the css for the theme. You are not getting any of the css that is in that ../css/ directory. Gotta be a reason.
Error logs will tell you.
In reply to: How to Upgrade buddypress?@socialbandit SVN or beta zip is the same procedure. With incremental updates from SVN I know what files were modified. I can’t keep track of them individually. That’d be a nightmare. SVN updates come through files from here, files from there. All over the place. When I’m ready to update I do the whole shebang.
I don’t know how others do it.
No deactivation is needed. I’m usually up at 3am so I do it then.
That probably doesn’t make a diff though. It’s not 3am in Moscow.css changes on updates? I’m not sure what you mean by that.
In reply to: Problem with CSS?Permissions on the /themes/buddypress-home/css/<files>?
In reply to: image formatting trouble@kellylind I’m not running the home theme but it sounds to me like that is what happens with an excerpt that isn’t being filtered completely. The recent blog posts widget displays an excerpt. It’s not stripping the s because bp uses the standard wp striptags() function.
If you are the adventurous type I found this on the wp forums. Same problem you have.
$text = preg_replace( '|[(.+?)](.+?[/\1])?|s', '', $text )Looks like it’ll work. Ya gotta mod the bp core to get it to work though. I’ll put in a ticket for this in Trac. You can wait or you can modify bp_create_excerpt() in bp-core.php.
In reply to: Username starts from uppercase letterOh, I misunderstood what you were looking for. Happens to me at 5am.

It’s still not a good idea to mod the bp core. You can still accomplish what you want with a filter. That way you don’t have to keep track of your mod and worrying about an svn update or moving from one release to the next.
You could use the same method outlined above but replace the strtolower() with lcfirst() to take it back to normal.
Up to you.
In reply to: Username starts from uppercase letterI wouldn’t mod a function, I’d add a filter. Hang on while I look for the filter name. (brb)
OK, what I think you’ve done is change the ‘Full Name’ profile field and called it ‘nickname’ in the BuddyPress settings area right?
So, in bp_fetch_user_fullname() it sets up a filter for us:
apply_filters( 'bp_fetch_user_fullname', stripslashes( trim( $data ) )You’d need to create a function something like:
function my_nickname_filter($name) {
return strtolower($name);
}And register the filter with:
add_filter('bp_fetch_user_fullname', 'my_nickname_filter')Hopefully bp uses the bp_fetch_user_full_name() fn everywhere. Can’t see much reason to create it if it didn’t.

I see these hooks all over the place. Andy has done gone filter happy.
In reply to: How to Upgrade buddypress?After you upload your files to the server, login as site admin into the backend of the primary mu blog. If any database changes need to be made they will occur then automatically.
The beta gets updated when they bump the beta version and release it. The svn version will be the freshest version you can get.
In reply to: Members page is messed upThe 404 for members, blogs and groups directories is a known problem. It’s been reported in Trac. A workaround (thank you wardeh) is to create three dummy pages with the slugs:
members
blogs
groups
Doesn’t matter what you put in them. It won’t display.
The diagonal display is due to the fact that the member directory css needs to be modified to fit your theme. The directory css files are located:
members – /mu-plugins/bp-core/css/directory-members.css
groups – /mu-plugins/bp-groups/css/directory-groups.css
blogs – /mu-plugins/bp-blogs/css/directory-blogs.css
In reply to: Adding True BP Functionality to Standard WP Theme?I’m confused you don’t seem to have any buddypress components in use at all. If you visit the BuddyPress menu in the backend admin under ‘Site Admin’, you’ll see an option to turn on the admin bar: Show admin bar for logged out users: yes/no.
Yes would turn it on and allow visitors the option to login or sign up. If you don’t have that turned on then how you log your users in is entirely up to you.
In reply to: Possible resolution for avatar cropping issuesHowdy. @fjk, if you have a zero byte general.js file then it’s not from the combo download. I downloaded the combo again and it’s just fine.
Odd.
In reply to: bp_is_page() and $bp[‘currrent_userid’] purposeThanks Andy. I guess I’m confused because I want to use some function calls that seem to rely on $bp. I know what I want to do and just prowl around looking for something that fits my needs. I’m realizing that some fns just aren’t general purpose type things. They were built for use in the member theme.
In reply to: Confused about Member & Home themesIt is a little confusing. There are two themes to deal with.
A blog theme : bp home theme or wpmu theme
A member theme: bp member theme
The bp home theme is optional. It runs as a regular wpmu theme. If you don’t run this on a blog you are running a standard wpmu theme.
The bp member theme is *not* optional and it’s not a normal wpmu theme. Doesn’t even install in the regular place. Is never activated by a blog or site admin. At the moment you have no choice but to run the bp member theme.
The setting in the backend ‘buddypress > select theme to use for member pages’ is irrelevant at the moment. In the future when you or others develop alternative member themes, that is where you would select them.
You have two themes. One mandatory member theme and a choice of what blog theme to use.
(I’m learning from wardeh. Be simple and clear.)
In reply to: Community Blogs PluginWhat a wildly useful and wonderful thing is buddypress.
It’s just occurred to me that I could setup a support forum on my site for the Community Blogs plugin. Then it occurred to me that I could setup a bp group for that purpose and have all the benefits that buddypress and groups provide. (duh) (been buried with my head in code way too long)
Then it occurred to me that I need a blog for this too. I can move all my personal blog junk, which is just code I’ve created and modified, over to this new Group Blog.
Now I need to hook the new group blog up to my new support group. I can’t do that right now but I will be able to. Be back in a few days…
In reply to: plugin-template.phpWell, we got a couple of options here.
1) hack the theme and git rid of the content div in the header.php. That means changing all existing templates that rely on that content div being gen’ed before it gets to them

2) hack the directories and all other code that just assumes that they are responsible for gen’ing their own content divs and leave the theme header.php alone

3) get a different theme
In reply to: Thesis & Buddypress (HELP!?)Yep. Thanks for the tip. This is goofy though. We gotta get Andy to solve the 404 problem. I shouldn’t have to create a dummy page and have to deal with that as well as the 404 problem. Some themes are hardcoded to display the pages that exist. What if I don’t want to have any pages? (I don’t)

Is there a ticket for this?
(he asks too lazy to go look)
@liljohn I’m not certain what you mean by creating custom page templates.
In reply to: Will BP conflict with an existing blog?This existing blog is a normal wp 2.7 blog? Not mu. If that’s the case then I had a normal 2.7 blog in a subdirectory of a mu 2.6.2 and now a mu 2.7 install. mu was installed in the root and the single user 2.7 was in a subdir under that.
Both seemed happy to coexist. Never had any problems but didn’t really play that much with the 2.7 normal install. I was just fooling in the backend and testing themes under 2.7.
In reply to: Thesis & Buddypress (HELP!?)Wow. Now I see what you are saying wardeh. I created a page with the same slug as the members directory and the 404s go away. Lovely. Thanks! Now I have to see how that broke the css.
In reply to: All blog posts missingdonncha’s site wide tags and bp don’t play well together. I disabled the activity component of bp and things seem to work much better now. I need the site wide tags and would like the activity component. I had to choose and site wide tags won.