Search Results for 'buddypress'
-
Search Results
-
This is coming straight out of another thread. I figured I’d start a new one as the title of the previous thread may not lead people in to help me out with my new problem.
Anyway, I’m using the latest trunk version of BuddyPress as suggested to me by DJPaul and I’m using it on standard WordPress 2.9.1. I’ve created my own theme out of the 1.2 rare theme, but for some reason, things like member activity, groups, and forum topics are not displaying:
Can anybody help me out so I can officially announce our new functionality on the blog?
Any advice on where/how to install the BP Breadcrumbs plugin similar to Buddypress.org?
– which file
– where to add the code
Here’s the code:
Call bp_breadcrumbs_add( $name, $url, $desc, $parms, $img ) in places you want to add a breadcrumb
Thx.
Hi, this is a question for a BP core developper…
I’m trying to understand how the ajax functions are working in BP 1.2.
There is the JS function
bp_filter_request( type, filter, id, target, page, search_terms, extras )
(I think the “extra” parameter was added recently by Andy when I told him that I should be able to add extra variables to that function)
First, could someone explain me what exactly the TYPE and FILTER params must be used for ?
FILTER is to order the results(?), what is TYPE ?
Well; I’m building a classifieds component.
I have 3 more important parameters that I should be able to pass to the function : “status”,”action” and “categories”.
I suppose that I should pass them as the “extra” parameter.
My idea was to have an array
var extras = new Array(status,action,categories);
but when I pass that array to bp_filter_request; it keeps only the last key of my array.
Is that forbidden to pass arrays as a parameter in JS ?
So; my question is : Is that the right way to do that;
-if yes, why does it only pass the last key of the array
-if not, what would be the right way to pass those additionnal parameters to the ajax function ? Or have I to build a custom function ?
thanks A LOT, i’m stuck on this since hours.
+ there is a JS error with bp_filter_request, I made a ticket some days ago but it does not seems to be resolved
I was wondering if it’s possible to take the code I have below and make a function that does the exact same thing.
This code will grab 16 random members, and insert their avatars with links to their pages:
<br />
<?php if ( bp_has_site_members( 'type=random&per_page=16;' ) ) : ?><br />
<?php while ( bp_site_members() ) : bp_the_site_member(); ?><br />
<span class="item-avatar"><br />
<!-- THE BELOW HAS BEEN QUOTED OUT DO TO IT BEING A LINK, THE REAL CODE NEEDS THIS
<a>" title="<?php bp_the_site_member_name() ?>"><?php bp_the_site_member_avatar() ?></a><br />
-->
</span><br />
<?php endwhile; ?><br />
<?php do_action( 'bp_directory_members_featured' ) ?><br />
<?php else: ?><br />
<div id="message" class="info"><br />
<p><?php _e( 'There are not enough members to feature.', 'buddypress' ) ?></p><br />
</div><br />
<?php endif; ?><br />I was wondering if I could make a function (maybe in bp-custom.php? or somewhere so that I can insert the code simply by typing in one line of php code.
Thanks