vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - [rellect] Mutual Friends (https://vborg.vbsupport.ru/showthread.php?t=275594)

rellect 12-16-2011 11:00 PM

[rellect] Mutual Friends
 
1 Attachment(s)
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

infun 12-17-2011 01:57 PM

Excellent
I installed.

rellect 12-17-2011 02:51 PM

I release new version (1.1) that fix a bug: contact users were counted as friends.

datoneer 12-17-2011 03:35 PM

Sorry but i don't see mutual friends anywhere...vb 4.1.8

rellect 12-17-2011 03:55 PM

Quote:

Originally Posted by datoneer (Post 2278595)
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.

datoneer 12-17-2011 05:27 PM

Sorry mate my mistake. Works perfect!

OldSchoolDSL 12-17-2011 06:33 PM

Installed and working

4.1.9

MalluParadise 12-17-2011 07:38 PM

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.

rellect 12-17-2011 07:54 PM

Quote:

Originally Posted by MalluParadise (Post 2278662)
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.

paulket 12-17-2011 10:10 PM

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:

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'


All times are GMT. The time now is 11:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03658 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete