Jump to content

Code for something like the "Relationship status" in facebook


Recommended Posts

What is the code to make an option like the relationship status in facebook.

Explanation: you have a filed, where you enter other user's username and it appears on your profile like a link and can be clicked on it so you can see the other user's profile

As I was getting at before, I assume you have a member system already in place? We can't help you unless we know how it works. However though this does sound like you're after someone to do this all for you, in which case may be better posting in the freelance section?

 

I know its not hard, i just dont know how to make the username appear.

 

One method of storing the right data would be to create 2 fields within your users table; `relationship_status` & `relationship_with` (or something along those lines). `relationship_status` could be an integer, varchar or maybe "enum" -- depending on how you want to store the different relationship statuses. `relationship_with` would store the user ID (not display name) of the user they're in a relationship with. Returning and processing that data should be fairly straight forward.

Anyone here can do it, but finding a person to do it FOR you here is the challenge. If that's what you're after, I suggest you post in the freelancer board or PM a member

 

Can we please not recommend PM'ing members?

 

Sure, may I ask why?

Anyone here can do it, but finding a person to do it FOR you here is the challenge. If that's what you're after, I suggest you post in the freelancer board or PM a member

Can we please not recommend PM'ing members?

 

Sure, may I ask why?

Because its freaking annoying having people PM'ing for help. Thats what the forum is for.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.