Great work.
After testing, I found all of the avatar is same size, maybe it is up to my theme, please check here:
https://prntscr.com/edwe4e
and mobile mode here:
and would you please let me know how to custom the friends avatar size?
thanks so much, and have a nice day!
Alex
]]>This is a great plugin.
But it crashes my theme. i know css so there is no problem fixing it all with some simple lines of css.
BUT…
i can’t “get” the div of your output because there is no class to start with.
so can you please change line 106 from
echo ‘<div style=”float:right;”>’ . $title . ‘:<br />’ . $output . ‘</div>’;
to
echo ‘<div class=”foaf” style=”float:right;”>’ . $title . ‘:<br />’ . $output . ‘</div>’;
with the help of this simple change everything works fine. so please help me (and other of course) and add this class
THANK YOU!
Oliver
]]>Any chance you can make the widget so it only displays for logged in users?
]]>Sorry, my German is not that great.
If there is no ability to provide screen shots in English,
please add a video clip on YouTube on how exactly this plugin is used.
We are using Buddyboss theme.
Thank you.
Current version of WordPress, Buddypress, and this plugin. I have marked an account as a spam account. It does not show up anywhere, except in this plugin. Is there a way to get it to exclude accounts marked as a spammer?
]]>Hi,
Unforunately your plugin destroys the BuddyBoss theme. See
before
https://www.screencast.com/t/j9k5DHFrGiv
Is the latest version compatible for php7
]]>Is there a way to exclude the admin from the suggestions on the widget?
]]>I am working on social website and i am using buddyblog theme with lots of buddypress plugin, but “Buddypress Friend of a Friend (FOAF)” not working. “It is showing no friends found.Please search some friends and add them to your list.” I have already done that but its not working anyway.Any idea how to fix it…
]]>The problem I’m having is that profile images displaying on a member search page that shows who you’re connected to friends are very blurred.
Any idea how I can fix this to make them razor sharp?
]]>I have created a page using the shortcode [buddypressfoaf_show_potential_friends].
When members go to this page via the widget link, it says the members have no friends found, when they do, and it instructs them to add friends and retry.
Any idea how to fix this?
Thanks
]]>The avtatar is too big and vertical link is seen instead of horizantal shown as in the screenshot of your plugin page.
. Hope you will get what my problem is here is my screenshot
Hi,
the Plugin is not compatible with the current version of WordPress/Buddypress.
Notice: Undefined variable: i in /home/content/p3pnexwpnas09_data02/13/2711613/html/wp-content/plugins/buddypress-foaf/buddypress-foaf.php on line 320
Notice: Undefined variable: output in /home/content/p3pnexwpnas09_data02/13/2711613/html/wp-content/plugins/buddypress-foaf/buddypress-foaf.php on line 323
Could you pls fix it or help me to fix it?
]]>I made translation to Russian and created file ru_RU.po and compiled ru_RU.mo. Then I upload in folder “languages” on my server. But it didn’t happen anything. What I did incorrect?
]]>My site is hereswhat.net
The plugin works great in IE and Safari. However, using Chrome 42.0.2311.90 m and FireFox 37.0.2, when I click on a friend, the avatars show on the far left. The avatars are on top of the activity links. Here is an annotated screen shot:
https://lh3.googleusercontent.com/-rxavcc292Jg/VT8n_FIOycI/AAAAAAAABEc/ktBwyMuPuww/w426-h463/Chrome%2B42.0.2311.90%2Bm%2Band%2BFirefox%2B37.0.2%2B%2Bfriend%2Bavatar%2Bdisplaying%2Bover%2Blinks.png
In buddypress-foaf.php on line 185 // Random friends of your friends up to add_action(‘widgets_init’, ‘buddypressfoaf_widget_random’);
replace with
// Random friends of your friends
$result = $wpdb->get_results($query . " ORDER BY RAND() LIMIT 14");
$output.="<h5>" . __('People you may know', 'buddypressfoaf') . "</h5>";
if ($result) {
foreach ($result as $obj) {
// get avatar
$i++;
$actualUser = new BP_Core_User($obj->ID);
$output.= '<div style="float:left; text-align: center; margin-bottom: 10px;"><a href="' . $actualUser->user_url . '">' . $actualUser->avatar . '</a><br/>' . bp_core_get_userlink($obj->ID) . '<br /><p style="font-size: 12px;"> ' . $obj->commonContacts . ' ' . __('mutual friends', 'buddypressfoaf'). '</p><p> ' . bp_get_add_friend_button( $actualUser->id ) .'</p></div>';
}
//print "<pre>" . var_dump($usersWithCommonFriends);
} else {
$output.= "<p>" . __('No friends found. Search for some people, add them as friends and come back to this page!', 'buddypressfoaf') . "</p>";
}
$output.='<br style="clear:both">';
$output.='<p><a href="' . get_permalink() . '?' . time() . '">' . __('You want to see more? Reload this page!', 'buddypressfoaf') . '</a></p>';
// now we will show the top ten
$result = $wpdb->get_results($query . " ORDER BY commonContacts DESC LIMIT 14");
$output.="<h5>" . __('Most of your friends are mutually connected to these people', 'buddypressfoaf') . "</h5>";
if ($result) {
foreach ($result as $obj) {
// get avatar
$actualUser = new BP_Core_User($obj->ID);
$output.= '<div style="float:left; text-align: center; margin-bottom: 10px;"><a href="' . $actualUser->user_url . '">' . $actualUser->avatar . '</a><br/>' . bp_core_get_userlink($obj->ID) . '<br /><p style="font-size: 12px;"> ' . $obj->commonContacts . ' ' . __('mutual friends', 'buddypressfoaf'). '</p><p> ' . bp_get_add_friend_button( $actualUser->id ) .'</p></div>';
}
} else {
$output.= "<p>" . __('No friends found. Search for some people, add them as friends and come back to this page!', 'buddypressfoaf') . "</p>";
}
$output.='<br style="clear:both">';
return $output;
}
]]>
Occasionally at random it still shows someone whom I have already established a friendship.
How to exclude the persons who are already my friends.
I am testing with WP 4.1 Multisite and BP 2.2 and have a very small number of users on my testing site. But is it supposed to show someone who is already a friend?
Thanks for your help.
]]>Hii Grate plugin
I want to show friends of all friends but it is showing only those friends who sent add request first…
i want to show suppose udesh->friends->ram,shyam,maaya
and ram->jhon,gotam,haary
shyam->sam,mony,goldy,harry
maaya->ram,tiru,milind
i want to show
if udesh is login
jhon,gotam,harry,sam,mony,goldy,tiru,milind(exclude common friends)
Hello,
we gave your plug-in another try, after it has been labelled 4.1 compatible and updated.
However, we still have the same problem as before:
as soon as it is installed, when you look up someone elses’ profile, you see your own. As soon as it is de-activated, you see the other person’s profile again (as it should be, of course).
Any ideas?
We have WordPress, BuddyPress, bbpress and all plug-ins on their latest versions.
Here is a screenshot:
member judotommy looking at member Blk-Mylkman71 and seeing his own profile instead:
https://scaffies.nl/wordpress/wp-content/uploads/2015/01/Screenshot-from-2015-01-20-155228.png
Hi Florian,
Awesome plugin, great work!
I haven’t encountered any issues regarding functionality, but I did notice a few errors being output by BP FOF on profile headers;
If the member is a Friend or has Friends in Common with the Logged-In user, the errors read;
Notice: Undefined variable: ii in /nas/wp/www/mandred/chassett/wp-content/plugins/buddypress-foaf/buddypress-foaf.php on line 123
Notice: Undefined variable: content in /nas/wp/www/staging/mandred/wp-content/plugins/buddypress-foaf/buddypress-foaf.php on line 131
Notice: Undefined variable: output in /nas/wp/www/staging/mandred/wp-content/plugins/buddypress-foaf/buddypress-foaf.php on line 46
If the member has no Connection to the Logged-In user, the error reads;
Notice: Undefined variable: output in /nas/wp/www/staging/mandred/wp-content/plugins/buddypress-foaf/buddypress-foaf.php on line 102
Very impressed by the plugin and really appreciate your work on it! Let me know if there is anything else I can do to help.
Regards,
Carl
WordPress + BuddyPress Current Versions. Theme – 2014
]]>Hi
(i)The user’s own name also comes in the suggestion.
(ii) I have hidden admin profile from members but it still appears in list.
Hello,
First I love your plugin!!!
Is there a way to get a csv file of the friend connections I very much want/need to make a Gephi map of them.
Any ideas
Thank you
]]>Hello,
while the functionality of the plug-in would be awesome for our site, it sadly broke the database, and keeps randomly changing each users “base name” (permanently, even after de-installing and removing FOAF).
? Base Name shows a different user: due to the database corruption caused by the FOAF (Friends of other Friends) plug-in, there is a mixup with names: randomly other users’ names show up in the “Base Name” field of your profile (example, opens in new tab). Just edit and save your profile to fix that. Unsure what causes this, we are hoping for a fix. Support request has been submitted to the WordPress community.
Example (should say: “EuroAdmin”):
https://cdn.scaffies.nl/wordpress/wp-content/uploads/2014/05/Screenshot-from-2014-05-03-090430-marked.png
Any chance of getting your help to fix it?
Much rather we would like to use the plug-in again, when it is 100% compatible with WP 3.9.1 and Buddypress 2.0.1.
(We keep all plugin’s updated, and used the latest version of FOAF as well)
]]>Hello !
First of all it′s a great plugin.
I have just a question.
At my website https://www.nervtdoch.de the widget do not count shared Friends.
It shows allways 0.
The second thing is that the plugin suggest myself as a possible new friend ??
Could you check that ?
Thanks!
bye
Oliver
Hi, I briefly tested the plugin but have deactivated it for now as:
– In my theme the avatars appear next to the Main avatar and are overlapping with a ‘view more’ (profile) link.
– The avatars were to big for my liking.
– The two-sided arrow appeared left of the 2 connected avatars.
It would be nice to have some settings:
– Basic position: left, right, top, bottom etc.
– Size of FOAF avatars
– Custom CSS (so updates to plugin do not erase any changes)
– Maybe even custom arrows
Cheers!
]]>WP v3.8.3
FOAF plugin v2.0
BuddyPress v2.0
BuddyPress Follow v1.2.1
BuddyVerified v2.1
Kleo Theme v1.4.1 (from ThemeForest.net)
After installing FOAF plugin, when I go to a member profile page it crashes with following error on server:
[Fri Apr 25 15:32:13 2014] [error] [client 86.176.8.125] PHP Fatal error: Call to undefined function friends_get_friend_user_ids() in /nas/wp/www/cluster-2399/localise/wp-content/plugins/buddypress-foaf/buddypress-foaf.php on line 39, referer: https://localise.wpengine.com/members/
Hi
Is there anyway to display users first/last name instead of username in the random widget ?
Thanks great plugin
]]>Hello!
I’m using your plugin along with the OneAll Social Login and I found that the avatar size in the friend connection area is exactly the same as the main one, small when small, and large when large, and that looks disturbing!
Should it be only the thumbnail there?! Please try to help me asap.
Thanks in advance ??
Amr
]]>I want to show it in my custom member header. Can you please tell me what code should be change/placed and where to show it under member-header.php
This is the sample of my member-header.php
<div id="item-header-content">
<?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
<?php endif; ?>
<?php do_action( 'bp_before_member_header_meta' ); ?>
<div id="item-meta">
<?php if ( bp_is_active( 'activity' ) ) : ?>
<div id="latest-update">
</div>
<?php endif; ?>
<div id="item-buttons">
<?php do_action( 'bp_member_header_actions' ); ?>
</div><!-- #item-buttons -->
<?php
/***
* I want to place FOAF here.
*/
bp_member_profile_data( 'field=About Me' );
do_action( 'bp_profile_header_meta' );
?>
</div><!-- #item-meta -->
</div><!-- #item-header-content -->
Thanks for the help in advance. ??
]]>