Search Results for 'buddypress'
-
AuthorSearch Results
-
January 10, 2013 at 7:35 pm #150175
zanzaboonda
ParticipantI feel like I need to append this to say that when I mean wrong, I mean some sort of technical glitch.
January 10, 2013 at 7:35 pm #150174In reply to: Activation link in 1.7-bleeding
magichew
ParticipantSorry but I have just created another ticket for this too.
https://buddypress.trac.wordpress.org/ticket/4760
I have been running 1.7 on the site I’m testing for weeks and it seems like it hasn’t been a problem for the whole life of 1.7 as some users are fine and other users haven’t been able to activate at a later date.
Unfortunately I don’t know how to find out any sort of timeline for when this broke.
January 10, 2013 at 7:27 pm #150173zanzaboonda
ParticipantI give up.
Any thoughts otherwise? My whole BuddyPress area is broken. 🙁
January 10, 2013 at 7:26 pm #150172zanzaboonda
ParticipantWell, then.
“
I added spaces between the . Let’s see if that makes a difference.
January 10, 2013 at 7:25 pm #150171In reply to: [Resolved] Picture rating plugin for Buddypress
Mike Stott
ParticipantHi
You could try this premium plugin
[DELETED – not relevant to this topic ~~~ Mercime]
rates two images side by side using the elo algorithm.
January 10, 2013 at 7:24 pm #150170zanzaboonda
ParticipantHmm… not sure why it didn’t take that other one. Trying again.
At bottom of header-buddypress.php:
“
January 10, 2013 at 7:23 pm #150168zanzaboonda
ParticipantThere is a whole bunch of wrong with the code from the walkthrough…
I’m guessing it should be these? (If so, it still didn’t work for me. )
At bottom of header-buddypress.php:
“
At top of sidebar-buddypress.php:
`
jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});
`January 10, 2013 at 7:07 pm #150165In reply to: [Resolved] Show Group Member List on Group Directory
shanebp
ModeratorYou don’t say where you tried to use bp_group_has_members().
In a function you probably need a global or two, at least global $bp;
Try hard coding a group_id into your bp_group_has_members() call.
If that works, then you have to dig around and find the right globals and calls to make.
( maybe bp_get_current_group_id() ? )If it doesn’t work, there could be an issue with your setup or maybe you can’t use multiple
bp_group_has_members calls in the same parent loop.
According to the codex, the latter shouldn’t be an issue, but… ?
https://codex.buddypress.org/developer/developer-docs/loops-reference/the-group-members-loop-bp_group_has_members/
“The ID of the group to fetch members for. Required when… not nested within a bp_has_groups() loop.January 10, 2013 at 6:47 pm #150163In reply to: Using Buddypress Support
Ben Hansen
Participanti have no trouble seeing this thread :/
January 10, 2013 at 6:18 pm #150160In reply to: BuddyDroid – BuddyPress for Android
John James Jacoby
KeymasterAwesome, but you can not use the BuddyPress logo in non-official applications.
+1 – would you please kindly remove the BuddyPress logo. We love it as much as you do, but this app isn’t officially endorsed by the BuddyPress project.
January 10, 2013 at 6:13 pm #150159In reply to: [Resolved] Show Group Member List on Group Directory
DKerrigan
ParticipantThanks for the quick reply @shanebp.
I tried using:
`if ( bp_group_has_members() )`However, when I check out the Groups directory, each group has the message “This group has no members”. Is there any way to pass the group_id to bp_group_has_members() without hard coding it?
January 10, 2013 at 5:54 pm #150155In reply to: BuddyDroid – BuddyPress for Android
modemlooper
ModeratorAwesome, but you can not use the BuddyPress logo in non-official applications.
January 10, 2013 at 5:40 pm #150151In reply to: [Resolved] BuddyPress kills my 3.5 upgrade
lwaltzer
ParticipantOops. Trying again:
/**
* In WP 3.5+, get_blogs_of_user() is much slower than in previous versions. As
* a result, if you have a certain number of blogs, running get_blogs_of_user()
* will create a memory timeout. This is a particular problem because
* get_blogs_of_user() is called on every page, because of the toolbar.
*
* Ideally, there would be a way to short-circuit get_blogs_of_user(), or even
* to prevent WordPress from calling get_blogs_of_user() while loading the
* toolbar. But there is not. As a workaround, this function intercepts a key
* step in get_blogs_of_user() – the get_user_meta() call that gets all of a
* user’s metadata. If we determine that this request is coming from
* get_blogs_of_user() (which we do by examining the debug_backtrace(), a truly
* awful technique), AND that it’s one of the generic meta queries used by
* get_blogs_of_user(), AND that the current user has more than 75 blogs, THEN
* we strip all of the blog capability keys from the array of metadata,
* tricking get_blogs_of_user() into thinking that the current user has no
* blogs at all.
*/
function bbg_admin_bar_hack( $check, $object_id, $meta_key, $single ) {
// Only fire when looking at get_user_meta() with no params
if ( ! $meta_key ) {// check to see whether this came from get_blogs_of_user()
$db = debug_backtrace();
$is_get_blogs_of_user = false;
foreach ( $db as $dbk => $dbv ) {
if ( ‘get_blogs_of_user’ == $dbv[‘function’] ) {
$is_get_blogs_of_user = true;
break;
}
}if ( $is_get_blogs_of_user ) {
// Get the real metadata, but don’t recurse
remove_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );
$meta = get_user_meta( $object_id );
add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );// How many blogs does this user have?
static $blog_count_of_user;
if ( ! isset( $blog_count_of_user ) && is_user_logged_in() ) {
$blog_count_of_user = 0;
foreach ( $meta as $mk => $mv ) {
if ( ‘capabilities’ === substr( $mk, -12 ) ) {
$blog_count_of_user++;
}
}
}// We only care about those with counts > 75
if ( $blog_count_of_user > 75 ) {
static $clean_keys;
if ( isset( $clean_keys ) ) {
return $clean_keys;
} else {
foreach ( $meta as $mk => $mv ) {
if ( ‘capabilities’ === substr( $mk, -12 ) ) {
unset( $meta[ $mk ] );
}
}$clean_keys = $meta;
return $meta;
}
}
}}
return $check;
}
add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );January 10, 2013 at 5:39 pm #150150In reply to: [Resolved] BuddyPress kills my 3.5 upgrade
lwaltzer
Participant@boone figured this out for me, and hacked together a fix which I’ve pasted below.
`
$dbv ) {
if ( ‘get_blogs_of_user’ == $dbv[‘function’] ) {
$is_get_blogs_of_user = true;
break;
}
}if ( $is_get_blogs_of_user ) {
// Get the real metadata, but don’t recurse
remove_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );
$meta = get_user_meta( $object_id );
add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );// How many blogs does this user have?
static $blog_count_of_user;
if ( ! isset( $blog_count_of_user ) && is_user_logged_in() ) {
$blog_count_of_user = 0;
foreach ( $meta as $mk => $mv ) {
if ( ‘capabilities’ === substr( $mk, -12 ) ) {
$blog_count_of_user++;
}
}
}// We only care about those with counts > 75
if ( $blog_count_of_user > 75 ) {
static $clean_keys;
if ( isset( $clean_keys ) ) {
return $clean_keys;
} else {
foreach ( $meta as $mk => $mv ) {
if ( ‘capabilities’ === substr( $mk, -12 ) ) {
unset( $meta[ $mk ] );
}
}$clean_keys = $meta;
return $meta;
}
}
}}
return $check;
}
add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );`
January 10, 2013 at 11:45 am #150136In reply to: Not exactly "a few easy clicks"
ngoegan
ParticipantI realized that even though they are showing up as members in my user panel, they aren’t showing as members on the site – because I never approved them. So I think my friend who is not showing up as a member probably never came back and logged in so she’s in limbo – showing up as a member who registered, but until she comes back and tries to login, Private Buddypress doesn’t send the email to me to do the final approval that makes her a member on the site itself.
January 10, 2013 at 1:22 am #150129Renato Alves
ModeratorThank you @chouf1, very useful! =)
January 9, 2013 at 10:16 pm #150122In reply to: Seeking some beta tester
Mathieu Viet
ModeratorThanks @chouf1 for your help 🙂
Just published a new beta on github. Now you can filter the avatar list of avatars by gender thanks to a xprofile field and a little piece of code in the functions.php of your active theme : http://imathi.eu/2013/01/09/bp-avatar-suggestions-xprofile/
January 9, 2013 at 9:18 pm #150119In reply to: /members/ show member list
sam247
ParticipantJanuary 9, 2013 at 8:59 pm #150118In reply to: /members/ show member list
January 9, 2013 at 8:46 pm #150117In reply to: Not exactly "a few easy clicks"
ngoegan
ParticipantThank you, I’ll try that. Another question: I have a member who shows up in the user list when I go to my Dashboard > Users. But when I go to the member section of the site they are not there. I tried re-setting her role and then setting it back in the User area but that didn’t do it. Not sure what to do. Maybe delete and have her re-register? Concerned it will happen again without my knowledge when I open for many memberships.
Another issue I’m having is that I installed Private Buddypress, which I know you said I shouldn’t since it isn’t compatible, but I can’t use BuddyPress if it isn’t private so I need the privacy. But every morning I check and there are several new members who somehow managed to register themselves as members when I have it set to need my approval. How can I avoid this? I just delete them, but when I have a lot of members, I won’t be able to manage that and pick them out so easily.
January 9, 2013 at 6:12 pm #150109Ben Hansen
Participantthis might help:
BuddyPress Global/Sitewide Unified search update for BuddyPress 1.5+
also i hear good things about this plugin:
January 9, 2013 at 6:09 pm #150107modemlooper
ModeratorJanuary 9, 2013 at 4:24 pm #150094In reply to: Secure a site
mrjarbenne
ParticipantThat code has been kicking around the community for a while. Here’s the initial forum post that has some variations you can try:
January 9, 2013 at 4:06 pm #150093In reply to: Register Error
danbpfr
Participanti presume the error is coming from a bad translated string, that’s why it is necessary to debug this possibility.
To confirm this, you have to retrieve your language file (rename simply the pt_BR.mo and the Buddypress-pt_BR.mo) and WP/BP will be automatically in english.
So when in english and the error disapeared, you know that the translation is the culprit.
January 9, 2013 at 3:36 pm #150091In reply to: Not exactly "a few easy clicks"
modemlooper
ModeratorBUddyPress and bbPress both use the slug forum. Change bbPress forum slug to something else in the bbPress settings
-
AuthorSearch Results