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)

Taurus1 12-18-2011 04:17 AM

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.

MalluParadise 12-18-2011 04:38 AM

Quote:

Originally Posted by RellecT (Post 2278667)
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

alencete 12-18-2011 11:22 AM

I have a similar problem witch db :( on 4.1.8

Mr_Running 12-18-2011 11:49 AM

Quote:

Originally Posted by RellecT (Post 2278588)
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. :cool:

rellect 12-18-2011 12:16 PM

Quote:

Originally Posted by paulket (Post 2278696)
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 (Post 2278750)
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 (Post 2278793)
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 (Post 2278751)
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 (Post 2278804)
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. :cool:

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.

mitch84 12-18-2011 12:45 PM

hi, after install I can't see new tab in my profil, because I haven't mutual friend or a other problem? thx

paulket 12-18-2011 01:10 PM

Installed and it is working perfectly now :)

rellect 12-18-2011 02:31 PM

Quote:

Originally Posted by mitch84 (Post 2278818)
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 :p

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.

OldSchoolDSL 12-18-2011 04:32 PM

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

4.1.9

Thanks :)

Mr_Running 12-18-2011 06:13 PM

Quote:

Originally Posted by RellecT (Post 2278808)
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.


All times are GMT. The time now is 02:50 PM.

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.03187 seconds
  • Memory Usage 1,748KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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