Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
[rellect] Mutual Friends Details »»
[rellect] Mutual Friends
Version: 1.2, by rellect rellect is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.1.x Rating:
Released: 12-16-2011 Last Update: 12-17-2011 Installs: 51
Uses Plugins
Translations  
No support by the author.

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

File Type: xml product-rellect_mutual_friends[1.2].xml (14.5 KB, 214 views)

Screenshots

File Type: png settings.png (24.5 KB, 0 views)
File Type: jpg screenshot.jpg (64.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Ba'al, Cyberbang3r, mokujin, Toorak Times

Comments
  #12  
Old 12-18-2011, 04:17 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 12-18-2011, 04:38 AM
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #14  
Old 12-18-2011, 11:22 AM
alencete alencete is offline
 
Join Date: Feb 2009
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a similar problem witch db on 4.1.8
Reply With Quote
  #15  
Old 12-18-2011, 11:49 AM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #16  
Old 12-18-2011, 12:16 PM
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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:
Quote:
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.
Quote:
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

Quote:
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

Quote:
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
  #17  
Old 12-18-2011, 12:45 PM
mitch84 mitch84 is offline
 
Join Date: Mar 2008
Location: france
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, after install I can't see new tab in my profil, because I haven't mutual friend or a other problem? thx
Reply With Quote
  #18  
Old 12-18-2011, 01:10 PM
paulket paulket is offline
 
Join Date: Oct 2010
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and it is working perfectly now
Reply With Quote
  #19  
Old 12-18-2011, 02:31 PM
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mitch84 View Post
hi, after install I can't see new tab in my profil, because I haven't mutual friend or a other problem? thx
The mutual friends block not visible on your own profile..
from the simple fact that you don't have mutual friends with yourself

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.
remember that mutual friends are friends that you have in common with the user you are viewing his profile.
Reply With Quote
Благодарность от:
mitch84
  #20  
Old 12-18-2011, 04:32 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed today's update and all is working (as it was before)

4.1.9

Thanks
Reply With Quote
  #21  
Old 12-18-2011, 06:13 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RellecT View Post
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


I will consider that in the next version


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.
Well Mutual Contacts could be another option.
I was thinking in terms of each user seeing a list of their own Contacts.
The Contacts seem to be a void that vB missed...or maybe I missed the contact list.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05615 seconds
  • Memory Usage 2,351KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete