Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[rellect] Mutual Friends Details »
[rellect] Mutual Friends
Mod Version: 1.2, by rellect (Coder) rellect is offline
Developer Last Online: Jan 2020 I like it Show Printable Version Email this Page

vB Version: 4.1.x Rating: (11 votes - 4.82 average) Installs: 50
Released: 17 Dec 2011 Last Update: 18 Dec 2011 Downloads: 227
Not Supported Uses Plugins Translations  

Mutual Friends

If you installed the mod, please "Mark as Installed".

Description:
This mod adds a new block (and tab) to the profile which shows the mutual friends of you and the user. Just like in facebook.

Compatibility:
vBulletin 4.1.0 and newer.

Installations:
You don't have to change anything in the templates/files, just upload the plugin and that's all.
AdminCP > Plugins & Products > Manage Products > [Add/Import Product]

History:
  • [17-12-11] v1.0:
    First Release
    [17-12-11] v1.1:
    Fixed: contact users were counted as friends.
  • [18-12-11] v1.2
    Fixed: sql error

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	settings.png
Views:	135
Size:	24.5 KB
ID:	135141   Click image for larger version

Name:	screenshot.jpg
Views:	775
Size:	64.8 KB
ID:	135142  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Profile Enhancements Mutual Friends Block on Profile Page - v2.0 kaptanblack vBulletin 3.7 Add-ons 58 11 Apr 2013 20:32
End-User Options Hide Friends Block uae vBulletin 3.7 Add-ons 13 26 Jan 2009 06:58

Comments
  #2  
Old 17 Dec 2011, 14:57
infun infun is offline
 
Join Date: Jul 2011
Excellent
I installed.
Reply With Quote
  #3  
Old 17 Dec 2011, 15:51
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Real name: Refael Iliaguyev
I release new version (1.1) that fix a bug: contact users were counted as friends.
Reply With Quote
  #4  
Old 17 Dec 2011, 16:35
datoneer datoneer is offline
 
Join Date: Jul 2011
Sorry but i don't see mutual friends anywhere...vb 4.1.8
Reply With Quote
  #5  
