I need a snippet made. What the snippet would do is show something if the logged in user has the person whose profile they are viewing set as a contact show something that says, "this person is already your contact." If the logged in person has not marked the user whose profile they are looking at as a contact they see someone they says, "add a contact." It would also be nice if someone that is viewing the profile and is not logged in sees nothing or a message that, "you aren't logged in." I will be changing the messages that are printed so it really doesn't matter what they say.
The MySQL fields are:
1) id
2) username (person logged in)
3) contact (person marked as a contact)
4) status (marked as 'yes' if contact)
5) super (marked as 'yes' if super friend; this doesn't matter for the snippet)
If you are interested in doing this you can contact me via MSN or AIM.
MSN:
drift41@hotmail.com
AIM: alexthechairlift
I can't wait to hear from people.
Have a great day!
Alex
Oh ya, this code will be used on the next major design/feature update on
Assort.org .