Forum Replies Created
-
The forum solution with BP is fairly simple. There aren’t many advanced settings for the forums.
BP ships with an integrated version of BBPress. You’re probably already using that right now, and you don’t need to install BBPress separately. However, if you so desired, you could install BBPress separately and point BP to it.
I suppose a better question is, what exactly are you looking to accomplish? What kind of settings are you looking for?
The forum solution with BP is fairly simple. There aren’t many advanced settings for the forums.
BP ships with an integrated version of BBPress. You’re probably already using that right now, and you don’t need to install BBPress separately. However, if you so desired, you could install BBPress separately and point BP to it.
I suppose a better question is, what exactly are you looking to accomplish? What kind of settings are you looking for?
@d34thst4lker I suspect this is a permalink issue as aces said above. What urls are coming up for the BP pages currently?
@linusf I tried that plugin, and while it installs cleanly in 1.5, it doesn’t seem to work. I don’t see any areas where I can set privacy options on my profile fields.
Just use Buddypress Groups, and don’t put any content on the site outside of the private groups.
Just use Buddypress Groups, and don’t put any content on the site outside of the private groups.
I appreciate the contribution, but sometimes you can’t easily identify a person to determine if you should friend them (or find someone to send friend requests to) unless you view their profile.
Ultimately, I think we need per-field privacy controls.
Privacy controls would still be a very welcome feature, either directly in BP, or through a solid plug-in.
This entry in trac looks particularly relevant:
Sadly, that plugin does break with 1.5, and it is currently abandoned. The author stated someone else can pick it up.
https://buddypress.org/community/groups/creating-extending/forum/topic/buddypress-privacy-1/
Shoulld I replace that with a new function? What do I need to do?
Have you cleared browser cache?
And is the site doing any database caching?
In bp-activity-template I show the two new arguments:
bp_activity_template( $page, $per_page, $max, $include, $sort, $filter, $search_terms, $display_comments, $show_hidden, $exclude, $in )
but in bp-activity-templatetags.php I do not.
Does that need to be changed?
bp_activity_template( $page, $per_page, $max, $include, $sort, $filter, $search_terms, $display_comments, $show_hidden )
Have you guys checked the file permissions of the avatar folder to make sure Buddypress can write files there?
I have a working version now, but the avatar rotates with every page refresh, so it isn’t really permanently assigning a random avatar to users without one.
function myavatar_add_default_avatar( $url )
{
$tmp = glob(‘avatars/*.png’);
$flist = array();
if (is_array($tmp))
{
$flist = array_merge($flist,$tmp);
}
$default_avatar = $flist[array_rand($flist)];
$avatrat_dir_url=get_bloginfo(‘url’);//or what ever is your absolute url for the folder in which you are keeping the avatar
return $avatrat_dir_url.”/”.$default_avatar;
}
add_filter( ‘bp_core_mysteryman_src’, ‘myavatar_add_default_avatar’ );I set the default avatar in Buddypress to the Mystery Man. And I’m trying this:
Code:function myavatar_add_default_avatar( $url )
{
$tmp = glob(‘avatars/*.png’);
$flist = array();
if (is_array($tmp))
{
$flist = array_merge($flist,$tmp);
}
$default_avatar = $flist[array_rand($flist)];
return $default_avatar;
}
add_filter( ‘bp_core_mysteryman_src’, ‘myavatar_add_default_avatar’ );And all I’m getting is Gravatars. No Mystery Man, and no random avatar either.
This should allow you to have more than 10 files, or a small string of characters for file names. But I’m curious when you replace the bp_core_mysteryman_src, are you doing it once for each user when they sign up, or randomly every time you display it?
$tmp = glob(‘avatars/*.gif’);
if (is_array($tmp))
{
$flist = array_merge($flist,$tmp);
}
$default_avatar = $flist[array_rand($flist)];
add_filter( ‘bp_core_mysteryman_src’, $default_avatar );I’m assuming Paul meant the new version of bbpress.
They’re getting ready to release 2.0 RC2 here soon, so the 2.0 final should be out soon. And from what I’m hearing, BP 1.3 will have some initial integration with an external bbpress 2.0 install.
I don’t know PHP well, but looking at the code, and it will grab a random character from the string and use that as the name of the file. Since you’re only grabbing one character, you’re limited basically to 10 files with that code. Is that correct? Unless you started using letters as well.
Stupid question, but what if I had 30 or 40 avatars instead of 10?
lockamiz23, I’m noticing that some jquery functions aren’t working with my theme since upgrading, but they work with bp-default.
Looking at that tracker:
3059 – Has a working patch and perhaps can be closed.
3158 – Has a patch submitted and has work done on it. Perhaps this is close to being closed.
3240 – Has a patch submitted and has work done on it. Perhaps this is close to being closed.
2707 – The attached patch needs a small tweak and this looks close to being closed
3241 – This master ticket only points to 3240 now as everything else is done
3294 – Looks done and perhaps can be closed
3312 – Has a patch submitted and has work done on it. Perhaps this is close to being closed.
3314 – A work in progress, but should be quick find/replace workSo of the 8 tickets, two can probably be closed currently. One just points to another, and the other 5 have had good progress.
Looking good!
Perhaps. My theme (made compatible with BP using the Template Pack) broke with BP 1.2.9 and WP 3.2.
I’d be very interested in this as well.
bp-chat doesn’t work perfectly, but I think he is planning on redoing it so it doesn’t slam the site with queries.