Old 17 Dec 2011, 16:55
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Real name: Refael Iliaguyev
Originally Posted by datoneer View Post
Sorry but i don't see mutual friends anywhere...vb 4.1.8
The mutual friends block is not visible in following cases:
  1. You view your own profile
  2. You have no mutual friends with the user that you are viewing his profile (contact users doesn't counts as friends)
  3. You are viewing the user profile as a guest
Be sure that you actually have mutual friends with the user that you view his profile.
If you are sure that you have mutual friends with the user,
Send me a link to the forum and I'll check it out.

remember that mutual friends are friends that you have in common with the user you are viewing his profile.
Reply With Quote
  #6  
Old 17 Dec 2011, 18:27
datoneer datoneer is offline
 
Join Date: Jul 2011
Sorry mate my mistake. Works perfect!
Reply With Quote
  #7  
Old 17 Dec 2011, 19:33
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
Installed and working

4.1.9
Reply With Quote
  #8  
Old 17 Dec 2011, 20:38
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
can u add the option to dis enable Tab or block. If a person like me a block, we can enable tabs and see the mutual friends.
Reply With Quote
  #9  
Old 17 Dec 2011, 20:54
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Real name: Refael Iliaguyev
Originally Posted by MalluParadise View Post
can u add the option to dis enable Tab or block. If a person like me a block, we can enable tabs and see the mutual friends.
I can, But if you have many mutual friends, there will be no enough space in the block to display all the users.. that the reason why there is a tab.
Reply With Quote
  #10  
Old 17 Dec 2011, 23:10
paulket paulket is offline
 
Join Date: Oct 2010
I would love to use this mod but there is a conflict with it and the Forum Members (membelist.php) mod by ChrisTERiS

I get this database error when they are both enabled:


Database error in vBulletin 4.1.8:

Invalid SQL:

SELECT COUNT(*) AS count
FROM vb_userlist
WHERE userlist.userid = 3
AND userlist.relationid IN
(
SELECT relationid
FROM vb_userlist
WHERE userlist.userid = 1
AND userlist.type = 'buddy'
AND userlist.friend = 'yes'
)
AND userlist.type = 'buddy'
AND userlist.friend = 'yes';

MySQL Error : Unknown column 'userlist.userid' in 'where clause'
Reply With Quote
  #11  
Old 18 Dec 2011, 05:17
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Database error in vBulletin 4.1.8:

Invalid SQL:

SELECT COUNT(*) AS count
FROM vbuserlist
WHERE userlist.userid = 5798
AND userlist.relationid IN
(
SELECT relationid
FROM vbuserlist
WHERE userlist.userid = 3
AND userlist.type = 'buddy'
AND userlist.friend = 'yes'
)
AND userlist.type = 'buddy'
AND userlist.friend = 'yes';

MySQL Error : Unknown column 'userlist.userid' in 'where clause'
Error Number : 1054
Request Date : Saturday, December 17th 2011 @ 11:15:18 PM
Error Date : Saturday, December 17th 2011 @ 11:15:18 PM
Script : ******************
Referrer : ****************
IP Address : *************
Username : ***********
Classname : vB_Database
MySQL Version : 5.1.56-log

Please advise. Thanks.
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
  #12  
Old 18 Dec 2011, 05:38
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
Originally Posted by RellecT View Post
I can, But if you have many mutual friends, there will be no enough space in the block to display all the users.. that the reason why there is a tab.
why can't u give a option wat ever we want to enable through Admin cp
Reply With Quote
  #13  
Old 18 Dec 2011, 12:22
alencete alencete is offline
 
Join Date: Mar 2009
I have a similar problem witch db on 4.1.8
Reply With Quote
  #14  
Old 18 Dec 2011, 12:49
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Originally Posted by RellecT View Post
I release new version (1.1) that fix a bug: contact users were counted as friends.
Awesome !

Now a Contacts option list would be nice too.
Maybe viewable only by the logged in user looking at their own profile...it does not need to be viewable by everyone else.

I wonder if the Mutual Friends could be listed within the Friends Tab? Maybe friends on the left and mutual friends on the right.
Contacts could be a third row.

Last edited by Mr_Running; 18 Dec 2011 at 12:54.
Reply With Quote
  #15  
Old 18 Dec 2011, 13:16
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Real name: Refael Iliaguyev
Originally Posted by paulket View Post
I would love to use this mod but there is a conflict with it and the Forum Members (membelist.php) mod by ChrisTERiS

I get this database error when they are both enabled:
Originally Posted by Taurus1 View Post
Database error in vBulletin 4.1.8:

Invalid SQL:

SELECT COUNT(*) AS count
FROM vbuserlist
WHERE userlist.userid = 5798
AND userlist.relationid IN
(
SELECT relationid
FROM vbuserlist
WHERE userlist.userid = 3
AND userlist.type = 'buddy'
AND userlist.friend = 'yes'
)
AND userlist.type = 'buddy'
AND userlist.friend = 'yes';

MySQL Error : Unknown column 'userlist.userid' in 'where clause'
Error Number : 1054
Request Date : Saturday, December 17th 2011 @ 11:15:18 PM
Error Date : Saturday, December 17th 2011 @ 11:15:18 PM
Script : ******************
Referrer : ****************
IP Address : *************
Username : ***********
Classname : vB_Database
MySQL Version : 5.1.56-log

Please advise. Thanks.
Originally Posted by alencete View Post
I have a similar problem witch db on 4.1.8
I've released new version 1.2 that suppose to fix that.
There was a little mistake in the query..
my server ignored that so I coudn't know about it.
I have fixed the query, please check if it works now

Originally Posted by MalluParadise View Post
why can't u give a option wat ever we want to enable through Admin cp
I will consider that in the next version

Originally Posted by Mr_Running View Post
Awesome !

Now a Contacts option list would be nice too.
Maybe viewable only by the logged in user looking at their own profile...it does not need to be viewable by everyone else.

I wonder if the Mutual Friends could be listed within the Friends Tab? Maybe friends on the left and mutual friends on the right.
Contacts could be a third row.
What do you mean? "Mutual Contacts"?

About the other thing, I pretty sure that it can't be done that way but I will check it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:17.

Layout Options | Width: Wide Color: