Way to tell if "friends" -- UserId's associated?

thread: 2 messages  |  last: a year ago  |  started: friday, march 5, 2010, 10:04 am pst


#1  |  kingwithin (San Francisco, CA) United States of America
Friday, March 5, 2010, 10:04 AM PST

I have set up user's so that they can be associated as many-to-many friends using AssociateUserAsAllies

When someone encounter a new User, I want to display knowing the UserId of the logged in user and the UserId of the profile they are viewing whether they are friends?

How can I do that? Seems like I need a way to pass both UserId of user and UserId of the profile they are looking at and searched whether there is an autogen that would do that for me?

Thanks.

#2  |  VexedPanda (Calgary, AB) Canada
Friday, March 5, 2010, 10:24 AM PST

Answered on QCubed forums:
http://qcu.be/content/how-can-i-tell-easily-if-userids-manytomany-association-are-friends#comment-4415



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.