Forum Replies Created
-
None of your users has any ‘basic’ profile data. That could be the cause of your member directory not finding anything to show. Also the member directory shows ‘recently active’ users.
Put some profile data in like ‘full name’ which is a required field.
Then *do something* on your site.
Nothing shows in the groups directory because you don’t have any groups.
You don’t have a ‘blogs’ button on your bp home page because it’s commented out. That and the normally commented ‘forums’ link are commented out together. Uncomment that and you’ll have a ‘blogs’ button.
Howdy,
The recent blog posts widget lives at:
/mu-plugins/bp-blogs/bp-blogs-widgets.php
Within the function:
function bp_blogs_widget_recent_posts($args)
Is a line:
<?php $counter++; ?>
This bumps the first time through the display loop for the recent blog posts. The second time through, you’ll notice in the code above that, is a check to see if that var is non-zero. Then it starts displaying just titles.
Comment out that $counter++ line and you’ve got it.
I gotta start attaching a sig with a warning that I barely know what I’m doing and that taking my advice about anything may be hazardous to your personal health and that this code you are modifying may be changed by the powers that be 10min from now and that in that case it may cause a meltdown of your blog. Your car may not start either.
Well, I don’t see any way of modifying the behavior of the widget with args at all. What we’re missing here is a template tag type function that takes the place of just using the widget as a widget. It’s after midnight so maybe I’m just missing it in the code someplace.
I see examples all over the place of widgets like the standard wp ‘archive’ widget that displays a selection of months in a sidebar. There is also the template tag wp_get_archives(‘type=monthly’) that takes the place of a user selecting that widget, configuring it and then loading a page where the widget should display.
Such a thing doesn’t seem to exist for bp and the core widgets yet. Besides that, calling the members widget like that doesn’t include some javascript that the widget depends on.
Looks to me like you’re going to get default behavior with that call. Like I said, maybe I’m missing something. Anybody else got a suggestion?
@danielfelice I like your site. Got a nice look to the landing page. The first thing I thought was this needs something snazzy and outrageous like blog by cameraphone.
http://en.wikipedia.org/wiki/Moblog
Encourage people to snap pics and short blog posts by email from wherever they are on the planet.
de nada
Ahhh, I’m not quite following you.
1) You have a theme running on your wpmu root blog that isn’t the bp home theme.
Wait a minute. Cancel that. It’s just that your bp member theme isn’t displaying at all for anything? Somewhere along the way the bp member theme install location got moved to ../wp-content/member-themes/
I don’t remember exactly which rXXX number though. It was fairly recently though.
Check the install readme.txt if that’s the case.
Or is that not your problem? I’m kinda hazy on what isn’t displaying using what theme.
When you access the URL mysite.org/groups, mysite.org/members, mysite.org/blogs then all of those use the plugin-template.php file to call the theme’s header, trigger some actions and then call that theme’s footer.
That is working for me. I don’t use those directory listings on my wpmu root blog but they work and I’m running a non-bp home theme.
@wakuza I hate to appear stupid and ‘american’ but what language is that everyone on your site is using? This is a real question. I honestly don’t know and I’m curious.
Also that little floater bar you have going on is interesting. It’s like a banner that can’t be ignored. I can dismiss it by clicking on the big red X button but it comes back when I revisit the original page. If i dismiss it, shouldn’t it stay gone? Perhaps a cookie check for ‘user turned of announcement bar’ maybe?
I see it takes me to a placeholder for the forums in the bp home theme. It’s difficult to determine what I’m looking at since I don’t know what language it is. Google translate needs to know what language to translate from
This is a known feature of the wonderful and simple (sarcasm intended) bbPress and wpmu integration mechanism.
Try this:
http://michaeleagan.com/plugins/wpmu-enable-bbpress-capabilities/
This goodie enables new wpmu users as ‘members’ instead of ‘inactive’. You’ll have to go through and edit all existing users to take ’em out of the ‘inactive’ bucket.
I just glanced at the code for the members, who’s online, groups widgets and see that, yes, they want an arg. No default is specified. What they are looking for is an array argument. As far as I can see none of the widgets are using that args array yet. Try a dummy arg.
$my_dummy_arg = array(‘this is useless’);
bp_core_widget_members($my_dummy_arg);
or
bp_core_widget_members(array(‘nothing to see here move along’));
It’s complaining about a PHP function extract() that the widget uses at the top of the widget function. extract() wants an array. Give it one.
I like feature number 4. I’m going to implement that myself. Anything with an URL can be bookmarked. Gotta roll out my site at the beginning of next month before I get to that though. So many toys to create and not enough time.
I really have nothing to add. Just watching this thread ’cause I surely would like bp and the tags plugin to play nice with each other. This is just a long winded bump.
CommonInterest a local community networking site dedicated to social issues in Grand Rapids, MI. Still building it for launch Jan 1st, 2009
It’s a backend admin toggle. Visit Dashboard > Site Admin > Buddy Press
‘Show admin bar for logged out users’ YES
The Recent Blog Posts and the Site Wide Activity widgets both have code that restricts them to blog id 1.
The Recent Blog Posts widget lives in the mu-plugins/bp-blogs/bp-blogs-widgets.php file. There are two of those nasty blog id 1 checks at line #8 and line #30. Same thing exists in the mu-plugins/bp-activity/bp-activity-widgets.php file.
If you want ‘News’ to work in the home theme then modify themes/buddypress-home/functions.php on lines #49-#50. I just commented them out.
I’m guessing that the thinking behind this restriction is “Get it to work first, then get it to work everywhere”. Kinda like narrowing the possibilities for problems that are gonna exist anyway, down to something trackable. If you browse the forums here and on wpmu you quickly see that wpmu can be installed in about 97 different ways on 205,478 hosts. Slap on a major component like buddyPress, then let noobs like me loose upon the face of the world who want to play with my toys ‘my way’ and I understand the thinking.
I don’t see anyway of doing it. Ya mean like editing the permalink for a post? Nope. Kill the group and give it a new name.
Is wpmu installed in the document root? Nothing but problems otherwise. So I hear from reading threads here in the forums.
Andy addressed this issue a short time ago. He’s aware of it and there is a ticket in for it. Just hasn’t gotten ’round to it.
And I thought I was the only one to name files ‘dontsteponthisfileits.mine’
Yep. Create a blank one right where it is looking for it and the error msgs will go away.
EDIT: post deleted ’cause somebody said the same thing just a few minutes before me.
I just used SVN update this morning to r597 and I don’t get a syntax error. Great and wonderful google tells me:
“Parse Error: parse error, unexpected T_SL” What does that mean?
T_SL is the /T/oken for the /S/hift /L/eft operator (<<).
so “unexpected T_SL” means there is an occurence of << that is
syntactically incorrect. this commonly happens when you use heredoc
syntax (“<<<“) and have whitespace before or after the closing
identifier, or after the opening identifier. See
http://www.php.net/manual/en/language.types.string.php#language.types.st
ring.syntax.heredoc for details.
It is also common when a source code management system (CVS or
Subversion) cannot resolve a merge and has to place <<<<<<<< markers in
the code.
Since I doubt it had anything to do with the 1st paragraph, more than likely it has to do with the 2nd paragraph. Look at the code and see what you see there.
Thanks Andy. bp is really coming together isn’t it?
You don’t
EDIT: That was a bit harsh. I don’t know any way of doing that. I don’t think I want people to be allowed to do that. Spam city. I can have a 1000 junk blogs by somebody generating 1000 emails? No thanks.